1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-15 23:50:44 +00:00
freebsd-ports/japanese/gn-gnspool/Makefile
1998-06-04 14:47:31 +00:00

45 lines
1.3 KiB
Makefile

# New ports collection makefile for: gn(Gon's Newsreader with gnspool)
# Version required: 1.36
# Date created: 14 Feb. 1997
# Whom: Kiroh HARADA <kiroh@kh.rim.or.jp>
#
# $Id: Makefile,v 1.3 1998/03/21 01:49:56 itojun Exp $
#
DISTNAME= gn-1.36
PKGNAME= ja-gn-gnspool-1.36
CATEGORIES= japanese news
MASTER_SITES= ftp://ftp.omronsoft.co.jp/pub/misc/gn/
MAINTAINER= kiroh@kh.rim.or.jp
WRKSRC= ${WRKDIR}/gn-1.36/src
pre-configure:
@${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
@(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/cat1/gn.1 ${PREFIX}/man/ja/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>