diff options
author | pooka <pooka@pkgsrc.org> | 2002-01-21 11:56:16 +0000 |
---|---|---|
committer | pooka <pooka@pkgsrc.org> | 2002-01-21 11:56:16 +0000 |
commit | 60c5a78963ddac4ed6435750f63ea38f49c0c0e2 (patch) | |
tree | 70617b839dc8eb87e31228675434436b7eb226ea /games/falcons-eye/Makefile | |
parent | 929c8d51ae514be74619387fb3960d1ad3ce674d (diff) | |
download | pkgsrc-60c5a78963ddac4ed6435750f63ea38f49c0c0e2.tar.gz |
Falcon's Eye 1.9.3, isometric Nethack with real graphics.
Originally supplied by collver@linuxfreemail.com in pkg/14359 and
subsequently modified somewhat mostly by him.
Diffstat (limited to 'games/falcons-eye/Makefile')
-rw-r--r-- | games/falcons-eye/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/games/falcons-eye/Makefile b/games/falcons-eye/Makefile new file mode 100644 index 00000000000..556397731c7 --- /dev/null +++ b/games/falcons-eye/Makefile @@ -0,0 +1,41 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/01/21 11:56:16 pooka Exp $ +# + +DISTNAME= nethack_source_331_jtp_193 +PKGNAME= falcons-eye-1.9.3 +WRKSRC= ${WRKDIR} +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=falconseye/} +EXTRACT_SUFX= .zip + +MAINTAINER= collver@linuxfreemail.com +HOMEPAGE= http://falconseye.sourceforge.net/ +COMMENT= Falcon's Eye NetHack + +EXTRACT_CMD= unzip -aq ${DOWNLOADED_DISTFILE} +HAS_CONFIGURE= yes +CONFIGURE_SCRIPT= ./sys/unix/setup.sh + +BUILDLINK_ONLY= yes + +post-patch: + @${MV} ${WRKSRC}/include/config.h ${WRKSRC}/config.h-pre + @${SED} -e 's@XXXPREFIXXXX@${PREFIX}@g' \ + -e 's|@GZIP_PROGRAM@|'`${ECHO} ${GZIP_CMD} | ${AWK} '{ print $$1 }'`'|g' \ + < ${WRKSRC}/config.h-pre > ${WRKSRC}/include/config.h + @${RM} -f ${WRKSRC}/config.h-pre + @${SED} 's@XXXPREFIXXXX@${PREFIX}@g' \ + <${WRKSRC}/src/fe-config.in >${WRKSRC}/src/fe-config + +pre-configure: + @${CHMOD} 755 ${WRKSRC}/sys/unix/setup.sh + +pre-install: + @${CP} ${WRKSRC}/src/nethack ${WRKSRC}/src/falcons-eye + +post-install: + ${INSTALL_SCRIPT} ${WRKSRC}/src/fe-config ${PREFIX}/bin + +.include "../../devel/SDL/buildlink.mk" +.include "../../mk/x11.buildlink.mk" +.include "../../mk/bsd.pkg.mk" |