pkgsrc/games/xgalaga/Makefile

39 lines
1 KiB
Makefile
Raw Normal View History

2009-11-15 02:29:33 +01:00
# $NetBSD: Makefile,v 1.34 2009/11/15 01:29:33 dholland Exp $
DISTNAME= xgalaga-2.0.34
PKGREVISION= 4
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_LOCAL}
2008-01-19 10:16:17 +01:00
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Very fast true-to-the-original port of galaga for X11
2009-11-15 02:29:33 +01:00
PKG_DESTDIR_SUPPORT= user-destdir
NO_SRC_ON_FTP= "already in MASTER_SITE_LOCAL"
GNU_CONFIGURE= YES
GNU_CONFIGURE_PREFIX= ${PREFIX}/share/xgalaga
CONFIGURE_ARGS+= --exec-prefix=${PREFIX}/bin
SETGIDGAME= yes
MAKE_ENV+= GAMEOWN=${GAMEOWN:Q} GAMEGRP=${GAMEGRP:Q} \
GAMEMODE=${GAMEMODE:Q} GAMEDATAMODE=${GAMEDATAMODE:Q}
.include "../../mk/bsd.prefs.mk"
.if ${X11_TYPE} == "modular"
CONFIGURE_ARGS+= --x-includes=${PREFIX}/include
CONFIGURE_ARGS+= --x-libraries=${PREFIX}/lib
.endif
2007-03-24 20:21:18 +01:00
INSTALLATION_DIRS= libexec
post-install:
2009-11-15 02:29:33 +01:00
${INSTALL_MAN} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/xgalaga/README
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"