summaryrefslogtreecommitdiff
path: root/japanese/gn-gnspool/Makefile
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>1997-02-15 11:09:04 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>1997-02-15 11:09:04 +0000
commitd04c8e413f01a8893894c07aa23b6842143b4184 (patch)
tree1fe29b7d8d04a9ade9a0098691d8ff9ba63a8ac8 /japanese/gn-gnspool/Makefile
parentThe distfile changed. (diff)
New port:
gn & gnspool - simple newsreader and local spooling support. Submitted by: Kiroh HARADA <kiroh@kh.rim.or.jp>
Notes
Notes: svn path=/head/; revision=5620
Diffstat (limited to 'japanese/gn-gnspool/Makefile')
-rw-r--r--japanese/gn-gnspool/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/japanese/gn-gnspool/Makefile b/japanese/gn-gnspool/Makefile
new file mode 100644
index 000000000000..f189994a6515
--- /dev/null
+++ b/japanese/gn-gnspool/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: gn(Gon's Newsreader with gnspool)
+# Version required: 1.35
+# Date created: 14 Feb. 1997
+# Whom: Kiroh HARADA <kiroh@kh.rim.or.jp>
+#
+# $Id$
+#
+
+DISTNAME= gn-1.35
+PKGNAME= jp-gn-gnspool-1.35
+CATEGORIES= japanese news
+MASTER_SITES= ftp://ftp.omronsoft.co.jp/pub/misc/gn/
+
+MAINTAINER= kiroh@kh.rim.or.jp
+
+WRKSRC= ${WRKDIR}/gn-1.35/src
+
+pre-configure:
+ @${CP} ${WRKDIR}/${DISTNAME}/mkfiles/unix/freebsd ${WRKSRC}/Makefile
+ @${SED} s+@PREFIX@+${PREFIX}+ ${FILESDIR}/site.def.in > ${WRKSRC}/site.def
+ @(cd ${WRKSRC}; ${MAKE} configur)
+
+do-configure:
+ @(cd ${WRKSRC}; yes | ./configur)
+
+post-install:
+.for f in gn gnspool gninews gnmail
+ @strip ${PREFIX}/bin/$f
+.endfor
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${PREFIX}/share/doc/gn-gnspool
+ @${CP} -R ${WRKDIR}/${DISTNAME}/docs.jp/* ${PREFIX}/share/doc/gn-gnspool
+ @${CP} ${FILESDIR}/Changes.FreeBSD.port ${PREFIX}/share/doc/gn-gnspool
+.endif
+.if !defined(NOMANCOMPRESS)
+ @gzip -9nf ${PREFIX}/man/ja_JP.EUC/cat1/gn.1 ${PREFIX}/man/ja_JP.EUC/cat1/gnspool.1
+.endif
+ @${MKDIR} ${PREFIX}/share/examples/gn-gnspool
+ @${CP} ${FILESDIR}/_gnrc ${PREFIX}/share/examples/gn-gnspool
+ @${CAT} ${PKGDIR}/MESSAGE
+
+.include <bsd.port.mk>