summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorheinz <heinz@pkgsrc.org>2007-07-01 15:57:16 +0000
committerheinz <heinz@pkgsrc.org>2007-07-01 15:57:16 +0000
commitf2efa7597bc5ecda5a03a8431994a1a0413b79c0 (patch)
treeee34e62be693d515036fcc9c9f2b1d9ce6dd369b /audio
parent6abdd1891509206fc7dc294d57e6ef3ac5a50107 (diff)
downloadpkgsrc-f2efa7597bc5ecda5a03a8431994a1a0413b79c0.tar.gz
Added support for installation to DESTDIR.
Diffstat (limited to 'audio')
-rw-r--r--audio/libid3tag/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/audio/libid3tag/Makefile b/audio/libid3tag/Makefile
index 7be03ac4568..8a3c2a97970 100644
--- a/audio/libid3tag/Makefile
+++ b/audio/libid3tag/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2007/06/08 18:34:38 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2007/07/01 15:57:16 heinz Exp $
#
DISTNAME= libid3tag-0.15.1b
@@ -10,10 +10,11 @@ MAINTAINER= simonb@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/mad/
COMMENT= ID3 tag library, part of MAD (MPEG Audio Decoder)
-CONFLICTS= mad<0.15
-
+PKG_DESTDIR_SUPPORT= user-destdir
PKG_INSTALLATION_TYPES= overwrite pkgviews
+CONFLICTS= mad<0.15
+
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
USE_TOOLS+= pkg-config
@@ -29,7 +30,7 @@ post-build:
< ${FILESDIR}/id3tag.pc.in > ${WRKDIR}/id3tag.pc
post-install:
- ${INSTALL_DATA} ${WRKDIR}/id3tag.pc ${PREFIX}/lib/pkgconfig
+ ${INSTALL_DATA} ${WRKDIR:Q}/id3tag.pc ${DESTDIR:Q}${PREFIX:Q}/lib/pkgconfig
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"