diff options
Diffstat (limited to 'games/pingus/Makefile')
-rw-r--r-- | games/pingus/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/games/pingus/Makefile b/games/pingus/Makefile new file mode 100644 index 00000000000..674adf5ecc8 --- /dev/null +++ b/games/pingus/Makefile @@ -0,0 +1,37 @@ +# $NetBSD: Makefile,v 1.1.1.1 2011/01/19 19:47:58 kefren Exp $ + +DISTNAME= pingus-0.7.3 +CATEGORIES= games +MASTER_SITES= http://pingus.seul.org/files/ +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://pingus.seul.org/ +COMMENT= Lemmings(TM) Clone + +PKG_DESTDIR_SUPPORT= user-destdir + +BUILD_DEPENDS+= scons>=0.96:../../devel/scons +USE_LANGUAGES+= c++ + +SUBST_CLASSES+= fix-prefix +SUBST_STAGE.fix-prefix= post-patch +SUBST_MESSAGE.fix-prefix= Fixing buildlink prefix +SUBST_FILES.fix-prefix= SConstruct +SUBST_SED.fix-prefix= -e 's,BUILDLINK_DIR,${BUILDLINK_DIR},' + +MAKE_JOBS?= 1 + +do-build: + cd ${WRKSRC} && \ + CPPPATH=${BUILDLINK_DIR}/include LIBPATH=${BUILDLINK_DIR}/lib scons -j ${MAKE_JOBS} + +do-install: + cd ${WRKSRC} && ./install.sh ${DESTDIR}${PREFIX} + +.include "../../audio/SDL_mixer/buildlink3.mk" +.include "../../converters/libiconv/buildlink3.mk" +.include "../../devel/boost-libs/buildlink3.mk" +.include "../../graphics/SDL_image/buildlink3.mk" +.include "../../graphics/png/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" |