diff options
Diffstat (limited to 'games/koth/Makefile')
-rw-r--r-- | games/koth/Makefile | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/games/koth/Makefile b/games/koth/Makefile index 714b857e71c..e4dee5cfeb9 100644 --- a/games/koth/Makefile +++ b/games/koth/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2001/02/16 15:10:53 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2003/01/04 12:25:13 wiz Exp $ # DISTNAME= koth-0.7.6 +PKGREVISION= 1 CATEGORIES= games MASTER_SITES= http://www-unix.oit.umass.edu/~tetron/koth/ @@ -9,10 +10,20 @@ MAINTAINER= hubertf@netbsd.org HOMEPAGE= http://www-unix.oit.umass.edu/~tetron/koth/ COMMENT= The classic "shoot the other tank" artillery game, networked -DEPENDS+= libgii-0.6:../../graphics/libgii -DEPENDS+= libggi-2.0b2.1:../../graphics/libggi - GNU_CONFIGURE= YES -CONFIGURE_ENV+= CC="cc -I${LOCALBASE}/include" +CPPFLAGS+= -DPKG_SYSCONFDIR=\"\\\"${PKG_SYSCONFDIR:Q}\\\"\" +USE_BUILDLINK2= YES + +EGDIR= ${PREFIX}/share/examples/koth +CONF_FILES= ${EGDIR}/koth.cfg ${PKG_SYSCONFDIR}/koth.cfg + +post-install: + ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/koth + ${INSTALL_DATA_DIR} ${EGDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/koth + ${INSTALL_DATA} ${WRKSRC}/src/koth.cfg ${EGDIR} +.include "../../graphics/libggi/buildlink2.mk" +.include "../../graphics/libgii/buildlink2.mk" +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" |