diff options
author | abs <abs> | 2009-12-17 22:04:17 +0000 |
---|---|---|
committer | abs <abs> | 2009-12-17 22:04:17 +0000 |
commit | 16b601c8a5dab66576426cf016ab26bf3155a2a7 (patch) | |
tree | c94188364c5c54407550a64dbb62b03a21a2f055 /audio/wmmp3 | |
parent | 59eff97073a79ff7c4437a5171e2cd121dc5ce59 (diff) | |
download | pkgsrc-16b601c8a5dab66576426cf016ab26bf3155a2a7.tar.gz |
+PKG_DESTDIR_SUPPORT
Diffstat (limited to 'audio/wmmp3')
-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" |