pkgsrc/games/clanbomber/Makefile
2004-04-18 05:31:35 +00:00

29 lines
848 B
Makefile

# $NetBSD: Makefile,v 1.21 2004/04/18 05:36:52 snj Exp $
DISTNAME= clanbomber-1.01
PKGREVISION= 3
CATEGORIES= games x11
MASTER_SITES= http://www.clanbomber.de/files/
MAINTAINER= root@garbled.net
HOMEPAGE= http://www.clanbomber.de/
COMMENT= Bomberman clone using the ClanLib graphics system
USE_BUILDLINK3= yes
USE_X11BASE= yes
GNU_CONFIGURE= yes
USE_GNU_TOOLS+= make
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
pre-configure:
${ECHO} "#define BOMBERDATDIR \"${PREFIX}/share/clanbomber/clanbomber.dat\"" >> ${WRKSRC}/config.h.in
${ECHO} "#define BOMBERMAPS \"${PREFIX}/share/clanbomber/maps\"" >> ${WRKSRC}/config.h.in
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
.include "../../graphics/clanlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"