summaryrefslogtreecommitdiff
path: root/audio/libaudiofile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-05 17:06:43 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-05 17:06:43 +0000
commit5dfaaf310b1ff0153e44057c03786c526d867998 (patch)
tree70a6fae62ebc2a27f975798423c758d6cff61075 /audio/libaudiofile
parent34ab94198021467642fe8dd956512d328b14141d (diff)
downloadpkgsrc-5dfaaf310b1ff0153e44057c03786c526d867998.tar.gz
DESTDIR support.
Diffstat (limited to 'audio/libaudiofile')
-rw-r--r--audio/libaudiofile/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/libaudiofile/Makefile b/audio/libaudiofile/Makefile
index 579beda95eb..7aaf942ebe3 100644
--- a/audio/libaudiofile/Makefile
+++ b/audio/libaudiofile/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2005/04/11 21:44:53 tv Exp $
+# $NetBSD: Makefile,v 1.40 2006/11/05 17:14:19 joerg Exp $
DISTNAME= audiofile-0.2.6
PKGNAME= lib${DISTNAME}
@@ -13,6 +13,7 @@ HOMEPAGE= http://andromeda.68k.org/~michael/audiofile/
COMMENT= Sound library for SGI audio file
PKG_INSTALLATION_TYPES= overwrite pkgviews
+PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= YES
USE_LIBTOOL= YES
@@ -20,8 +21,9 @@ PKGCONFIG_OVERRIDE= audiofile.pc.in
DOCDIR= ${PREFIX}/share/doc/libaudiofile
+INSTALLATION_DIRS= ${DOCDIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- cd ${WRKSRC}/docs; ${INSTALL_DATA} af* sf* ${DOCDIR}
+ cd ${WRKSRC}/docs; ${INSTALL_DATA} af* sf* ${DESTDIR}${DOCDIR}
.include "../../mk/bsd.pkg.mk"