1997-02-15 11:09:04 +00:00
|
|
|
# New ports collection makefile for: gn(Gon's Newsreader with gnspool)
|
|
|
|
# Date created: 14 Feb. 1997
|
|
|
|
# Whom: Kiroh HARADA <kiroh@kh.rim.or.jp>
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1997-02-15 11:09:04 +00:00
|
|
|
#
|
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
PORTNAME= gn-gnspool
|
|
|
|
PORTVERSION= 1.40
|
1997-02-15 11:09:04 +00:00
|
|
|
CATEGORIES= japanese news
|
|
|
|
MASTER_SITES= ftp://ftp.omronsoft.co.jp/pub/misc/gn/
|
2000-04-11 14:15:53 +00:00
|
|
|
DISTNAME= gn-${PORTVERSION}
|
1997-02-15 11:09:04 +00:00
|
|
|
|
1999-05-01 15:45:49 +00:00
|
|
|
MAINTAINER= seiken@ARGV.AC
|
1997-02-15 11:09:04 +00:00
|
|
|
|
2000-04-11 14:15:53 +00:00
|
|
|
# The program ``configure'' sometimes issue questions and
|
1999-01-15 03:12:36 +00:00
|
|
|
# batch-mode build would fail.
|
1999-01-15 00:43:24 +00:00
|
|
|
IS_INTERACTIVE= yes
|
1999-01-14 22:19:36 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
1997-02-15 11:09:04 +00:00
|
|
|
|
|
|
|
pre-configure:
|
1998-03-21 01:50:10 +00:00
|
|
|
@${CP} ${WRKDIR}/${DISTNAME}/mkfiles/unix/common ${WRKSRC}/Makefile
|
|
|
|
@${PATCH} -d ${WRKSRC} < ${FILESDIR}/Makefile.patch
|
|
|
|
@${SED} s+@PREFIX@+${PREFIX}+ ${FILESDIR}/site.def.in \
|
|
|
|
> ${WRKSRC}/site.def
|
1997-02-15 11:09:04 +00:00
|
|
|
@(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)
|
1999-09-04 23:39:29 +00:00
|
|
|
@${GZIP_CMD} ${PREFIX}/man/ja/cat1/gn.1 \
|
1999-01-14 22:19:36 +00:00
|
|
|
${PREFIX}/man/ja/cat1/gnspool.1 ${PREFIX}/man/ja/cat1/gnloops.1
|
1997-02-15 11:09:04 +00:00
|
|
|
.endif
|
|
|
|
@${MKDIR} ${PREFIX}/share/examples/gn-gnspool
|
|
|
|
@${CP} ${FILESDIR}/_gnrc ${PREFIX}/share/examples/gn-gnspool
|
2000-10-08 10:23:48 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1997-02-15 11:09:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|