diff options
author | joerg <joerg@pkgsrc.org> | 2008-09-19 18:24:15 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2008-09-19 18:24:15 +0000 |
commit | 6e3fb81c1b7984a0cb17ca9752c0f23c0dedf1bd (patch) | |
tree | 707cc06964ce854fded8f3b389af83199c179b02 /games/ufoai/Makefile | |
parent | faff8945ae8a433829a64ffe04a6191e3a095ca3 (diff) | |
download | pkgsrc-6e3fb81c1b7984a0cb17ca9752c0f23c0dedf1bd.tar.gz |
Don't depend on tar -j. Explicitly depend on bzip2. Fix DESTDIR support.
Diffstat (limited to 'games/ufoai/Makefile')
-rw-r--r-- | games/ufoai/Makefile | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/games/ufoai/Makefile b/games/ufoai/Makefile index 22a343bbcda..ee1c3c81f16 100644 --- a/games/ufoai/Makefile +++ b/games/ufoai/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2008/09/09 12:46:36 kefren Exp $ +# $NetBSD: Makefile,v 1.2 2008/09/19 18:24:15 joerg Exp $ DISTNAME= ufoai-2.2.1 MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ufoai/} @@ -17,18 +17,23 @@ HOMEPAGE= http://ufoai.sourceforge.net/ PKG_DESTDIR_SUPPORT= user-destdir GNU_CONFIGURE= yes -USE_TOOLS+= tar gmake +USE_TOOLS+= tar gmake bzip2 MAKE_JOBS_SAFE= no +INSTALLATION_DIRS= share/ufoai +INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} + +CHECK_INTERPRETER_SKIP+= share/ufoai/base/maps/* + do-extract: - cd ${WRKDIR} && ${TAR} jxf ${DISTDIR}/${DISTNAME}-source.tar.bz2 + cd ${WRKDIR} && ${BZIP2} -d -c ${DISTDIR}/${DISTNAME}-source.tar.bz2 | ${TAR} -xf - post-build: cd ${WRKSRC} && ${GMAKE} lang # && ${GMAKE} maps post-install: - ${TAR} xf ${DISTDIR}/${DISTNAME}-data.tar -C ${PREFIX}/share/ufoai - ${TAR} jxf ${DISTDIR}/${DISTNAME}-mappack.tar.bz2 -C ${PREFIX}/share/ufoai + ${TAR} -xf ${DISTDIR}/${DISTNAME}-data.tar -C ${DESTDIR}${PREFIX}/share/ufoai + ${BZIP2} -d -c ${DISTDIR}/${DISTNAME}-mappack.tar.bz2 | ${TAR} -xf - -C ${DESTDIR}${PREFIX}/share/ufoai .include "../../graphics/jpeg/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" |