aboutsummaryrefslogtreecommitdiff
path: root/www/caudium14/Makefile
diff options
context:
space:
mode:
authorDaichi GOTO <daichi@FreeBSD.org>2003-06-18 06:06:04 +0000
committerDaichi GOTO <daichi@FreeBSD.org>2003-06-18 06:06:04 +0000
commit23ddca9aac1a10fcd4b1226c2a106bde11f46769 (patch)
treeaccfeef9f00be5b4148ab94a4031c7720d6f052e /www/caudium14/Makefile
parent3647a7d0e27c3f4bd1a1466659755770b7f4cb4e (diff)
downloadports-23ddca9aac1a10fcd4b1226c2a106bde11f46769.tar.gz
ports-23ddca9aac1a10fcd4b1226c2a106bde11f46769.zip
Notes
Diffstat (limited to 'www/caudium14/Makefile')
-rw-r--r--www/caudium14/Makefile61
1 files changed, 61 insertions, 0 deletions
diff --git a/www/caudium14/Makefile b/www/caudium14/Makefile
new file mode 100644
index 000000000000..58243439e951
--- /dev/null
+++ b/www/caudium14/Makefile
@@ -0,0 +1,61 @@
+# New ports collection makefile for: pike
+# Date created: 15 May 2004
+# Whom: kiwi@oav.net
+#
+# $FreeBSD$
+#
+
+PORTNAME= caudium12
+PORTVERSION= 1.2.26
+PORTREVISION= 0
+CATEGORIES= www
+MASTER_SITES= ftp://ftp.oav.net/caudium/source/ \
+ ftp://ftp.caudium.net/caudium/source/ \
+ ftp://ftp.oav.net/pkg_freebsd/distfiles/ \
+ http://grendel.firewall.com/caudium-pkg/ \
+ ftp://ftp.oav.net/caudium/source/old/ \
+ ftp://ftp.caudium.net/caudium/snapshot/1.2/
+DISTNAME= caudium-${PORTVERSION}
+
+MAINTAINER= kiwi@oav.net
+COMMENT= A free webserver which is based on the Roxen Challenger 1.3 code base
+
+BUILD_DEPENDS= pike:${PORTSDIR}/lang/pike72/ \
+ bash:${PORTSDIR}/shells/bash2/
+LIB_DEPENDS= sablot.70:${PORTSDIR}/textproc/sablotron/
+RUN_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof/
+DEPENDS= ${PORTSDIR}/lang/pexts/
+
+WRKSRC= ${WRKDIR}/${DISTNAME}
+
+PIKEVERSION= 7.2.492
+
+SH= ${PREFIX}/bin/bash
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --without-debug --with-PiXSL --prefix=${PREFIX} \
+ --with-pike=/usr/local/bin/pike
+
+USE_GMAKE= yes
+
+PLIST_SUB+= PIKEVERSION=${PIKEVERSION}
+
+pre-configure:
+ @${ECHO} ${CONFIGURE_ENV}
+ @${ECHO} ${CONFIGURE_ARGS}
+
+post-configure:
+ @cd ${WRKSRC}/src/cmods; \
+ (for a in Caudium PiXSL UltraLog;do cd $$a; ${SED} s/"INSTALL=..\/"/"INSTALL=\/usr\/bin\/install -c"/ Makefile > Makefile.tmp; ${MV} -f Makefile.tmp Makefile; cd ..; done)
+ @cd ${WRKSRC}/src/tools; ${SED} s/"INSTALL=..\/"/"INSTALL=\/usr\/bin\/install -c"/ Makefile > Makefile.tmp; ${MV} -f Makefile.tmp Makefile
+ @cd ${WRKSRC}/src/fast_cgi; ${SED} s/"INSTALL=..\/"/"INSTALL=\/usr\/bin\/install -c"/ Makefile > Makefile.tmp; ${MV} -f Makefile.tmp Makefile
+
+post-build:
+ @${SED} 's,@@PREFIX@@,${PREFIX},g' ${FILESDIR}/caudium.sh >${WRKDIR}/caudium.sh
+
+post-install:
+# @${RM} ${PREFIX}/caudium/server/base_server/caudium.pike.orig
+ @${CHOWN} -R www:www ${PREFIX}/caudium
+ @${INSTALL_SCRIPT} ${WRKDIR}/caudium.sh ${PREFIX}/etc/rc.d/caudium.sh.sample
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>