diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-13 04:19:27 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-01-13 04:19:27 +0000 |
commit | d5cd0b4a76977b279ea2383b345fc4a6a5366db5 (patch) | |
tree | 37d3e63809d211d21054b80f2d5d9c72fce42260 /www/swish++/Makefile | |
parent | 89c786c03b32dfb483249a94d85d2ec7068f8c13 (diff) |
add swish++ 5.6
Simple Web Indexing System for Humans: C++ version
Notes
Notes:
svn path=/head/; revision=53002
Diffstat (limited to 'www/swish++/Makefile')
-rw-r--r-- | www/swish++/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/www/swish++/Makefile b/www/swish++/Makefile new file mode 100644 index 000000000000..550b165519f2 --- /dev/null +++ b/www/swish++/Makefile @@ -0,0 +1,40 @@ +# ex:ts=8 +# Ports collection makefile for: swish++ +# Date created: Jan 13, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= swish++ +PORTVERSION= 5.6 +CATEGORIES= www textproc +MASTER_SITES= http://homepage.mac.com/pauljlucas/software/ + +MAINTAINER= ports@FreeBSD.org + +RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget + +USE_PERL5= yes +USE_GMAKE= yes +MAKEFILE= GNUmakefile +MAKE_ENV= PTHREAD_LIB=${PTHREAD_LIBS} \ + PERL=${PERL} PERL_VER=${PERL_VER} + +MAN1= extract.1 httpindex.1 index.1 search.1 splitmail.1 +MAN3= WWW.3 +MAN4= swish++.conf.4 swish++.index.4 +MAN8= searchd.8 searchmonitor.8 + +post-patch: + @(cd ${WRKSRC} ; \ + ${SED} '/^#error/d' config.h > config.h.tmp ; \ + ${MV} -f config.h.tmp config.h) +.for file in searchd searchmonitor + @${PERL} -pi -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/${file} +.endfor + +post-install: + ${INSTALL_SCRIPT} ${FILESDIR}/swish++.sh ${PREFIX}/etc/rc.d + +.include <bsd.port.mk> |