summaryrefslogtreecommitdiff
path: root/www/slash/Makefile
diff options
context:
space:
mode:
authorDmitry Sivachenko <demon@FreeBSD.org>2003-10-19 08:33:39 +0000
committerDmitry Sivachenko <demon@FreeBSD.org>2003-10-19 08:33:39 +0000
commit35ee82db50e058c12bf537cffc3f66e207b5b9d4 (patch)
tree3c01d2db234797b6ba6214879f338a74d144db95 /www/slash/Makefile
parentRespect CC and CFLAGS (diff)
Revive www/slash port.
Slash -- Slashdot Like Automated Storytelling Homepage -- is the code that runs Slashdot. PR: 57199 Submitted by: Autrijus Tang <autrijus@autrijus.org>
Notes
Notes: svn path=/head/; revision=91628
Diffstat (limited to 'www/slash/Makefile')
-rw-r--r--www/slash/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/www/slash/Makefile b/www/slash/Makefile
new file mode 100644
index 000000000000..9d9eb35eb1a7
--- /dev/null
+++ b/www/slash/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: slash
+# Date created: 18 March 2002
+# Whom: Autrijus Tang
+#
+# $FreeBSD$
+#
+
+PORTNAME= slash
+PORTVERSION= 2.2.6
+CATEGORIES= www
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= slashcode
+DISTNAME= slash-${PORTVERSION}
+
+MAINTAINER= autrijus@autrijus.org
+COMMENT= Slash-Like Automatic Storytelling Homepage system
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/safe_mysqld:${PORTSDIR}/databases/mysql323-server \
+ ${SITE_PERL}/Bundle/Slash.pm:${PORTSDIR}/www/p5-Bundle-Slash
+RUN_DEPENDS= ${BUILD_DEPENDS} \
+ ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl
+
+DOCS= README INSTALL
+
+post-install:
+ @${SED} s!%%LOCALBASE%%!${LOCALBASE}!g ${PKGMESSAGE}
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500601
+BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
+
+.include <bsd.port.post.mk>