1996-04-27 18:37:41 +00:00
|
|
|
# New ports collection makefile for: imaze
|
|
|
|
# Version required: 1.3
|
|
|
|
# Date created: 27. April 1996
|
|
|
|
# Whom: Ronald Kuehn <kuehn@rz.tu-clausthal.de>
|
|
|
|
#
|
1999-08-25 06:06:33 +00:00
|
|
|
# $FreeBSD$
|
1996-04-27 18:37:41 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= imaze
|
|
|
|
PKGNAME= imaze-1.3
|
1996-11-18 11:44:27 +00:00
|
|
|
CATEGORIES= games
|
1996-04-27 18:37:41 +00:00
|
|
|
MASTER_SITES= ftp://ftp.tu-clausthal.de/pub/unix/games/imaze/ \
|
|
|
|
ftp://ftp.tu-clausthal.de/pub/unix/games/imaze/sounds/
|
1996-04-30 05:44:51 +00:00
|
|
|
DISTFILES= imaze1.3.tar.Z imaze.tar
|
1996-04-27 18:37:41 +00:00
|
|
|
|
|
|
|
MAINTAINER= kuehn@rz.tu-clausthal.de
|
|
|
|
|
1999-02-22 04:00:36 +00:00
|
|
|
#
|
|
|
|
# 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)
|
1999-05-04 23:18:39 +00:00
|
|
|
LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview
|
1996-11-19 11:06:46 +00:00
|
|
|
.endif
|
1996-04-30 05:44:51 +00:00
|
|
|
|
|
|
|
EXTRACT_ONLY= imaze1.3.tar.Z
|
1998-08-05 09:31:52 +00:00
|
|
|
USE_X_PREFIX= yes
|
1998-09-28 02:07:57 +00:00
|
|
|
MAN6= genlab.6 imaze.6 imazesrv.6 ninja.6
|
1999-02-22 04:00:36 +00:00
|
|
|
MANCOMPRESSED= maybe
|
|
|
|
|
|
|
|
SOUNDDIR=${PREFIX}/share/imaze/sounds
|
|
|
|
|
|
|
|
.if !defined(NOMANCOMPRESS)
|
|
|
|
compresscommand=gzip -9nf
|
|
|
|
.else
|
|
|
|
compresscommand=":"
|
|
|
|
.endif
|
1996-04-27 18:37:41 +00:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
@tar xf ${DISTDIR}/imaze.tar -C ${WRKDIR}/imaze
|
|
|
|
|
1999-02-22 04:00:36 +00:00
|
|
|
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)
|
1999-08-22 23:33:47 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/imaze/labs
|
1999-02-22 04:00:36 +00:00
|
|
|
@(cd ${WRKSRC}/labs && for f in *.lab;\
|
|
|
|
do ${INSTALL_DATA} $$f ${PREFIX}/share/imaze/labs; done)
|
1999-08-22 23:33:47 +00:00
|
|
|
@${MKDIR} ${SOUNDDIR}
|
1999-02-22 04:00:36 +00:00
|
|
|
@(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)
|
1999-08-27 21:14:04 +00:00
|
|
|
@${ECHO_MSG} "Please read the file \"README\" in \"${PREFIX}/share/imaze\"."
|
1999-02-22 04:00:36 +00:00
|
|
|
|
1996-04-27 18:37:41 +00:00
|
|
|
.include <bsd.port.mk>
|