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++
|
2004-01-08 16:57:11 +01:00
|
|
|
PORTVERSION= 5.15.3
|
2004-02-04 06:10:27 +01:00
|
|
|
PORTREVISION= 1
|
2002-01-13 05:19:27 +01:00
|
|
|
CATEGORIES= www textproc
|
|
|
|
MASTER_SITES= http://homepage.mac.com/pauljlucas/software/
|
|
|
|
|
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
|
2002-07-22 03:36:13 +02:00
|
|
|
USE_REINPLACE= yes
|
2002-01-13 05:19:27 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
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
|
2002-01-13 05:19:27 +01:00
|
|
|
.for file in searchd 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:
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/swish++.sh ${PREFIX}/etc/rc.d
|
|
|
|
|
2004-02-11 09:37:06 +01:00
|
|
|
.include <bsd.port.mk>
|