aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-07-28 17:22:46 +0800
committerdanfe <danfe@FreeBSD.org>2013-07-28 17:22:46 +0800
commit92d8451007a3b28886c512060a5e7d97e7393bf4 (patch)
tree36fb6401bdd34ccc2c29b896131236b423fc7f81 /net
parent91ce44420b8b32a81751944afa843b2458f60d87 (diff)
downloadfreebsd-ports-gnome-92d8451007a3b28886c512060a5e7d97e7393bf4.tar.gz
freebsd-ports-gnome-92d8451007a3b28886c512060a5e7d97e7393bf4.tar.zst
freebsd-ports-gnome-92d8451007a3b28886c512060a5e7d97e7393bf4.zip
- Tighten Makefile header and COMMENT
- Unbreak parallel (-jX) and Clang builds - Convert NOPORTDOCS -> PORT_OPTIONS:MDOCS - Fix bogus double spaces in pkg-descr Reported by: pointyhat-west
Diffstat (limited to 'net')
-rw-r--r--net/freewais-sf/Makefile25
-rw-r--r--net/freewais-sf/pkg-descr6
2 files changed, 18 insertions, 13 deletions
diff --git a/net/freewais-sf/Makefile b/net/freewais-sf/Makefile
index e78faaea38ed..2efa41e0b085 100644
--- a/net/freewais-sf/Makefile
+++ b/net/freewais-sf/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: FreeWAIS-sf
-# Date created: 19 November 1996
-# Whom: Pedro Giffuni
-#
+# Created by: Pedro Giffuni <pgiffuni@fps.biblos.unal.edu.co>
# $FreeBSD$
-#
PORTNAME= freewais-sf
PORTVERSION= 2.2.14
@@ -14,7 +10,7 @@ MASTER_SITES= ftp://ftp.ntua.gr/pub/net/freewais/ \
DISTNAME= freeWAIS-sf-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
-COMMENT= An enhanced Wide Area Information Server
+COMMENT= Enhanced Wide Area Information Server
HAS_CONFIGURE= yes
USE_PERL5_BUILD=yes
@@ -24,10 +20,14 @@ CONFIGURE_ARGS= -sde -Dprefix="${PREFIX}" \
-Darchname="${MACHINE_ARCH}-freebsd"
INSTALL_TARGET= install install.man
+CFLAGS+= -Wno-return-type # to pacify Clang
+
PORTDOCS= fwsf.ps
-MAN1= catalog.1 dictionary.1 inverted_file.1 mkfmt.1 waisindex.1 \
- waisq.1 waissearch.1 waisserver.1 xwais.1 xwaisq.1
-MAN3= ftw.3 regexp.3 scandir.3
+MAN1= catalog.1 dictionary.1 inverted_file.1 mkfmt.1 waisindex.1 \
+ waisq.1 waissearch.1 waisserver.1 xwais.1 xwaisq.1
+MAN3= ftw.3 regexp.3 scandir.3
+
+OPTIONS_DEFINE= DOCS
.include <bsd.port.pre.mk>
@@ -38,8 +38,13 @@ BROKEN= Does not install on powerpc: drops core
post-extract:
${CP} ${FILESDIR}/freebsd.sh ${WRKSRC}/hints
+# Try to fix parallel builds (-jX)
+post-patch:
+ @${REINPLACE_CMD} -e '/$$(RM) $$@/,+1d' \
+ ${WRKSRC}/lib/ctype/Makefile.SH
+
post-install:
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/SF/${PORTDOCS} ${DOCSDIR}
.endif
diff --git a/net/freewais-sf/pkg-descr b/net/freewais-sf/pkg-descr
index 51722754154d..093ff39c59c0 100644
--- a/net/freewais-sf/pkg-descr
+++ b/net/freewais-sf/pkg-descr
@@ -1,7 +1,7 @@
FreeWAIS-sf is an extension of the freeWAIS software provided by the
-Clearinghouse for Networked Information Discovery and Retrieval (CNIDR).
-The SF suffix in the software name stands for "structured fields," an
-indexing and search feature which distinguishes this software from its
+Clearinghouse for Networked Information Discovery and Retrieval (CNIDR).
+The SF suffix in the software name stands for "structured fields," an
+indexing and search feature which distinguishes this software from its
predecessors.
For Year 2000 problems, you may try the patches at