1999-03-15 01:27:27 +00:00
|
|
|
# New ports collection makefile for: FreeWAIS-sf
|
1997-02-18 08:30:58 +00:00
|
|
|
# Date created: 19 November 1996
|
1998-02-20 18:39:58 +00:00
|
|
|
# Whom: Pedro Giffuni
|
1997-02-18 08:30:58 +00:00
|
|
|
#
|
1999-08-30 14:24:37 +00:00
|
|
|
# $FreeBSD$
|
1997-02-18 08:30:58 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= freewais-sf
|
|
|
|
PORTVERSION= 2.2.13
|
1997-02-18 08:30:58 +00:00
|
|
|
CATEGORIES= net databases
|
1999-10-10 23:44:52 +00:00
|
|
|
MASTER_SITES= ftp://ls6-ftp.cs.uni-dortmund.de/pub/src/freeWAIS-sf/
|
2000-04-09 18:14:07 +00:00
|
|
|
DISTNAME= freeWAIS-sf-2.2.13
|
1997-02-18 08:30:58 +00:00
|
|
|
|
1999-03-15 01:27:27 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1997-02-18 08:30:58 +00:00
|
|
|
|
1999-03-15 01:27:27 +00:00
|
|
|
HAS_CONFIGURE= yes
|
1999-10-10 23:44:52 +00:00
|
|
|
CONFIGURE_SCRIPT= Configure
|
|
|
|
CONFIGURE_ARGS= < ${WRKDIR}/configure.ans
|
1999-03-15 01:27:27 +00:00
|
|
|
INSTALL_TARGET= install install.man
|
|
|
|
|
1997-02-18 08:30:58 +00:00
|
|
|
MAN1= catalog.1 dictionary.1 inverted_file.1 makedb.1 mkfmt.1 waisindex.1 \
|
1999-10-10 23:44:52 +00:00
|
|
|
waisq.1 waissearch.1 waisserver.1 xwais.1 xwaisq.1
|
|
|
|
MAN3= ftw.3 regexp.3 scandir.3
|
1997-02-18 08:30:58 +00:00
|
|
|
|
1999-06-09 00:13:13 +00:00
|
|
|
pre-configure:
|
1999-10-10 23:44:52 +00:00
|
|
|
@${SED} -e "s:%%CC%%:${CC}:g" \
|
|
|
|
-e "s:%%CFLAGS%%:${CFLAGS}:g" \
|
|
|
|
${FILESDIR}/configure.ans.skel > ${WRKDIR}/configure.ans
|
1999-06-09 00:13:13 +00:00
|
|
|
|
1999-10-10 23:44:52 +00:00
|
|
|
post-configure:
|
2000-03-21 01:50:08 +00:00
|
|
|
@find ${WRKSRC} -type f | \
|
|
|
|
xargs ${PERL} -pi -e "s|%%PREFIX%%|${PREFIX}|g"
|
1999-03-15 01:27:27 +00:00
|
|
|
|
1997-02-18 08:30:58 +00:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
1999-10-10 23:44:52 +00:00
|
|
|
@${MKDIR} ${PREFIX}/share/doc/SF
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/SF/fwsf.ps ${PREFIX}/share/doc/SF
|
1997-02-18 08:30:58 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|