e308af454c
fire update for wandering and sball update, thanks to Eric Lassauge <lassauge@mail.dotcom.fr>. text3d fix on a fix when a symbol.ttf or wingding.ttf is used (double free). Thanks to Tom Schmidt. apollonian mode thanks to a program by Allan R. Wilks <allan@research.att.com>. -1,2,2,3 are numbers that represent curvature (1 / radius) in Euclidean space. (-1,1,1,2 is in spherical space and -1,1,1,1 is in hyperbolic). Hyperbolic and spherical numbers now added for all but double bounded. Automatic generation of numbers with -count. Enforce a upper bound of outer circle at 99, since run time goes up polynomially by at least n^3. qix updated with -solid, got the idea from xscreensaver New "tetris -well", now uses generated images, also cleaned up some bugs too. Bug fix thanks to Tom Schmidt. gears added -size but defaults to 0, only -planetary will use up lots of CPU so added a -planetsize 400 which takes over if -size is 0 (full screen if both are 0).
76 lines
2 KiB
Makefile
76 lines
2 KiB
Makefile
# $NetBSD: Makefile,v 1.46 2001/10/10 02:41:14 hubertf Exp $
|
|
# FreeBSD Id: Makefile,v 1.23 1997/10/10 09:24:38 tg Exp
|
|
#
|
|
|
|
DISTNAME= xlockmore-5.02
|
|
CATEGORIES= x11
|
|
MASTER_SITES= ftp://ftp.tux.org/pub/tux/bagleyd/xlockmore/ \
|
|
${MASTER_SITE_XCONTRIB:=applications/}
|
|
|
|
MAINTAINER= hubertf@netbsd.org
|
|
HOMEPAGE= http://www.tux.org/~bagleyd/xlockmore.html
|
|
COMMENT= Like the XLock session locker/screen saver, but with more
|
|
|
|
CHECK_MESA= YES
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if defined(XLOCK_LIGHT)
|
|
CONFIGURE_ARGS+=--without-gltt --without-ttf --without-opengl --without-mesagl \
|
|
--without-xpm # --without-cxx XXX doesn't work
|
|
CONFIGURE_ENV+= CXX="${CC}" # no dependency on libstdc++
|
|
.else
|
|
USE_XPM= YES
|
|
USE_MESA= YES
|
|
CONFIGURE_ARGS+= --with-mesagl
|
|
.endif
|
|
|
|
.if !exists(${X11BASE}/lib/libXdpms.a)
|
|
XLOCK_NO_DPMS= YES
|
|
.endif
|
|
|
|
GNU_CONFIGURE= YES
|
|
USE_X11BASE= YES
|
|
#USE_GMAKE= yes
|
|
DEFINES= -DDEFAULT_SOUND_DIR='\"${PREFIX}/lib/X11/xlock/sounds/\"' \
|
|
-DDEF_MODULEPATH='\"lib/X11/xlock/modules\"'
|
|
CC+= ${DEFINES}
|
|
CXX+= ${DEFINES}
|
|
|
|
CONFIGURE_ARGS+= --without-motif --without-sx \
|
|
--without-editres --without-dtsaver --without-rplay \
|
|
--without-nas --without-gtk
|
|
.if ${OPSYS} == "NetBSD"
|
|
CONFIGURE_ARGS+= --enable-def_play='/usr/bin/audioplay ${PREFIX}/lib/X11/xlockmore/'
|
|
.endif
|
|
|
|
.if defined(XLOCK_NO_DPMS)
|
|
CONFIGURE_ARGS+= --without-dpms
|
|
.endif
|
|
|
|
post-patch:
|
|
for i in xlock/resource.c ; do \
|
|
f=${WRKSRC}/$$i ; \
|
|
[ -f $$f.BAK ] || ${MV} $$f $$f.BAK ; \
|
|
${SED} \
|
|
-e 's|@PREFIX@|${PREFIX}|g' \
|
|
<$$f.BAK >$$f ; \
|
|
done
|
|
.if defined(XLOCK_DEFAULT_MODE) && ${XLOCK_DEFAULT_MODE} != ""
|
|
cd ${WRKSRC}/xlock; \
|
|
[ -f XLock.ad.BAK ] || ${MV} XLock.ad XLock.ad.BAK ; \
|
|
${SED} \
|
|
-e 's/^\(XLock.mode:[ ]*\).*/\1${XLOCK_DEFAULT_MODE}/' \
|
|
XLock.ad.BAK >XLock.ad
|
|
.endif
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/xlockmore
|
|
${INSTALL_DATA} \
|
|
${WRKSRC}/sounds/thank-you.au \
|
|
${WRKSRC}/sounds/identify-please.au \
|
|
${WRKSRC}/sounds/not-programmed.au \
|
|
${WRKSRC}/sounds/complete.au \
|
|
${PREFIX}/lib/X11/xlockmore
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|