freebsd-ports/www/swish++/Makefile
Adam Weinberger c62fe39354 Fix PORTCOMMENTs that were killing INDEX builds.
105 pointy hats to:	me
Approved by:		pat
2002-11-07 03:10:58 +00:00

39 lines
887 B
Makefile

# ex:ts=8
# Ports collection makefile for: swish++
# Date created: Jan 13, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= swish++
PORTVERSION= 5.11
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_REINPLACE= 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:
@${REINPLACE_CMD} -e '/^#error/d' ${WRKSRC}/config.h
.for file in searchd searchmonitor
@${REINPLACE_CMD} -e "s,%%PREFIX%%,${PREFIX},g" ${WRKSRC}/${file}.in
.endfor
post-install:
${INSTALL_SCRIPT} ${FILESDIR}/swish++.sh ${PREFIX}/etc/rc.d
.include <bsd.port.mk>