summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorrillig <rillig>2007-01-08 21:34:57 +0000
committerrillig <rillig>2007-01-08 21:34:57 +0000
commit340d76ca6c11c2e6f1323963002065d6dd890edf (patch)
treef4d0da5007ad04858405e59fa0d7a23d4f5097a3 /audio
parentc316a29c77bf03dda5dd8b967d4fc8eb55898e43 (diff)
downloadpkgsrc-340d76ca6c11c2e6f1323963002065d6dd890edf.tar.gz
Fixed file permissions for gravis.cfg.
Reordered things in the Makefile. PKGREVISION++
Diffstat (limited to 'audio')
-rw-r--r--audio/eawpatches/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/audio/eawpatches/Makefile b/audio/eawpatches/Makefile
index 479d0ecc6d8..0447e0eb76c 100644
--- a/audio/eawpatches/Makefile
+++ b/audio/eawpatches/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.18 2006/10/27 13:45:44 drochner Exp $
+# $NetBSD: Makefile,v 1.19 2007/01/08 21:34:57 rillig Exp $
#
DISTNAME= eawpats12_full
PKGNAME= eawpatches-12
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_GENTOO:=distfiles/}
@@ -15,19 +15,21 @@ NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
LICENSE= generic-nonlicense
-USE_TOOLS+= gzcat tar
-EXTRACT_ONLY= # empty
-NO_CONFIGURE= yes
+WRKSRC= ${WRKDIR}
NO_BUILD= yes
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+post-extract:
+ chmod go-w ${WRKSRC}/eawpats/gravis.cfg
+
+pre-configure:
+ sed -e "s@/home/user/eawpats@${WRKSRC}/share/eawpats@" \
+ < ${WRKSRC}/eawpats/linuxconfig/timidity.cfg \
+ > ${WRKSRC}/eawpats/timidity.cfg
+ rm -r ${WRKSRC}/eawpats/linuxconfig \
+ ${WRKSRC}/eawpats/winconfig
+
do-install:
- cd ${PREFIX}/share && \
- gzcat ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} | tar xf -
- ${SED} -e "s@/home/user/eawpats@${PREFIX}/share/eawpats@" \
- < ${PREFIX}/share/eawpats/linuxconfig/timidity.cfg \
- > ${PREFIX}/share/eawpats/timidity.cfg
- ${RM} -r ${PREFIX}/share/eawpats/linuxconfig \
- ${PREFIX}/share/eawpats/winconfig
+ cd ${WRKSRC} && pax -wr eawpats ${PREFIX}/share
.include "../../mk/bsd.pkg.mk"