pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/wmmp3 +PKG_DESTDIR_SUPPORT
details: https://anonhg.NetBSD.org/pkgsrc/rev/f0315e128662
branches: trunk
changeset: 568763:f0315e128662
user: abs <abs%pkgsrc.org@localhost>
date: Thu Dec 17 22:04:17 2009 +0000
description:
+PKG_DESTDIR_SUPPORT
diffstat:
audio/wmmp3/Makefile | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r 5d44bcc0a60f -r f0315e128662 audio/wmmp3/Makefile
--- a/audio/wmmp3/Makefile Thu Dec 17 21:56:22 2009 +0000
+++ b/audio/wmmp3/Makefile Thu Dec 17 22:04:17 2009 +0000
@@ -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 @@
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"
Home |
Main Index |
Thread Index |
Old Index