diff options
author | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-03-02 06:10:30 +0000 |
commit | 76ed4a57975c0d7c08dcc86ebda15457c3e83793 (patch) | |
tree | e69a307404c85a610aac593940553b400d40a654 /audio/gqmpeg-skins | |
parent | 5c458b597ca0742153b3a339088ba80f14b598ef (diff) | |
download | pkgsrc-76ed4a57975c0d7c08dcc86ebda15457c3e83793.tar.gz |
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'audio/gqmpeg-skins')
-rw-r--r-- | audio/gqmpeg-skins/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/gqmpeg-skins/Makefile b/audio/gqmpeg-skins/Makefile index 29f9446c923..369cda0cf17 100644 --- a/audio/gqmpeg-skins/Makefile +++ b/audio/gqmpeg-skins/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2006/10/17 21:45:14 rillig Exp $ +# $NetBSD: Makefile,v 1.16 2008/03/02 06:10:32 jlam Exp $ DISTNAME= gqmpeg-skins-20030712 PKGREVISION= 4 @@ -80,6 +80,8 @@ COMMENT= Skins for gqmpeg DEPENDS+= gqmpeg-[0-9]*:../../audio/gqmpeg +PKG_DESTDIR_SUPPORT= user-destdir + DIST_SUBDIR= gqmpeg-skins WRKSRC= ${WRKDIR} NO_BUILD= yes @@ -91,14 +93,14 @@ INSTALLATION_DIRS= share/gqmpeg/skins do-install: for i in ${DISTFILES} ; do \ ${ECHO} unpacking $$i ; \ - ${CAT} ${DISTDIR}/${DIST_SUBDIR}/$$i | ( cd ${PREFIX}/share/gqmpeg/skins ; \ + ${CAT} ${DISTDIR}/${DIST_SUBDIR}/$$i | ( cd ${DESTDIR}${PREFIX}/share/gqmpeg/skins ; \ ${GTAR} -zxf - ) ; \ done - ${FIND} ${PREFIX}/share/gqmpeg/skins -type d -print | \ + ${FIND} ${DESTDIR}${PREFIX}/share/gqmpeg/skins -type d -print | \ ${XARGS} ${CHMOD} 755 - ${FIND} ${PREFIX}/share/gqmpeg/skins -type f -print | \ + ${FIND} ${DESTDIR}${PREFIX}/share/gqmpeg/skins -type f -print | \ ${XARGS} ${CHMOD} 644 - ${FIND} ${PREFIX}/share/gqmpeg/skins -name "*~" -print | \ + ${FIND} ${DESTDIR}${PREFIX}/share/gqmpeg/skins -name "*~" -print | \ ${XARGS} ${RM} .include "../../mk/bsd.pkg.mk" |