forked from ports/contrib
33 lines
809 B
Plaintext
33 lines
809 B
Plaintext
# Description: A screen saver and locker daemon for xorg.
|
|
# URL: http://www.jwz.org/xscreensaver/
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
|
# Packager: Jay Dolan, jdolan at jdolan dot dyndns dot org
|
|
# Depends on: bc libglade netpbm fortune
|
|
|
|
name=xscreensaver
|
|
version=5.02
|
|
release=1
|
|
source=(http://www.jwz.org/xscreensaver/xscreensaver-$version.tar.gz)
|
|
|
|
build() {
|
|
cd xscreensaver-$version
|
|
|
|
exp="s/USE_NLS=yes/USE_NLS=no/; s/ENABLE_NLS 1/ENABLE_NLS 0/"
|
|
sed -i "$exp" configure
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--libexecdir=/usr/lib \
|
|
--mandir=/usr/man \
|
|
--enable-locking \
|
|
--without-motif \
|
|
--without-gnome \
|
|
--without-gle \
|
|
--without-setuid-hacks
|
|
|
|
make
|
|
make install_prefix=$PKG AD_DIR=/etc/X11/app-defaults install
|
|
rm $PKG/usr/share/xscreensaver/config/README
|
|
}
|
|
|