diff options
-rw-r--r-- | games/battalion/Makefile | 5 | ||||
-rw-r--r-- | games/crossfire/Makefile | 8 | ||||
-rw-r--r-- | graphics/urt/Makefile | 24 |
3 files changed, 20 insertions, 17 deletions
diff --git a/games/battalion/Makefile b/games/battalion/Makefile index 902524144bc..a358a929501 100644 --- a/games/battalion/Makefile +++ b/games/battalion/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 1999/01/30 23:18:47 agc Exp $ +# $NetBSD: Makefile,v 1.12 1999/04/05 17:23:01 mycroft Exp $ # DISTNAME= battalion @@ -20,7 +20,8 @@ USE_X11BASE= yes do-install: ${INSTALL} -c -s -o root -g games -m 2755 ${WRKSRC}/battalion ${PREFIX}/bin - @${EXTRACT_CMD} -xzmf ${DISTDIR}/battalionSUN4.tar.gz -C ${WRKDIR} + cd ${WRKDIR} && \ + ${GZCAT} ${DISTDIR}/battalionSUN4.tar.gz | ${GTAR} xmf - ${MKDIR} ${PREFIX}/share/battalion/HELP ${MKDIR} ${PREFIX}/share/battalion/battalion.data/DATA ${MKDIR} ${PREFIX}/share/battalion/battalion.data/MUSIC diff --git a/games/crossfire/Makefile b/games/crossfire/Makefile index 3443afe6ad2..b45719ff36a 100644 --- a/games/crossfire/Makefile +++ b/games/crossfire/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 1998/09/17 14:03:49 agc Exp $ +# $NetBSD: Makefile,v 1.4 1999/04/05 17:23:02 mycroft Exp $ # DISTNAME= crossfire-0.94.2 @@ -41,8 +41,10 @@ post-patch: ${PKGDIR}/install > ${INSTALL_FILE} post-install: - ${EXTRACT_CMD} -xzmf ${DISTDIR}/${CF_MAPS} -C ${X11BASE}/lib/crossfire - ${EXTRACT_CMD} -xzmf ${DISTDIR}/${CF_SOUND} -C ${X11BASE}/lib/crossfire + cd ${X11BASE}/lib/crossfire && \ + ${GZCAT} ${DISTDIR}/${CF_MAPS} | ${GTAR} xmf - + cd ${X11BASE}/lib/crossfire && \ + ${GZCAT} ${DISTDIR}/${CF_SOUND} | ${GTAR} xmf - @/usr/bin/find ${X11BASE}/lib/crossfire/sounds -name \*.au -type f \ > ${WRKDIR}/.RPLAY @${CAT} ${WRKDIR}/.RPLAY >> ${LOCALBASE}/etc/rplay.conf diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile index 538b4e2fb5f..59c89ca2c71 100644 --- a/graphics/urt/Makefile +++ b/graphics/urt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 1999/03/22 09:38:23 agc Exp $ +# $NetBSD: Makefile,v 1.5 1999/04/05 17:23:02 mycroft Exp $ # FreeBSD Id: Makefile,v 1.6 1998/02/11 08:48:26 tg Exp # @@ -29,16 +29,16 @@ ALL_TARGET= post-install: ${MKDIR} ${PREFIX}/share/doc/urt ${PREFIX}/share/examples/urt - cd ${PREFIX}/share/doc/urt; \ - ${EXTRACT_CMD} xf ${DISTDIR}/urt-doc.tar; \ - cd doc; \ - find -d . | cpio -dump ..; \ - cd ..; \ - ${RM} -rf doc; \ - cd ${PREFIX}/share/examples/urt; \ - ${EXTRACT_CMD} xf ${DISTDIR}/urt-img.tar; \ - chown -R root:wheel . ; \ - find . -type d -exec chmod 775 '{}' \; ; \ - find . -type f -exec chmod 664 '{}' \; + cd ${PREFIX}/share/doc/urt && (\ + ${GTAR} xf ${DISTDIR}/urt-doc.tar; \ + cd doc; \ + find -d . | cpio -dump ..; \ + cd ..; \ + ${RM} -rf doc) + cd ${PREFIX}/share/examples/urt && (\ + ${GTAR} xf ${DISTDIR}/urt-img.tar; \ + chown -R root:wheel . ; \ + find . -type d -exec chmod 775 '{}' \; ; \ + find . -type f -exec chmod 664 '{}' \;) .include "../../mk/bsd.pkg.mk" |