74188dc363
couple of new "hacks". The following is straight from the README file. Changes since 3.33: * Turned `memoryLimit' off by default, sigh. Apparently some versions of the GL libraries (appear to) allocate hundreds of megs for every GL program, so `memoryLimit' was causing GL programs to malfunction or crash on those systems. * Improved fading on TrueColor XFree86 4.1.x systems. * New GL hack, `circuit'. * Added `fuzz' mode to `decayscreen'. * New version of `whirlygig'. * Added links to `glplanet' and `sphereEversion'. * Fixed rare race condition that could make `sonar' hang. * Fixed potential crash in `speedmine'. * Made `xscreensaver-demo' not crash when imageDirectory was set to a non-existent directory. * Made `xscreensaver-getimage-video' invoke XawTV's `streamer' program better. * Made `phosphor' and `starwars' deal with CR, LF, or CRLF line endings. * Changes for Cygwin compilation environments. * Made `sonar' compile on systems that can't ping. * Configure changes for HPUX 10.20. * Made PAM code work on Red Had 4.2 systems. * Made `xscreensaver-command -deactivate' work when the saver is not active: what that does is reset the idle timer, as if keyboard input had been detected. This was added for the benefit of people writing DVD-playing software: they can now prevent the screensaver from kicking in by sending a -deactivate message once a minute while the movie is playing and not paused. * Various minor portability tweaks.
65 lines
1.8 KiB
Makefile
65 lines
1.8 KiB
Makefile
# $NetBSD: Makefile.common,v 1.21 2002/01/07 15:10:17 fredb Exp $
|
|
#
|
|
|
|
DISTNAME= xscreensaver-3.34
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ${HOMEPAGE} \
|
|
ftp://ftp.fu-berlin.de/unix/X11/graphics/xscreensaver/
|
|
|
|
MAINTAINER= packages@netbsd.org
|
|
HOMEPAGE= http://www.jwz.org/xscreensaver/
|
|
|
|
DEPENDS+= gtk+-1.2.*:../../x11/gtk
|
|
DEPENDS+= gle-[0-9]*:../../graphics/gle
|
|
|
|
USE_MESA= yes
|
|
USE_X11BASE= yes
|
|
USE_XPM= yes
|
|
|
|
EVAL_PREFIX+= GTKDIR=gtk+
|
|
EVAL_PREFIX+= XPMDIR=xpm
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --enable-subdir=${PREFIX}/libexec/xscreensaver
|
|
CONFIGURE_ARGS+= --with-gl
|
|
CONFIGURE_ARGS+= --with-gtk=${GTKDIR}
|
|
CONFIGURE_ARGS+= --with-xpm=${XPMDIR}
|
|
CONFIGURE_ARGS+= --without-motif
|
|
CONFIGURE_ARGS+= --without-shadow
|
|
CONFIGURE_ARGS+= --with-zippy=/usr/games/fortune
|
|
CONFIGURE_ENV+= INSTALL=/usr/bin/install
|
|
CONFIGURE_ENV+= X_PRE_LIBS=-lXt
|
|
CONFIGURE_ENV+= ac_cv_x_app_defaults="${X11PREFIX}/lib/X11/app-defaults"
|
|
CONFIGURE_ENV+= PERL="${PERL}" ac_cv_perl_version="${PERL_VERSION}"
|
|
MAKE_ENV+= KDEDIR=${X11PREFIX}
|
|
|
|
DISTINFO_FILE= ${.CURDIR}/../xscreensaver/distinfo
|
|
FILESDIR= ${.CURDIR}/../xscreensaver/files
|
|
PATCHDIR= ${.CURDIR}/../xscreensaver/patches
|
|
PKGDIR= ${.CURDIR}/../xscreensaver
|
|
|
|
post-patch:
|
|
cd ${WRKSRC}/driver ; \
|
|
f=xscreensaver.kss ; \
|
|
[ -f $$f.BAK ] || ${MV} $$f $$f.BAK ; \
|
|
${SED} -e 's|@PREFIX@|${PREFIX}|g' < $$f.BAK > $$f
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if (${OPSYS} == "NetBSD")
|
|
.if defined(KERBEROS)
|
|
CFLAGS+= -I/usr/include/kerberosIV
|
|
.else
|
|
CONFIGURE_ARGS+= --without-kerberos
|
|
.endif
|
|
.endif
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|
|
|
|
# this has to come after bsd.pkg.mk for ${ECHO}.
|
|
|
|
PERL?= ${LOCALBASE}/bin/perl
|
|
.ifndef (PERL_VERSION)
|
|
PERL_VERSION!= if [ -x ${PERL} ]; then ${PERL} -e 'print $$]'; else ${ECHO} "5.006"; fi
|
|
MAKEFLAGS+= PERL_VERSION="${PERL_VERSION}"
|
|
.endif
|