diff options
author | abs <abs@pkgsrc.org> | 2009-12-17 22:04:17 +0000 |
---|---|---|
committer | abs <abs@pkgsrc.org> | 2009-12-17 22:04:17 +0000 |
commit | b7501f69e3bede9c2df5f36d16b2ea5e66d8797f (patch) | |
tree | c94188364c5c54407550a64dbb62b03a21a2f055 /audio | |
parent | 84e31f653d9487d5e5a2246e954984ec6cb7b5dd (diff) | |
download | pkgsrc-b7501f69e3bede9c2df5f36d16b2ea5e66d8797f.tar.gz |
+PKG_DESTDIR_SUPPORT
Diffstat (limited to 'audio')
-rw-r--r-- | audio/wmmp3/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/wmmp3/Makefile b/audio/wmmp3/Makefile index 094b3e49b4c..630f91a6617 100644 --- a/audio/wmmp3/Makefile +++ b/audio/wmmp3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2007/03/24 19:21:19 joerg Exp $ +# $NetBSD: Makefile,v 1.16 2009/12/17 22:04:17 abs Exp $ DISTNAME= wmmp3-0.12 PKGREVISION= 2 @@ -13,15 +13,17 @@ DEPENDS+= mpg123>=0.59.18:../../audio/mpg123 GNU_CONFIGURE= yes +PKG_DESTDIR_SUPPORT= user-destdir INSTALLATION_DIRS= share/examples post-patch: ${MV} ${WRKSRC}/sample.wmmp3 ${WRKSRC}/sample.wmmp3.orig - ${SED} -e 's:/usr/local:'${LOCALBASE}':g' \ + ${SED} -e 's:/usr/local:'${PREFIX}':g' \ ${WRKSRC}/sample.wmmp3.orig > ${WRKSRC}/sample.wmmp3 post-install: - ${INSTALL_DATA} ${WRKSRC}/sample.wmmp3 ${PREFIX}/share/examples + ${INSTALL_DATA} ${WRKSRC}/sample.wmmp3 \ + ${DESTDIR}${PREFIX}/share/examples .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libXpm/buildlink3.mk" |