summaryrefslogtreecommitdiff
path: root/audio/libao
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-11-02 17:59:37 +0000
committerjoerg <joerg@pkgsrc.org>2006-11-02 17:59:37 +0000
commit2102a055adffd47c5968002068e9f1827b14e15e (patch)
treebf98a947b9317d506539cf3bb1a6aee497b8bb5f /audio/libao
parent29c1255e82e84bcc71b1f45e385207db68721c64 (diff)
downloadpkgsrc-2102a055adffd47c5968002068e9f1827b14e15e.tar.gz
DESTDIR support.
Diffstat (limited to 'audio/libao')
-rw-r--r--audio/libao/Makefile4
-rw-r--r--audio/libao/Makefile.common4
2 files changed, 5 insertions, 3 deletions
diff --git a/audio/libao/Makefile b/audio/libao/Makefile
index 51548157102..f34d944c8f7 100644
--- a/audio/libao/Makefile
+++ b/audio/libao/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.30 2006/04/13 21:26:17 reed Exp $
+# $NetBSD: Makefile,v 1.31 2006/11/02 17:59:37 joerg Exp $
PKGREVISION= 4
@@ -7,6 +7,6 @@ PKG_INSTALLATION_TYPES= overwrite
.include "Makefile.common"
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/lib/ao/plugins-2
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/lib/ao/plugins-2
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/libao/Makefile.common b/audio/libao/Makefile.common
index 5d79f7acb30..28370077234 100644
--- a/audio/libao/Makefile.common
+++ b/audio/libao/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.26 2006/04/22 07:32:24 lukem Exp $
+# $NetBSD: Makefile.common,v 1.27 2006/11/02 17:59:37 joerg Exp $
DISTNAME= libao-0.8.6
CATEGORIES= audio devel
@@ -8,6 +8,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.xiph.org/ao/
COMMENT= Cross-platform audio library
+PKG_DESTDIR_SUPPORT= user-destdir
+
DISTINFO_FILE= ${.CURDIR}/../../audio/libao/distinfo
PATCHDIR= ${.CURDIR}/../../audio/libao/patches