summaryrefslogtreecommitdiff
path: root/audio/libmad/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg>2006-11-05 17:06:43 +0000
committerjoerg <joerg>2006-11-05 17:06:43 +0000
commit41b5ea6a71f177b413d7cd358f0b3f55d18985e1 (patch)
tree70a6fae62ebc2a27f975798423c758d6cff61075 /audio/libmad/Makefile
parent4bfb42fbd04c1afcd2564a85de1ef54fd41b7678 (diff)
downloadpkgsrc-41b5ea6a71f177b413d7cd358f0b3f55d18985e1.tar.gz
DESTDIR support.
Diffstat (limited to 'audio/libmad/Makefile')
-rw-r--r--audio/libmad/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/audio/libmad/Makefile b/audio/libmad/Makefile
index ba889893b9f..72ca9e5620f 100644
--- a/audio/libmad/Makefile
+++ b/audio/libmad/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2005/12/05 20:49:48 rillig Exp $
+# $NetBSD: Makefile,v 1.15 2006/11/05 17:14:20 joerg Exp $
#
DISTNAME= libmad-0.15.1b
@@ -14,6 +14,7 @@ COMMENT= High-quality MPEG audio decoder
CONFLICTS= mad<0.15
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
@@ -30,6 +31,6 @@ post-build:
< ${FILESDIR}/mad.pc.in > ${WRKDIR}/mad.pc
post-install:
- ${INSTALL_DATA} ${WRKDIR}/mad.pc ${PREFIX}/lib/pkgconfig
+ ${INSTALL_DATA} ${WRKDIR}/mad.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
.include "../../mk/bsd.pkg.mk"