summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant>2003-02-17 17:50:12 +0000
committergrant <grant>2003-02-17 17:50:12 +0000
commit6545a509b51495fb7a37e49a4097b2bdeb03369c (patch)
tree79ec779957d40d2bfee69c378780a4852204e427
parentbb16ee626f6527b84ede01d7e1e4ed51fc5b7efb (diff)
downloadpkgsrc-6545a509b51495fb7a37e49a4097b2bdeb03369c.tar.gz
use buildlink2 to correctly register dependency on apache.
-rw-r--r--www/ap-layout/Makefile6
-rw-r--r--www/ap-mp3/Makefile6
-rw-r--r--www/ap-throttle/Makefile4
3 files changed, 11 insertions, 5 deletions
diff --git a/www/ap-layout/Makefile b/www/ap-layout/Makefile
index 2e771acf00e..346fcd81a45 100644
--- a/www/ap-layout/Makefile
+++ b/www/ap-layout/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2003/02/17 17:35:22 grant Exp $
+# $NetBSD: Makefile,v 1.6 2003/02/17 17:50:12 grant Exp $
#
DISTNAME= mod_layout-3.2
@@ -11,11 +11,13 @@ MAINTAINER= grant@netbsd.org
HOMEPAGE= http://software.tangent.org/
COMMENT= Apache module to wrap static or dynamic content
-LAYOUT_DIR= ${PREFIX}/share/httpd/htdocs/manual/mod/mod_layout
+USE_BUILDLINK2= YES
APACHE_MODULE_NAME= mod_layout.so
APACHE_MODULE_SRC= *.c
+LAYOUT_DIR= ${PREFIX}/share/httpd/htdocs/manual/mod/mod_layout
+
post-install:
${INSTALL_DATA_DIR} ${LAYOUT_DIR}
${INSTALL_DATA} ${WRKSRC}/faq.html ${LAYOUT_DIR}
diff --git a/www/ap-mp3/Makefile b/www/ap-mp3/Makefile
index 2936b3d75ab..9cb422399b8 100644
--- a/www/ap-mp3/Makefile
+++ b/www/ap-mp3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2003/02/17 17:35:23 grant Exp $
+# $NetBSD: Makefile,v 1.5 2003/02/17 17:50:12 grant Exp $
#
DISTNAME= mod_mp3-0.35
@@ -11,7 +11,7 @@ MAINTAINER= grant@netbsd.org
HOMEPAGE= http://software.tangent.org/media/
COMMENT= apache module for streaming mp3 files
-DOC_DIR= ${PREFIX}/share/httpd/htdocs/manual/mod/mod_mp3
+USE_BUILDLINK2= YES
APACHE_MODULE_NAME= ${DISTNAME:C|-.*||}.so
APACHE_MODULE_SRCDIR= ${WRKSRC}/src
@@ -19,6 +19,8 @@ APACHE_MODULE_SRC= common.c directives.c encode.c ice.c id3.c
APACHE_MODULE_SRC+= internal_dispatch.c load.c log.c mod_mp3.c
APACHE_MODULE_SRC+= ogg.c shout.c utility.c
+DOC_DIR= ${PREFIX}/share/httpd/htdocs/manual/mod/mod_mp3
+
post-install:
${INSTALL_DATA_DIR} ${DOC_DIR}
${INSTALL_DATA} ${WRKSRC}/faq.html ${DOC_DIR}
diff --git a/www/ap-throttle/Makefile b/www/ap-throttle/Makefile
index 49701e923c5..5823205eb8c 100644
--- a/www/ap-throttle/Makefile
+++ b/www/ap-throttle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2003/02/17 17:35:23 grant Exp $
+# $NetBSD: Makefile,v 1.3 2003/02/17 17:50:12 grant Exp $
DISTNAME= mod_throttle312
PKGNAME= ap-throttle-3.1.2
@@ -10,6 +10,8 @@ MAINTAINER= eric@cirr.com
HOMEPAGE= ${MASTER_SITES}
COMMENT= Apache module for limiting bandwidth usage
+USE_BUILDLINK2= YES
+
WRKSRC= ${WRKDIR}/${PKGNAME:S/ap-/mod_/}
APACHE_MODULE_NAME= mod_throttle.so