summaryrefslogtreecommitdiff
path: root/www/ap-mp3
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-20 14:58:44 +0000
committerjoerg <joerg>2010-02-20 14:58:44 +0000
commit840e4827fabcbe53ad236ea66870bb0a1f623235 (patch)
tree6e0424dcd7356d3f000cc298d0c68ca14ee350cc /www/ap-mp3
parentf3475c3668daed3074e983fb8baa3352f34f4d94 (diff)
downloadpkgsrc-840e4827fabcbe53ad236ea66870bb0a1f623235.tar.gz
DESTDIR support for various Apache modules.
Diffstat (limited to 'www/ap-mp3')
-rw-r--r--www/ap-mp3/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/ap-mp3/Makefile b/www/ap-mp3/Makefile
index e30fa51f520..147e6e1d05d 100644
--- a/www/ap-mp3/Makefile
+++ b/www/ap-mp3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2008/08/23 07:47:00 obache Exp $
+# $NetBSD: Makefile,v 1.16 2010/02/20 14:58:45 joerg Exp $
#
DISTNAME= mod_mp3-0.35
@@ -10,6 +10,8 @@ MAINTAINER= grant@NetBSD.org
HOMEPAGE= http://tangent.org/index.pl?lastnode_id=478&node_id=380
COMMENT= Apache module for streaming mp3 files
+PKG_DESTDIR_SUPPORT= user-destdir
+
CONFLICTS= ap-mp3-[0-9]*
APACHE_MODULE_NAME= ${DISTNAME:C|-.*||}.so
@@ -20,9 +22,10 @@ APACHE_MODULE_SRC+= ogg.c shout.c utility.c
DOC_DIR= ${PREFIX}/share/httpd/htdocs/manual/mod/mod_mp3
+INSTALLATION_DIRS+= ${DOC_DIR}
+
post-install:
- ${INSTALL_DATA_DIR} ${DOC_DIR}
- ${INSTALL_DATA} ${WRKSRC}/faq.html ${DOC_DIR}
+ ${INSTALL_DATA} ${WRKSRC}/faq.html ${DESTDIR}${DOC_DIR}
.include "../../www/apache/module.mk"
.include "../../mk/bsd.pkg.mk"