aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorglarkin <glarkin@FreeBSD.org>2008-09-02 20:54:32 +0800
committerglarkin <glarkin@FreeBSD.org>2008-09-02 20:54:32 +0800
commita952cad1e55379f49539d164640ffea8730539fd (patch)
tree7bbaea680558b5e21179eb22da7fb20006ce3f13 /www
parent3efade23639666cf8ca16a0e8e4cf8f3fe6e0f01 (diff)
downloadfreebsd-ports-gnome-a952cad1e55379f49539d164640ffea8730539fd.tar.gz
freebsd-ports-gnome-a952cad1e55379f49539d164640ffea8730539fd.tar.zst
freebsd-ports-gnome-a952cad1e55379f49539d164640ffea8730539fd.zip
- Added a check to make sure that Apache 1.3.x is used instead
of any version of Apache. At the moment, www/slash only works with mod_perl 1.0 and Apache 1.3.x. - Take maintainership. Submitted by: Guoqin Ren <renguoqin at gmail dot com> (via freebsd-ports@) Approved by: beech (mentor, implicit)
Diffstat (limited to 'www')
-rw-r--r--www/slash/Makefile11
-rw-r--r--www/slash/files/pkg-message.in (renamed from www/slash/pkg-message)0
2 files changed, 7 insertions, 4 deletions
diff --git a/www/slash/Makefile b/www/slash/Makefile
index 8ecbf991df03..8674a6a96331 100644
--- a/www/slash/Makefile
+++ b/www/slash/Makefile
@@ -7,13 +7,13 @@
PORTNAME= slash
PORTVERSION= 2.2.6
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITES= SF
MASTER_SITE_SUBDIR= slashcode
DISTNAME= slash-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= glarkin@FreeBSD.org
COMMENT= Slash-Like Automatic Storytelling Homepage system
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql \
@@ -23,6 +23,9 @@ RUN_DEPENDS= ${BUILD_DEPENDS} \
${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
USE_PERL5= yes
+USE_APACHE= 13
+
+SUB_FILES+= pkg-message
MAKE_ARGS+= SLASH_PREFIX=${PREFIX}/slash
@@ -48,6 +51,6 @@ MAN3= FZ.3 Slash.3 Slash::Apache.3 Slash::Apache::Banlist.3 \
post-install:
@${FIND} ${PREFIX}/slash -name "*.orig" -delete
- @${SED} s!%%LOCALBASE%%!${LOCALBASE}!g ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/www/slash/pkg-message b/www/slash/files/pkg-message.in
index 04a9298e931a..04a9298e931a 100644
--- a/www/slash/pkg-message
+++ b/www/slash/files/pkg-message.in