aboutsummaryrefslogtreecommitdiff
path: root/net/freewais-sf
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-02-21 15:58:31 +0000
committerClement Laforet <clement@FreeBSD.org>2004-02-21 15:58:31 +0000
commit0fe0dc5577969eba42d2fce189054b0c26e37d2e (patch)
treece3d55590968c832dcbf4eebb32ed4c6715119aa /net/freewais-sf
parent591bddf467d8a98002cdd69a9d72ef57103eb382 (diff)
downloadports-0fe0dc5577969eba42d2fce189054b0c26e37d2e.tar.gz
ports-0fe0dc5577969eba42d2fce189054b0c26e37d2e.zip
Notes
Diffstat (limited to 'net/freewais-sf')
-rw-r--r--net/freewais-sf/Makefile9
-rw-r--r--net/freewais-sf/files/patch-ai21
-rw-r--r--net/freewais-sf/pkg-plist2
3 files changed, 24 insertions, 8 deletions
diff --git a/net/freewais-sf/Makefile b/net/freewais-sf/Makefile
index 0139c4059f7a..07702d805300 100644
--- a/net/freewais-sf/Makefile
+++ b/net/freewais-sf/Makefile
@@ -24,23 +24,20 @@ CONFIGURE_ARGS= -sde -Dprefix="${PREFIX}" \
-Darchname="${MACHINE_ARCH}-freebsd"
INSTALL_TARGET= install install.man
+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
.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500035
-BROKEN= "Does not compile on 5.0"
-.endif
-
post-extract:
${CP} ${FILESDIR}/freebsd.sh ${WRKSRC}/hints
post-install:
.if !defined(NOPORTDOCS)
- @${MKDIR} ${PREFIX}/share/doc/SF
- ${INSTALL_DATA} ${WRKSRC}/doc/SF/fwsf.ps ${PREFIX}/share/doc/SF
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/SF/${PORTDOCS} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
diff --git a/net/freewais-sf/files/patch-ai b/net/freewais-sf/files/patch-ai
new file mode 100644
index 000000000000..3441fca7ddc5
--- /dev/null
+++ b/net/freewais-sf/files/patch-ai
@@ -0,0 +1,21 @@
+--- confmagic.h.orig Sat Feb 14 11:58:57 2004
++++ confmagic.h Sat Feb 14 11:59:07 2004
+@@ -12,18 +12,6 @@
+ #ifndef _confmagic_h_
+ #define _confmagic_h_
+
+-#ifndef HAS_BCOPY
+-#ifndef bcopy
+-#define bcopy(s,d,l) memcpy((d),(s),(l))
+-#endif
+-#endif
+-
+-#ifndef HAS_BZERO
+-#ifndef bzero
+-#define bzero(s,l) memset((s),0,(l))
+-#endif
+-#endif
+-
+ #ifndef HAS_INDEX
+ #ifndef index
+ #define index strchr
diff --git a/net/freewais-sf/pkg-plist b/net/freewais-sf/pkg-plist
index 6641df49b06a..8bcd07d133da 100644
--- a/net/freewais-sf/pkg-plist
+++ b/net/freewais-sf/pkg-plist
@@ -24,8 +24,6 @@ bin/ws
include/freeWAIS-sf/wais.h
lib/freeWAIS-sf/emacs/lisp/wais.el
lib/freeWAIS-sf/libwais.a
-%%PORTDOCS%%share/doc/SF/fwsf.ps
-%%PORTDOCS%%@dirrm share/doc/SF
@dirrm lib/freeWAIS-sf/emacs/lisp
@dirrm lib/freeWAIS-sf/emacs
@dirrm lib/freeWAIS-sf