1995-07-11 06:50:12 +00:00
|
|
|
# New ports collection makefile for: xscreensaver
|
|
|
|
# Date created: 10 July 1995
|
1998-12-10 12:17:11 +00:00
|
|
|
# Whom: dom@myrddin.demon.co.uk
|
1995-07-11 06:50:12 +00:00
|
|
|
#
|
1999-08-31 02:51:23 +00:00
|
|
|
# $FreeBSD$
|
1995-07-11 06:50:12 +00:00
|
|
|
#
|
|
|
|
|
2002-06-05 08:51:01 +00:00
|
|
|
#************************************************************************
|
|
|
|
# *
|
|
|
|
# DO NOT COMMIT TO THIS PORT WITHOUT MY PERMISSION. THANKS. *
|
|
|
|
# *
|
|
|
|
#************************************************************************
|
|
|
|
|
2000-04-13 19:19:05 +00:00
|
|
|
PORTNAME= xscreensaver
|
2003-09-09 10:55:49 +00:00
|
|
|
PORTVERSION= 4.13
|
2002-02-13 23:03:22 +00:00
|
|
|
CATEGORIES?= x11
|
1998-12-10 12:17:11 +00:00
|
|
|
MASTER_SITES= http://www.jwz.org/xscreensaver/
|
1995-07-11 06:50:12 +00:00
|
|
|
|
2002-02-13 23:03:22 +00:00
|
|
|
MAINTAINER?= DougB@FreeBSD.org
|
2003-02-20 08:51:25 +00:00
|
|
|
COMMENT= Save your screen while you entertain your cat
|
1995-07-11 06:50:12 +00:00
|
|
|
|
2002-08-05 10:14:40 +00:00
|
|
|
LIB_DEPENDS= gle.3:${PORTSDIR}/graphics/gle \
|
|
|
|
xml.5:${PORTSDIR}/textproc/libxml
|
2002-06-05 08:51:01 +00:00
|
|
|
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
(1) Add new variable, XFREE86_VERSION, to specify which version of
XFree86 (3 or 4) to depend to when USE_XLIB is set.
XFREE86_VERSION defaults to 3 for now, but adventurous users can
override it in /etc/make.conf. When XFREE86_VERSION=3, USE_XLIB
will add a dependency to x11/XFree86; when it is set to 4, the
dependency will be to x11/XFree86-4-libraries. When
XFREE86_VERSION=4, the PKG_IGNORE_DEPENDS and ALWAYS_BUILD_DEPENDS
hacks to avoid messing with XFree86 are turned off.
Since XFree86 version 4 includes some software that used to be
separate ports, when XFREE86_VERSION=3 the following variables are
provided:
USE_DGS LIB_DEPENDS on x11/dgs
USE_FREETYPE LIB_DEPENDS on print/freetype
USE_MESA LIB_DEPENDS on graphics/Mesa3
USE_XPM LIB_DEPENDS on graphics/xpm
When XFREE86_VERSION=4, these variables have no effect. The
LIB_DEPENDS in the tree for the above four ports have all been
converted to the USE_* counterparts. For your information, this
is the count of the number of ports:
USE_DGS 0
USE_FREETYPE 16
USE_MESA 36
USE_XPM 236
There is a new variable, XAWVER, which is set to 6 when
XFREE86_VERSION=3 and 7 when XFREE86_VERSION=4. This is also
passed to PLIST_SUB so ports that build Xaw based shared libraries
can use this variable to substitute the shlib version number.
There is also a provision of using a separate mtree file for
XFREE86_VERSION=4, but that part is not enabled yet.
Reviewed by: the ports list
Tested by: make index (XFREE86_VERSION=3 only)
(2) Add hebrew to list of valid categories.
Submitted by: nbm
2000-08-03 09:28:57 +00:00
|
|
|
USE_XPM= yes
|
|
|
|
USE_MESA= yes
|
2002-06-05 08:51:01 +00:00
|
|
|
USE_GMAKE= yes
|
2002-10-25 07:15:48 +00:00
|
|
|
USE_GTK= yes
|
2000-10-05 06:47:41 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2002-01-21 04:23:07 +00:00
|
|
|
CONFIGURE_ARGS= --without-pam --with-gl --with-gle --with-xpm --with-xml \
|
|
|
|
--with-hackdir=${PREFIX}/bin/xscreensaver-hacks/ \
|
2002-04-13 06:19:32 +00:00
|
|
|
--with-configdir=${PREFIX}/share/xscreensaver/config/ \
|
2003-09-07 23:50:12 +00:00
|
|
|
--with-jpeg=${LOCALBASE} --without-gnome --without-kerberos \
|
|
|
|
--without-motif
|
2002-08-05 10:14:40 +00:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2002-01-22 15:20:38 +00:00
|
|
|
|
2002-06-14 02:09:42 +00:00
|
|
|
.if defined(XS_WITH_ALL_FORTUNES)
|
|
|
|
CONFIGURE_ARGS+= --with-fortune="/usr/games/fortune -sa"
|
|
|
|
.endif
|
2003-09-07 23:50:12 +00:00
|
|
|
.if defined(XS_WITH_SETUID_HACKS)
|
|
|
|
CONFIGURE_ARGS+= --with-setuid-hacks
|
|
|
|
.endif
|
2002-06-14 02:09:42 +00:00
|
|
|
|
2002-08-05 10:14:40 +00:00
|
|
|
.undef HAVE_GNOME
|
|
|
|
|
|
|
|
CONFIGURE_ENV= X_CFLAGS=-I${LOCALBASE}/include/gnome-xml
|
|
|
|
|
2002-06-05 08:51:01 +00:00
|
|
|
MAN1= anemone.1 ant.1 apollonian.1 atlantis.1 attraction.1 blaster.1 \
|
|
|
|
blitspin.1 bouboule.1 boxed.1 braid.1 bsod.1 bubble3d.1 bubbles.1 \
|
|
|
|
bumps.1 cage.1 ccurve.1 circuit.1 compass.1 coral.1 critical.1 \
|
|
|
|
crystal.1 cubenetic.1 cynosure.1 dangerball.1 decayscreen.1 deco.1 \
|
|
|
|
deluxe.1 demon.1 discrete.1 distort.1 drift.1 engine.1 epicycle.1 \
|
|
|
|
euler2d.1 extrusion.1 fadeplot.1 flag.1 flame.1 flipscreen3d.1 flow.1 \
|
|
|
|
fluidballs.1 forest.1 galaxy.1 gears.1 gflux.1 glforestfire.1 \
|
|
|
|
glplanet.1 glsnake.1 gltext.1 goop.1 grav.1 greynetic.1 halo.1 helix.1 \
|
|
|
|
hopalong.1 hyperball.1 hypercube.1 ifs.1 imsmap.1 interference.1 \
|
|
|
|
jigsaw.1 juggle.1 julia.1 kaleidescope.1 kumppa.1 lament.1 laser.1 \
|
|
|
|
lavalite.1 lightning.1 lisa.1 lissie.1 lmorph.1 loop.1 maze.1 menger.1 \
|
|
|
|
moebius.1 moire.1 moire2.1 molecule.1 morph3d.1 mountain.1 munch.1 \
|
|
|
|
nerverot.1 noseguy.1 pedal.1 penetrate.1 penrose.1 petri.1 phosphor.1 \
|
|
|
|
pipes.1 polyominoes.1 pulsar.1 pyro.1 qix.1 queens.1 rd-bomb.1 \
|
|
|
|
ripples.1 rocks.1 rorschach.1 rotor.1 rotzoomer.1 rubik.1 sballs.1 \
|
|
|
|
shadebobs.1 sierpinski.1 sierpinski3d.1 slidescreen.1 slip.1 sonar.1 \
|
|
|
|
speedmine.1 sphere.1 spheremonics.1 spiral.1 spotlight.1 sproingies.1 \
|
|
|
|
squiral.1 stairs.1 starfish.1 starwars.1 stonerview.1 strange.1 \
|
|
|
|
superquadrics.1 swirl.1 t3d.1 thornbird.1 triangle.1 truchet.1 twang.1 \
|
|
|
|
vermiculate.1 vidwhacker.1 vines.1 wander.1 webcollage.1 \
|
|
|
|
whirlwindwarp.1 whirlygig.1 worm.1 xflame.1 xjack.1 xlyap.1 \
|
|
|
|
xmatrix.1 xrayswarm.1 xspirograph.1 xsublim.1 xteevee.1 zoom.1 \
|
2003-02-04 05:34:20 +00:00
|
|
|
endgame.1 glblur.1 halftone.1 barcode.1 eruption.1 flurry.1 metaballs.1 \
|
2003-04-07 02:12:10 +00:00
|
|
|
atunnel.1 piecewise.1 bouncingcow.1 flyingtoasters.1 glslideshow.1 \
|
2003-09-07 23:50:12 +00:00
|
|
|
jigglypuff.1 klein.1 cloudlife.1 hypertorus.1 glmatrix.1 cubestorm.1 \
|
2003-09-09 10:55:49 +00:00
|
|
|
glknots.1 blocktube.1 flipflop.1 antspotlight.1 polytopes.1 ljlatest.1 \
|
2002-06-05 08:51:01 +00:00
|
|
|
xscreensaver-command.1 xscreensaver-demo.1 \
|
|
|
|
xscreensaver-getimage-file.1 xscreensaver-getimage-video.1 \
|
|
|
|
xscreensaver-getimage.1 xscreensaver-gl-helper.1 xscreensaver.1
|
1995-07-11 06:50:12 +00:00
|
|
|
|
2002-08-05 10:14:40 +00:00
|
|
|
pre-fetch:
|
|
|
|
.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
|
|
|
|
@${ECHO} ''
|
|
|
|
@${ECHO} '*** This is the non-gnome version of the port.'
|
|
|
|
@${ECHO} ' If you want gnome support, hit Ctrl-C now,'
|
|
|
|
@${ECHO} ' and cd ../xscreensaver-gnome.'
|
|
|
|
@${ECHO} ''
|
|
|
|
@sleep 2
|
|
|
|
.endif
|
|
|
|
|
2001-03-03 01:49:13 +00:00
|
|
|
post-patch:
|
2002-02-25 10:10:16 +00:00
|
|
|
@ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched
|
|
|
|
@ ${SED} -e 's#-lpthread#${PTHREAD_LIBS}#g' \
|
2003-09-07 23:50:12 +00:00
|
|
|
-e 's#malloc.h#stdlib.h#g' \
|
2002-02-25 10:10:16 +00:00
|
|
|
${WRKSRC}/configure.Patched > ${WRKSRC}/configure
|
2001-03-03 01:49:13 +00:00
|
|
|
|
2002-08-05 10:14:40 +00:00
|
|
|
post-install:
|
|
|
|
@(if test -x ${X11BASE}/bin/xscreensaver-hacks/webcollage-helper; then \
|
|
|
|
${ECHO} "bin/xscreensaver-hacks/webcollage-helper" | \
|
|
|
|
${CAT} - ${TMPPLIST} > ${TMPPLIST}.cat && \
|
|
|
|
${MV} ${TMPPLIST}.cat ${TMPPLIST}; fi)
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|