ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/x11/xscreensaver/Makefile
Revision: 6023
Committed: Fri Aug 22 14:43:08 2008 UTC (15 years, 8 months ago) by laffer1
File size: 5761 byte(s)
Log Message:
Based on the compile output, i think we're missing glib20.  I also switched to USE_GNNOME syntax for the rest.

File Contents

# User Rev Content
1 laffer1 995 # New ports collection makefile for: xscreensaver
2     # Date created: 10 July 1995
3     # Whom: dom@myrddin.demon.co.uk
4     #
5 laffer1 6023 # $MidnightBSD: mports/x11/xscreensaver/Makefile,v 1.10 2008/08/15 19:02:34 crash Exp $
6 laffer1 995 # $FreeBSD: ports/x11/xscreensaver/Makefile,v 1.89 2006/09/20 05:52:16 dougb Exp $
7     #
8    
9     PORTNAME= xscreensaver
10 crash 5880 PORTVERSION= 5.06
11 laffer1 6023 PORTREVISION= 2
12 laffer1 995 CATEGORIES?= x11
13     MASTER_SITES= http://www.jwz.org/xscreensaver/ \
14     http://dougbarton.us/Downloads/
15    
16     MAINTAINER?= ports@MidnightBSD.org
17     COMMENT= Save your screen while you entertain your cat
18 ctriv 4627 LICENSE= x11
19 laffer1 995
20     LIB_DEPENDS= gle.4:${PORTSDIR}/graphics/gle \
21     xml2.5:${PORTSDIR}/textproc/libxml2 \
22 laffer1 5764 jpeg.9:${PORTSDIR}/graphics/jpeg \
23     png.5:${PORTSDIR}/graphics/png \
24     freetype.9:${PORTSDIR}/print/freetype2
25 laffer1 995
26 ctriv 4627 DESTDIRNAME= install_prefix
27    
28 laffer1 6023 USE_GNOME= glib20 gtk20 libglade2
29     USE_XORG= xpm xrandr xrender xt xmu xinerama xext xf86miscproto xi xaw xcomposite ice x11
30 laffer1 995 USE_GL= yes
31     USE_GMAKE= yes
32     GNU_CONFIGURE= yes
33 laffer1 5279 CONFIGURE_ARGS= --with-gtk --with-gl --with-gle --with-pixbuf --with-xpm \
34     --with-jpeg=${LOCALBASE} --with-xshm-ext --with-xdbe-ext \
35 laffer1 995 --with-hackdir=${PREFIX}/bin/xscreensaver-hacks/ \
36     --with-configdir=${PREFIX}/share/xscreensaver/config/ \
37 laffer1 5279 --with-dpms-ext --with-xinerama-ext --with-xf86vmode-ext \
38     --with-xf86gamma-ext --with-randr-ext --enable-locking
39 laffer1 995
40     OPTIONS= ALL_FORTUNES "Run fortune with -sa argument" off \
41 laffer1 5279 KERBEROS "Add support for kerberos" off \
42     PAM "Add support for pam authentication" off \
43 laffer1 995 SETUID_HACKS "Install sonar hack suid so it can ping" off
44    
45     .include <bsd.port.pre.mk>
46    
47     .if defined(WITH_ALL_FORTUNES)
48     CONFIGURE_ARGS+= --with-fortune="/usr/games/fortune -sa"
49     .endif
50 laffer1 5279 .if defined(WITH_KERBEROS)
51     CONFIGURE_ARGS+= --with-kerberos
52     .else
53     CONFIGURE_ARGS+= --without-kerberos
54     .endif
55     .if defined(WITH_PAM)
56     CONFIGURE_ARGS+= --with-pam
57     PLIST_SUB+= PAM=""
58     .else
59     CONFIGURE_ARGS+= --without-pam
60     PLIST_SUB+= PAM="@comment not installed: "
61     .endif
62 laffer1 5463 .if defined(WITH_SETUID_HACKS)
63     CONFIGURE_ARGS+= --with-setuid-hacks
64     .endif
65 laffer1 995
66     .undef HAVE_GNOME
67    
68     CONFIGURE_ENV= X_CFLAGS=-I${LOCALBASE}/include/gnome-xml
69    
70     MAN1= xscreensaver-command.1 xscreensaver-demo.1 \
71     xscreensaver-getimage-file.1 xscreensaver-getimage-video.1 \
72     xscreensaver-getimage.1 xscreensaver-text.1 xscreensaver.1
73    
74     MAN6= anemone.6 anemotaxis.6 antinspect.6 antmaze.6 antspotlight.6 \
75     apollonian.6 apple2.6 atlantis.6 attraction.6 atunnel.6 barcode.6 \
76     blaster.6 blinkbox.6 blitspin.6 blocktube.6 boing.6 bouboule.6 \
77     bouncingcow.6 boxed.6 boxfit.6 braid.6 bsod.6 bubble3d.6 bubbles.6 \
78     bumps.6 cage.6 carousel.6 ccurve.6 celtic.6 circuit.6 cloudlife.6 \
79     compass.6 coral.6 crackberg.6 critical.6 crystal.6 cube21.6 \
80     cubenetic.6 cubestorm.6 cynosure.6 dangerball.6 decayscreen.6 deco.6 \
81     deluxe.6 demon.6 discrete.6 distort.6 drift.6 endgame.6 engine.6 \
82     epicycle.6 eruption.6 euler2d.6 extrusion.6 fadeplot.6 fiberlamp.6 \
83     fireworkx.6 flag.6 flame.6 flipflop.6 flipscreen3d.6 fliptext.6 flow.6 \
84     fluidballs.6 flurry.6 flyingtoasters.6 fontglide.6 forest.6 \
85     fuzzyflakes.6 galaxy.6 gears.6 gflux.6 glblur.6 gleidescope.6 \
86     glforestfire.6 glhanoi.6 glknots.6 glmatrix.6 glplanet.6 glschool.6 \
87     glslideshow.6 glsnake.6 gltext.6 goop.6 grav.6 greynetic.6 halftone.6 \
88     halo.6 helix.6 hopalong.6 hyperball.6 hypercube.6 hypertorus.6 ifs.6 \
89     imsmap.6 interaggregate.6 interference.6 intermomentary.6 jigglypuff.6 \
90     jigsaw.6 juggle.6 juggler3d.6 julia.6 kaleidescope.6 klein.6 kumppa.6 \
91     lament.6 laser.6 lavalite.6 lightning.6 lisa.6 lissie.6 ljlatest.6 \
92     lmorph.6 loop.6 maze.6 memscroller.6 menger.6 metaballs.6 mirrorblob.6 \
93     mismunch.6 moebius.6 moire.6 moire2.6 molecule.6 morph3d.6 mountain.6 \
94     munch.6 nerverot.6 noof.6 noseguy.6 pacman.6 pedal.6 penetrate.6 \
95     penrose.6 petri.6 phosphor.6 piecewise.6 pinion.6 pipes.6 polyhedra.6 \
96     polyominoes.6 polytopes.6 pong.6 providence.6 pulsar.6 pyro.6 qix.6 \
97     queens.6 rd-bomb.6 ripples.6 rocks.6 rorschach.6 rotor.6 rotzoomer.6 \
98     rubik.6 sballs.6 shadebobs.6 sierpinski.6 sierpinski3d.6 slidescreen.6 \
99     slip.6 sonar.6 speedmine.6 sphere.6 spheremonics.6 spiral.6 \
100     spotlight.6 sproingies.6 squiral.6 stairs.6 starfish.6 \
101     starwars.6 stonerview.6 strange.6 substrate.6 superquadrics.6 \
102     swirl.6 t3d.6 tangram.6 thornbird.6 timetunnel.6 topblock.6 \
103     triangle.6 truchet.6 twang.6 vermiculate.6 vidwhacker.6 vines.6 \
104     wander.6 webcollage.6 whirlwindwarp.6 whirlygig.6 worm.6 wormhole.6 \
105     xanalogtv.6 xflame.6 xjack.6 xlyap.6 xmatrix.6 xrayswarm.6 \
106 laffer1 5279 xspirograph.6 xsublim.6 zoom.6 cwaves.6 glcells.6 voronoi.6 \
107     abstractile.6 moebiusgears.6 lockward.6 cubicgrid.6 hypnowheel.6 \
108 crash 5880 lcdscrub.6 skytentacles.6 \
109 laffer1 995 xscreensaver-gl-helper.6
110    
111     .if ${ARCH} == "amd64"
112     CFLAGS+= -O0
113     .endif
114    
115     USE_DOS2UNIX= hacks/glx/topblock.c
116     post-patch:
117     @ ${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Patched
118     @ ${SED} -e 's#-lpthread#${PTHREAD_LIBS}#g' \
119     -e 's#malloc.h#stdlib.h#g' \
120 laffer1 5278 -e 's#/usr/X11R6#${LOCALBASE}#g' \
121 laffer1 995 ${WRKSRC}/configure.Patched > ${WRKSRC}/configure
122 laffer1 5279 .if defined(WITH_PAM)
123     .for f in driver/passwd-pam.c driver/xscreensaver.man
124     @ ${CP} ${WRKSRC}/${f} ${WRKSRC}/${f}.presed
125     @ ${SED} -e "s#/etc/pam.d#${PREFIX}/etc/pam.d#g" \
126 laffer1 5463 ${WRKSRC}/${f}.presed > ${WRKSRC}/${f}
127 laffer1 5279 .endfor
128     @ ${CP} ${FILESDIR}/xscreensaver.pam ${WRKSRC}/driver/xscreensaver.pam
129     .else
130     @ ${CP} ${WRKSRC}/driver/Makefile.in ${WRKSRC}/driver/Makefile.in.post
131     @ ${SED} -e "s#install-xml install-pam#install-xml#" \
132 laffer1 5463 ${WRKSRC}/driver/Makefile.in.post > ${WRKSRC}/driver/Makefile.in
133 laffer1 5279 .endif
134 laffer1 995
135     post-install:
136 laffer1 5463 @(if test -x ${PREFIX}/bin/xscreensaver-hacks/webcollage-helper; then \
137 laffer1 995 ${ECHO} "bin/xscreensaver-hacks/webcollage-helper" | \
138     ${CAT} - ${TMPPLIST} > ${TMPPLIST}.cat && \
139     ${MV} ${TMPPLIST}.cat ${TMPPLIST}; fi)
140    
141     .include <bsd.port.post.mk>

Properties

Name Value
cvs2svn:cvs-rev 1.11