summaryrefslogtreecommitdiffstats
path: root/x11/xscreensaver/Makefile
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2002-01-14 03:04:04 +0000
committerdougb <dougb@FreeBSD.org>2002-01-14 03:04:04 +0000
commitaaf7f1973bbd62d14c01ce05420ec17119729ea7 (patch)
treea51692214a9a43d880c45362cb5d8a832e3cbf1d /x11/xscreensaver/Makefile
parent9da09b8b0811561be0653764a31e2975faacace1 (diff)
downloadFreeBSD-ports-aaf7f1973bbd62d14c01ce05420ec17119729ea7.zip
FreeBSD-ports-aaf7f1973bbd62d14c01ce05420ec17119729ea7.tar.gz
Upgrade to version 4.00, which includes:
1. Redesigned -demo GUI (nice, except see below). 2. New modes of operation; one saver, blank/don't blank. 3. New hacks (screen saver modules). 4. Improved or fixed several other hacks. 5. Improved xinerama compatibility. See http://www.jwz.org/xscreensaver/changelog.html for details. * Sadly, the new GUI relies on xml, so that's now a dependency. * I moved the various hack files and their xml config files into their own directories. * Fixed the poorly done hack in the Makefile to s/malloc.h/stdlib.h/ * Removed a patch hunk that's no longer needed. * Added a fix for the new configure script's failure to recognize the option to put the xml files in their own directories. (Already contacted author)
Diffstat (limited to 'x11/xscreensaver/Makefile')
-rw-r--r--x11/xscreensaver/Makefile18
1 files changed, 12 insertions, 6 deletions
diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile
index 74c1b90..6d47227 100644
--- a/x11/xscreensaver/Makefile
+++ b/x11/xscreensaver/Makefile
@@ -6,21 +6,25 @@
#
PORTNAME= xscreensaver
-PORTVERSION= 3.34
+PORTVERSION= 4.00
CATEGORIES= x11
MASTER_SITES= http://www.jwz.org/xscreensaver/
MAINTAINER= DougB@FreeBSD.org
-LIB_DEPENDS= gle.3:${PORTSDIR}/graphics/gle
+LIB_DEPENDS= gle.3:${PORTSDIR}/graphics/gle \
+ xml.5:${PORTSDIR}/textproc/libxml
USE_X_PREFIX= yes
USE_XPM= yes
USE_MESA= yes
USE_GTK= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --without-pam --with-gl --with-xpm --without-gnome \
- --with-zippy=/usr/games/fortune --with-gle
+CONFIGURE_ARGS= --without-pam --without-gnome --with-gl --with-gle --with-xpm \
+ --with-xml --with-hackdir=${PREFIX}/bin/xscreensaver-hacks/ \
+ --with-configdir=${PREFIX}/share/xscreensaver/config/
+
+CONFIGURE_ENV= X_CFLAGS=-I${LOCALBASE}/include/gnome-xml
MAN1= attraction.1 blitspin.1 bouboule.1 braid.1 \
bsod.1 bubbles.1 critical.1 decayscreen.1 \
@@ -44,8 +48,10 @@ post-patch:
@ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched
@ ${SED} -e 's#-lpthread#${PTHREAD_LIBS}#g' \
${WRKSRC}/configure.Patched > ${WRKSRC}/configure
-.for file in pulsar.c extrusion.c extrusion.c
- @${PERL} -pi -e "s/malloc.h/stdlib.h/g" ${WRKSRC}/hacks/glx/${file}
+.for file in pulsar.c extrusion.c
+ @ ${CP} ${WRKSRC}/hacks/glx/${file} ${WRKSRC}/hacks/glx/${file}.Dist
+ @ ${SED} -e 's/malloc.h/stdlib.h/g' ${WRKSRC}/hacks/glx/${file}.Dist > \
+ ${WRKSRC}/hacks/glx/${file}
.endfor
.include <bsd.port.pre.mk>
OpenPOWER on IntegriCloud