summaryrefslogtreecommitdiffstats
path: root/x11/xscreensaver/Makefile
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2002-02-25 10:10:16 +0000
committerdougb <dougb@FreeBSD.org>2002-02-25 10:10:16 +0000
commit741b90d1aaf12547aab807eb8daab8ad581de2f5 (patch)
tree4c07f33ae9697e3f18bdb77e818dcc94dae4818b /x11/xscreensaver/Makefile
parent3b30723812c492a37065821daef16526687e37eb (diff)
downloadFreeBSD-ports-741b90d1aaf12547aab807eb8daab8ad581de2f5.zip
FreeBSD-ports-741b90d1aaf12547aab807eb8daab8ad581de2f5.tar.gz
Update to 4.01, which has several new screensavers, and the usual
assortment of bugs fixed. The author has incorporated several of our patches, so I can reduce or eliminate them. However, I had to add one small patch to get -lcompat into one of the new screensavers. In addition to the upgrade, I'm also reverting most of the recent gnome changes in favor of forcing the xml files into one location regardless of gnome/not gnome. I think long term this will be a better strategy.
Diffstat (limited to 'x11/xscreensaver/Makefile')
-rw-r--r--x11/xscreensaver/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/x11/xscreensaver/Makefile b/x11/xscreensaver/Makefile
index 6b5db6d..132a518 100644
--- a/x11/xscreensaver/Makefile
+++ b/x11/xscreensaver/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= xscreensaver
-PORTVERSION= 4.00
-PORTREVISION= 2
+PORTVERSION= 4.01
CATEGORIES?= x11
MASTER_SITES= http://www.jwz.org/xscreensaver/
@@ -55,11 +54,17 @@ MAN1= attraction.1 blitspin.1 bouboule.1 braid.1 \
xscreensaver-gl-helper.1 xscreensaver.1 xsublim.1 xteevee.1 \
zoom.1 molecule.1 rotzoomer.1 bumps.1 xscreensaver-getimage.1 \
xscreensaver-getimage-file.1 xscreensaver-getimage-video.1 \
- speedmine.1 whirlygig.1 penetrate.1
+ speedmine.1 whirlygig.1 penetrate.1 glforestfire.1 \
+ glsnake.1 sballs.1 twang.1 xspirograph.1
post-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "*.[ch]" | xargs ${PERL} -pi -e \
- 's|malloc\.h|stdlib.h|g'
+ @ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched
+ @ ${SED} -e 's#-lpthread#${PTHREAD_LIBS}#g' \
+ ${WRKSRC}/configure.Patched > ${WRKSRC}/configure
+.for file in 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.post.mk>
OpenPOWER on IntegriCloud