diff options
author | steve <steve@FreeBSD.org> | 1999-02-22 12:00:36 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1999-02-22 12:00:36 +0800 |
commit | b00007e1e90c13bff79e82d09c709f584ea01b1c (patch) | |
tree | 0add877d9269945ad36e3560c5c9ebbf3e50bfe0 /games/imaze/Makefile | |
parent | ed82d0fad2464cfd5909fe3ffb2beca81a4100b5 (diff) | |
download | freebsd-ports-gnome-b00007e1e90c13bff79e82d09c709f584ea01b1c.tar.gz freebsd-ports-gnome-b00007e1e90c13bff79e82d09c709f584ea01b1c.tar.zst freebsd-ports-gnome-b00007e1e90c13bff79e82d09c709f584ea01b1c.zip |
Among other things build the XView version by default.
PR: 10056
Submitted by: maintainer
Diffstat (limited to 'games/imaze/Makefile')
-rw-r--r-- | games/imaze/Makefile | 47 |
1 files changed, 41 insertions, 6 deletions
diff --git a/games/imaze/Makefile b/games/imaze/Makefile index 966760a81e63..fcbc15b47247 100644 --- a/games/imaze/Makefile +++ b/games/imaze/Makefile @@ -3,7 +3,7 @@ # Date created: 27. April 1996 # Whom: Ronald Kuehn <kuehn@rz.tu-clausthal.de> # -# $Id: Makefile,v 1.11 1998/09/21 22:15:53 steve Exp $ +# $Id: Makefile,v 1.12 1998/09/28 02:07:19 steve Exp $ # DISTNAME= imaze @@ -15,19 +15,54 @@ DISTFILES= imaze1.3.tar.Z imaze.tar MAINTAINER= kuehn@rz.tu-clausthal.de -.if defined(HAVE_MOTIF) && !defined(PACKAGE_BUILDING) -MAKE_ENV+= FORCE_MOTIF=yes -.else +# +# Sound support currently only exists for the XView version (apperently +# broken for the pcm driver; worked for voxware). The not yet released +# version 1.4 will add sound support for the Motif version too. +# XView is the default. If you want the Motif version, define FORCE_MOTIF=yes. +# +.if !(defined(HAVE_MOTIF) && defined(FORCE_MOTIF) && ${FORCE_MOTIF} == "yes") \ + || defined(PACKAGE_BUILDING) LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview-lib .endif EXTRACT_ONLY= imaze1.3.tar.Z USE_X_PREFIX= yes MAN6= genlab.6 imaze.6 imazesrv.6 ninja.6 -MANCOMPRESSED= yes +MANCOMPRESSED= maybe + +SOUNDDIR=${PREFIX}/share/imaze/sounds + +.if !defined(NOMANCOMPRESS) +compresscommand=gzip -9nf +.else +compresscommand=":" +.endif post-extract: - @${CP} ${FILESDIR}/Makefile ${WRKDIR}/imaze/Makefile @tar xf ${DISTDIR}/imaze.tar -C ${WRKDIR}/imaze +do-build: + @(cd ${WRKSRC}/source; ${MAKE} SOUNDDIR=${SOUNDDIR} \ + FORCE_MOTIF=${FORCE_MOTIF} MOTIFLIB="${MOTIFLIB}" \ + X11BASE=${X11BASE} freebsd) + +do-install: + @(cd ${WRKSRC}/source && for f in imaze imazesrv ninja genlab;\ + do ${INSTALL_PROGRAM} $$f ${PREFIX}/bin; done) + @(cd ${WRKSRC}/man6 && for f in *.6;\ + do ${INSTALL_MAN} $$f ${PREFIX}/man/man6;\ + ${compresscommand} ${PREFIX}/man/man6/$$f; done) + @mkdir -p ${PREFIX}/share/imaze/labs + @(cd ${WRKSRC}/labs && for f in *.lab;\ + do ${INSTALL_DATA} $$f ${PREFIX}/share/imaze/labs; done) + @mkdir -p ${SOUNDDIR} + @(cd ${WRKSRC}/sounds && for f in *.au;\ + do ${INSTALL_DATA} $$f ${SOUNDDIR}; done) + @(cd ${WRKSRC} && for f in Xdefaults.Motif Xdefaults.OpenWindows;\ + do ${INSTALL_DATA} $$f ${PREFIX}/share/imaze/$$f.example;\ + done; \ + ${INSTALL_DATA} README ${PREFIX}/share/imaze) + @echo "Please read the file \"README\" in \"${PREFIX}/share/imaze\"." + .include <bsd.port.mk> |