blob: 8b02d5e599c9da79403223fb02810ef5a36b8da4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# New ports collection makefile for: pike
# Date created: 05 Sep 2001
# Whom: kiwi@oav.net
#
# $FreeBSD$
#
PORTNAME= caudium
PORTVERSION= 1.0.36
CATEGORIES= www
MASTER_SITES= ftp://ftp.oav.net/caudium/pre-dist/ \
ftp://ftp.caudium.net/caudium/pre-dist/
DISTNAME= caudium-${PORTVERSION}
MAINTAINER= kiwi@oav.net
BUILD_DEPENDS= pike:${PORTSDIR}/lang/pike70cvs/
LIB_DEPENDS= sablot.66:${PORTSDIR}/textproc/sablotron/
WRKSRC= ${WRKDIR}/${DISTNAME}/
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --without-debug --with-PiXSL
USE_GMAKE= yes
pre-configure:
@${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:
@${INSTALL_SCRIPT} ${WRKDIR}/caudium.sh ${PREFIX}/etc/rc.d/caudium.sh.sample
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|