1997-02-15 06:09:04 -05: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 01:28:01 -04:00
|
|
|
# $FreeBSD$
|
1997-02-15 06:09:04 -05:00
|
|
|
#
|
|
|
|
|
2000-04-11 10:15:53 -04:00
|
|
|
PORTNAME= gn-gnspool
|
|
|
|
PORTVERSION= 1.40
|
1997-02-15 06:09:04 -05:00
|
|
|
CATEGORIES= japanese news
|
|
|
|
MASTER_SITES= ftp://ftp.omronsoft.co.jp/pub/misc/gn/
|
2000-04-11 10:15:53 -04:00
|
|
|
DISTNAME= gn-${PORTVERSION}
|
1997-02-15 06:09:04 -05:00
|
|
|
|
1999-05-01 11:45:49 -04:00
|
|
|
MAINTAINER= seiken@ARGV.AC
|
1997-02-15 06:09:04 -05:00
|
|
|
|
2000-04-11 10:15:53 -04:00
|
|
|
# The program ``configure'' sometimes issue questions and
|
1999-01-14 22:12:36 -05:00
|
|
|
# batch-mode build would fail.
|
1999-01-14 19:43:24 -05:00
|
|
|
IS_INTERACTIVE= yes
|
1999-01-14 17:19:36 -05:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
1997-02-15 06:09:04 -05:00
|
|
|
|
|
|
|
pre-configure:
|
1998-03-20 20:50:10 -05: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 06:09:04 -05: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 19:39:29 -04:00
|
|
|
@${GZIP_CMD} ${PREFIX}/man/ja/cat1/gn.1 \
|
1999-01-14 17:19:36 -05:00
|
|
|
${PREFIX}/man/ja/cat1/gnspool.1 ${PREFIX}/man/ja/cat1/gnloops.1
|
1997-02-15 06:09:04 -05:00
|
|
|
.endif
|
|
|
|
@${MKDIR} ${PREFIX}/share/examples/gn-gnspool
|
|
|
|
@${CP} ${FILESDIR}/_gnrc ${PREFIX}/share/examples/gn-gnspool
|
|
|
|
@${CAT} ${PKGDIR}/MESSAGE
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|