2002-01-13 05:19:27 +01:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: swish++
|
|
|
|
# Date created: Jan 13, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= swish++
|
2006-10-31 11:50:31 +01:00
|
|
|
PORTVERSION= 6.1.4
|
2002-01-13 05:19:27 +01:00
|
|
|
CATEGORIES= www textproc
|
2006-10-31 11:50:31 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= swishplusplus
|
2002-01-13 05:19:27 +01:00
|
|
|
|
2002-08-30 14:34:57 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-20 20:21:36 +01:00
|
|
|
COMMENT= Simple Web Indexing System for Humans: C++ version
|
2002-01-13 05:19:27 +01:00
|
|
|
|
|
|
|
RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
|
|
|
|
|
|
|
|
USE_PERL5= yes
|
|
|
|
USE_GMAKE= yes
|
2006-10-31 11:50:31 +01:00
|
|
|
USE_GCC= 3.4+
|
2002-01-13 05:19:27 +01:00
|
|
|
MAKEFILE= GNUmakefile
|
2003-04-17 11:19:00 +02:00
|
|
|
MAKE_ENV= PTHREAD_LIBS=${PTHREAD_LIBS} \
|
2002-01-13 05:19:27 +01:00
|
|
|
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:
|
2002-07-22 03:36:13 +02:00
|
|
|
@${REINPLACE_CMD} -e '/^#error/d' ${WRKSRC}/config.h
|
2004-11-23 14:21:30 +01:00
|
|
|
.for file in scripts/searchd scripts/searchmonitor
|
2002-07-22 03:36:13 +02:00
|
|
|
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/${file}.in
|
2002-01-13 05:19:27 +01:00
|
|
|
.endfor
|
|
|
|
|
2004-02-11 09:37:06 +01:00
|
|
|
pre-install:
|
|
|
|
@${MKDIR} ${SITE_PERL}
|
|
|
|
|
2002-01-13 05:19:27 +01:00
|
|
|
post-install:
|
2004-11-23 14:21:30 +01:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/swish++.sh ${PREFIX}/etc/rc.d/swish++.sh.sample
|
2002-01-13 05:19:27 +01:00
|
|
|
|
2006-10-31 11:50:31 +01:00
|
|
|
.include <bsd.port.mk>
|