diff options
-rw-r--r-- | audio/eawpatches/Makefile | 15 | ||||
-rw-r--r-- | audio/guspatches/Makefile | 26 |
2 files changed, 25 insertions, 16 deletions
diff --git a/audio/eawpatches/Makefile b/audio/eawpatches/Makefile index 4ba10c5b7cc..5674a07cc8d 100644 --- a/audio/eawpatches/Makefile +++ b/audio/eawpatches/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.20 2007/02/22 16:42:10 drochner Exp $ +# $NetBSD: Makefile,v 1.21 2008/01/21 21:19:41 heinz Exp $ # DISTNAME= eawpats12_full @@ -13,11 +13,14 @@ COMMENT= Eric A. Welsh' patches (audio samples) for TiMidity RESTRICTED= Some patches are copyrighted, some marked no-commercial-use NO_BIN_ON_FTP= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} -LICENSE= generic-nonlicense +LICENSE= generic-nonlicense -WRKSRC= ${WRKDIR} -NO_BUILD= yes -MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} +PKG_DESTDIR_SUPPORT= user-destdir + +WRKSRC= ${WRKDIR} +NO_BUILD= yes +USE_LANGUAGES= # empty +MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR} post-extract: chmod go-w ${WRKSRC}/eawpats/gravis.cfg @@ -30,6 +33,6 @@ pre-configure: ${WRKSRC}/eawpats/winconfig do-install: - cd ${WRKSRC} && pax -wr eawpats ${PREFIX}/share + cd ${WRKSRC} && pax -wr eawpats ${DESTDIR}${PREFIX}/share .include "../../mk/bsd.pkg.mk" diff --git a/audio/guspatches/Makefile b/audio/guspatches/Makefile index b7050ea8e83..db55a4513f0 100644 --- a/audio/guspatches/Makefile +++ b/audio/guspatches/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.17 2007/02/22 19:26:05 wiz Exp $ +# $NetBSD: Makefile,v 1.18 2008/01/21 21:21:50 heinz Exp $ # DISTNAME= dgguspat @@ -15,10 +15,12 @@ RESTRICTED= Uses copyrighted patches NO_BIN_ON_FTP= ${RESTRICTED} NO_BIN_ON_CDROM= ${RESTRICTED} -EXTRACT_ONLY= # empty -NO_BUILD= yes -USE_TOOLS+= unzip -MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q} +PKG_DESTDIR_SUPPORT= user-destdir +EXTRACT_ONLY= # empty +NO_BUILD= yes +USE_LANGUAGES= # empty +USE_TOOLS+= unzip +MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR:Q} do-configure: ${SED} "s|@PREFIX@|${PREFIX}|" < ${FILESDIR}/gravis.cfg > \ @@ -27,10 +29,14 @@ do-configure: ${WRKDIR}/timidity.cfg do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/guspatches - cd ${PREFIX}/share/guspatches && unzip -oqL ${DISTDIR}/${DISTFILES} - ${INSTALL_DATA} ${FILESDIR}/midia.cfg ${PREFIX}/share/guspatches - ${INSTALL_DATA} ${WRKDIR}/gravis.cfg ${PREFIX}/share/guspatches - ${INSTALL_DATA} ${WRKDIR}/timidity.cfg ${PREFIX}/share/guspatches + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/guspatches + cd ${DESTDIR}${PREFIX}/share/guspatches && \ + unzip -oqL ${DISTDIR}/${DISTFILES} + ${INSTALL_DATA} ${FILESDIR}/midia.cfg \ + ${DESTDIR}${PREFIX}/share/guspatches + ${INSTALL_DATA} ${WRKDIR}/gravis.cfg \ + ${DESTDIR}${PREFIX}/share/guspatches + ${INSTALL_DATA} ${WRKDIR}/timidity.cfg \ + ${DESTDIR}${PREFIX}/share/guspatches .include "../../mk/bsd.pkg.mk" |