aboutsummaryrefslogtreecommitdiffstats
path: root/math/slsc/distinfo
blob: c657643531b2476eb6fa73574c2ab58d95f471d8 (plain) (blame)
1
2
MD5 (slsc.tar.gz) = c12c1a0d4f783517965fee6258720014
SIZE (slsc.tar.gz) = 90348
#n14'>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 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
# New ports collection makefile for:    pike
# Date created:     15 May 2004
# Whom:         kiwi@oav.net
#
# $FreeBSD$
#

PORTNAME=   caudium12
PORTVERSION=    1.2.34
CATEGORIES= www
MASTER_SITES=   ftp://ftp.caudium.net/caudium/source/ \
        ftp://ftp.us.caudium.net/pub/caudium/source/ \
        ftp://ftp.oav.net/caudium/source/old/ \
        ftp://ftp.us.caudium.net/pub/caudium/source/
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/
LIB_DEPENDS=    sablot.70:${PORTSDIR}/textproc/sablotron/
RUN_DEPENDS=    lsof:${PORTSDIR}/sysutils/lsof/
DEPENDS=    ${PORTSDIR}/lang/pexts/

WRKSRC=     ${WRKDIR}/${DISTNAME}

PIKEVERSION=    7.2.570

# bash:${PORTSDIR}/shells/bash2/
#SH=        ${PREFIX}/bin/bash
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=    --without-debug --with-PiXSL --prefix=${PREFIX} \
         --with-pike=${LOCALBASE}/pike/${PIKEVERSION}/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>