aboutsummaryrefslogtreecommitdiff
path: root/www/mod_v2h/Makefile
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-01-17 07:19:34 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-01-17 07:19:34 +0000
commit86a8822091f7ce95cbc64b9132f73c6bde2c4a0c (patch)
treebfa476f91b3855920de4d6bfded9a829c0ec53ef /www/mod_v2h/Makefile
parent82449fb131060e619560304682eb8663d17eadc6 (diff)
downloadports-86a8822091f7ce95cbc64b9132f73c6bde2c4a0c.tar.gz
ports-86a8822091f7ce95cbc64b9132f73c6bde2c4a0c.zip
Notes
Diffstat (limited to 'www/mod_v2h/Makefile')
-rw-r--r--www/mod_v2h/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/www/mod_v2h/Makefile b/www/mod_v2h/Makefile
new file mode 100644
index 000000000000..72c1787fb159
--- /dev/null
+++ b/www/mod_v2h/Makefile
@@ -0,0 +1,44 @@
+# ports collection makefile for: mod_v2h
+# Date created: 6th May 2002
+# Whom: hikari-chan
+#
+# $FreeBSD$
+#
+
+PORTNAME= mod_v2h
+PORTVERSION= 2.0
+CATEGORIES= www
+MASTER_SITES= http://www.fractal.net/files/
+DISTNAME= mod_v2h
+
+MAINTAINER= hikari@hikari.org.uk
+
+BUILD_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache2 \
+ ${LOCALBASE}/lib/mysql/libmysqlclient.so:${PORTSDIR}/databases/mysql323-client
+RUN_DEPENDS= ${LOCALBASE}/sbin/httpd:${PORTSDIR}/www/apache2 \
+ ${LOCALBASE}/lib/mysql/libmysqlclient.so:${PORTSDIR}/databases/mysql323-client
+
+WRKSRC= ${WRKDIR}/$(DISTNAME)-2
+USE_REINPLACE= yes
+USE_PERL5_RUN= yes
+
+post-patch:
+ ${CP} ${FILESDIR}/add-module ${WRKSRC}
+ ${CP} ${FILESDIR}/files-Makefile ${WRKSRC}/Makefile
+ ${REINPLACE_CMD} \
+ -e 's,@@PERL@@,${PERL},g' \
+ -e 's,@@LOCAL@@,${LOCALBASE},g' \
+ ${WRKSRC}/Makefile ${WRKSRC}/add-module
+
+post-install:
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "===> Stripping ${LOCALBASE}/libexec/apache2/mod_v2h.so"
+ @${STRIP_CMD} ${LOCALBASE}/libexec/apache2/mod_v2h.so
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} "---------------------------------------"
+ @${ECHO_MSG} "Remember to check the documentation on:"
+ @${ECHO_MSG} "http://www.fractal.net/mod_v2h.tm"
+ @${ECHO_MSG} "---------------------------------------"
+ @${ECHO_MSG} ""
+
+.include <bsd.port.mk>