summaryrefslogtreecommitdiff
path: root/misc/fd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/fd/Makefile')
-rw-r--r--misc/fd/Makefile41
1 files changed, 21 insertions, 20 deletions
diff --git a/misc/fd/Makefile b/misc/fd/Makefile
index 9915ac98b5e..7b7cf9e768f 100644
--- a/misc/fd/Makefile
+++ b/misc/fd/Makefile
@@ -1,31 +1,32 @@
-# $NetBSD: Makefile,v 1.7 1999/03/08 10:53:57 agc Exp $
-# FreeBSD Id: Makefile,v 1.5 1997/01/06 06:38:33 max Exp
+# $NetBSD: Makefile,v 1.8 1999/12/03 16:23:17 rh Exp $
+# FreeBSD: ports/misc/fd/Makefile,v 1.14 1999/08/25 07:21:37 obrien Exp
#
-DISTNAME= FD-1.01
-PKGNAME= fd-1.01h
+DISTNAME= FD-1.03l
+PKGNAME= fd-1.03l
CATEGORIES= misc
-# The original distribution (NetNews articles) can be found at following site.
-# site= ftp://skylark.ics.es.osaka-u.ac.jp/pub/FDclone/
-# files= FD-1.01 FD-1.01g FD-1.01h
-# Here ,we use already decoded archive for convenience.
-MASTER_SITES= ftp://ftp.hipecs.hokudai.ac.jp/pub/unix/FD/ \
- ftp://ftp.cc.saga-u.ac.jp/pub/fj.sources/FD/
-
-PATCH_SITES= ${MASTER_SITES}
-PATCHFILES= FD-1.01g.patch.gz FD-1.01h.patch.gz
+MASTER_SITES= ftp://ftp.ics.es.osaka-u.ac.jp/pub/FDclone/
MAINTAINER= nobu@psrc.isac.co.jp
-ALL_TARGET= goal
-INSTALL_TARGET= install
+MANLANG= ja
+MAN1= fd.1
+MAKE_ENV= LANG=${MANLANG}
+DOCS= README FAQ HISTORY ToAdmin
+SIGNATURE= Nobuhiro Yasutomi <${MAINTAINER}>
+# require maintainer signature for binary package distributions
do-configure:
- cd ${WRKSRC} ; ${MAKE} config
+ @cd ${WRKSRC}; v=version.h; ${MV} $$v $$v.orig; \
+ ${SED} 's/\(distributor = \)NULL/\1"${SIGNATURE}"/' $$v.orig > $$v
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/fd ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/fd.1 ${PREFIX}/man/ja_JP.EUC/man1
- ${INSTALL_DATA} ${WRKSRC}/.fdrc ${PREFIX}/etc/fdrc
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/fd
+ @for i in $(DOCS); do \
+ ${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/fd; \
+ done
+.endif
+ @${CAT} ${PKGDIR}/MESSAGE
.include "../../mk/bsd.pkg.mk"