diff options
Diffstat (limited to 'games/falconseye/Makefile')
-rw-r--r-- | games/falconseye/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/games/falconseye/Makefile b/games/falconseye/Makefile new file mode 100644 index 000000000000..bd0c0c566fda --- /dev/null +++ b/games/falconseye/Makefile @@ -0,0 +1,43 @@ +# Ports collection makefile for: falconseye +# Date created: 23 Aug 2001 +# Whom: Kris Kennaway <kris@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= falconseye +PORTVERSION= 1.9.3 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= falconseye +DISTNAME= nethack_source_331_jtp_${PORTVERSION:S/.//g} + +MAINTAINER= kris@FreeBSD.org + +LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 +RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity + +NHDIR= "${PREFIX}/share/falconseyedir" +MAKE_ENV= NHDIR="${NHDIR}" NETHACKCONFIG="${NETHACKCONFIG}" +NETHACKCONFIG= ${FILESDIR}/x-config +USE_X_PREFIX= Yes +USE_ZIP= yes +MAKE_ENV+= CFLAGS="${CFLAGS} -I${X11BASE}/include -I${LOCALBASE}/include -L${X11BASE}/lib -L${LOCALBASE}/lib -I${LOCALBASE}/include/SDL11" PREFIX="${PREFIX}" X11BASE="${X11BASE}" +WRKSRC= ${WRKDIR} + +do-configure: + @cd ${WRKSRC}/sys/unix && ${SH} setup.sh symlinks + +post-build: + @cd ${WRKSRC}/util && ${LN} -f recover frecover + @cd ${WRKSRC}/doc && ${PERL} -p ${FILESDIR}/substitute <nethack.6 >falconseye.6 + @cd ${WRKSRC}/doc && ${PERL} -p ${FILESDIR}/substitute <recover.6 >frecover.6 + +post-install: + ${INSTALL_PROGRAM} ${WRKSRC}/util/recover ${PREFIX}/bin/frecover + @cd ${WRKSRC}/doc && \ + ${INSTALL_MAN} recover.6 ${PREFIX}/man/man6/frecover.6 + @cd ${WRKSRC}/doc && \ + ${INSTALL_MAN} nethack.6 ${PREFIX}/man/man6/falconseye.6 + +.include <bsd.port.mk> |