pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/eawpatches Fixed file permissions for gravis.cfg.
details: https://anonhg.NetBSD.org/pkgsrc/rev/c7baf17cb339
branches: trunk
changeset: 523517:c7baf17cb339
user: rillig <rillig%pkgsrc.org@localhost>
date: Mon Jan 08 21:34:57 2007 +0000
description:
Fixed file permissions for gravis.cfg.
Reordered things in the Makefile.
PKGREVISION++
diffstat:
audio/eawpatches/Makefile | 26 ++++++++++++++------------
1 files changed, 14 insertions(+), 12 deletions(-)
diffs (47 lines):
diff -r b5ec7605f183 -r c7baf17cb339 audio/eawpatches/Makefile
--- a/audio/eawpatches/Makefile Mon Jan 08 21:12:31 2007 +0000
+++ b/audio/eawpatches/Makefile Mon Jan 08 21:34:57 2007 +0000
@@ -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_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"
Home |
Main Index |
Thread Index |
Old Index