1998-08-09 00:28:23 +00:00
|
|
|
# New ports collection makefile for: Xitami HTTP Server
|
|
|
|
# Date created: 15 Oct 1997
|
|
|
|
# Whom: Ian Vaudrey <i.vaudrey@cableinet.co.uk>
|
|
|
|
#
|
1999-08-31 02:43:35 +00:00
|
|
|
# $FreeBSD$
|
1998-08-09 00:28:23 +00:00
|
|
|
#
|
|
|
|
|
2000-04-10 00:07:29 +00:00
|
|
|
PORTNAME= xitami
|
2001-02-26 05:00:12 +00:00
|
|
|
PORTVERSION= 2.4d7
|
1998-08-09 00:28:23 +00:00
|
|
|
CATEGORIES= www
|
2001-02-26 05:00:12 +00:00
|
|
|
MASTER_SITES= http://users.skynet.be/sky37432/
|
|
|
|
DISTNAME= suni24d7
|
1998-08-09 00:28:23 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2001-03-03 22:03:44 +00:00
|
|
|
MAINTAINER= bdluevel@heitec.net
|
2003-02-21 14:08:24 +00:00
|
|
|
COMMENT= A fast, portable multithreaded web server
|
1998-08-09 00:28:23 +00:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
|
|
|
|
do-build:
|
1999-08-22 19:01:07 +00:00
|
|
|
@${CHMOD} +x ${WRKSRC}/xibuild
|
1998-08-09 00:28:23 +00:00
|
|
|
@${SETENV} TOPDIR=${WRKSRC} ${SH} ${WRKSRC}/xibuild
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/xitami/cgi-bin
|
|
|
|
@${MKDIR} ${PREFIX}/xitami/webpages
|
|
|
|
@${CAT} ${FILESDIR}/defaults.cfg.tmpl | ${SED} s:PREFIX:${PREFIX}: > ${WRKDIR}/defaults.cfg
|
2001-02-26 05:00:12 +00:00
|
|
|
@${INSTALL_DATA} ${WRKDIR}/defaults.cfg ${PREFIX}/xitami/defaults.cfg.sample
|
1998-08-09 00:28:23 +00:00
|
|
|
@${INSTALL_DATA} ${FILESDIR}/xitami.aut ${PREFIX}/xitami
|
1999-08-22 19:01:07 +00:00
|
|
|
@${CHMOD} u+w ${PREFIX}/xitami/*
|
1998-08-09 00:28:23 +00:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/src/smt/xitami.cfg ${PREFIX}/xitami
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/smt/xitami ${PREFIX}/xitami
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/cgi-src/testcgi ${PREFIX}/xitami/cgi-bin
|
|
|
|
@${CAT} ${FILESDIR}/xitami.sh.tmpl | ${SED} s:PREFIX:${PREFIX}: > ${WRKDIR}/xitami.sh
|
2001-02-26 05:00:12 +00:00
|
|
|
@${INSTALL_SCRIPT} ${WRKDIR}/xitami.sh ${PREFIX}/etc/rc.d/xitami.sh.sample
|
1998-08-09 00:28:23 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/xitami/html
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/webpages/xitami/* ${PREFIX}/share/doc/xitami/html
|
2001-02-26 05:00:12 +00:00
|
|
|
@${INSTALL_MAN} ${FILESDIR}/default.html ${PREFIX}/xitami/webpages/default.html.sample
|
1998-08-09 00:28:23 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|