1997-09-14 21:36:25 +00:00
|
|
|
# New ports collection makefile for: ja-groff
|
1996-03-31 23:25:24 +00:00
|
|
|
# Version required: 1.10+0.99
|
1995-05-02 07:45:53 +00:00
|
|
|
# Date created: 14 April 1995
|
|
|
|
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
|
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1995-05-02 07:45:53 +00:00
|
|
|
#
|
|
|
|
|
1996-03-31 23:25:24 +00:00
|
|
|
DISTNAME= groff-1.10
|
1997-09-14 21:36:25 +00:00
|
|
|
PKGNAME= ja-groff-0.99
|
1995-11-22 13:06:38 +00:00
|
|
|
CATEGORIES= japanese print
|
1996-11-18 10:25:35 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
1999-01-27 07:41:29 +00:00
|
|
|
MASTER_SITE_SUBDIR= groff
|
1995-05-02 07:45:53 +00:00
|
|
|
|
1996-03-31 23:25:24 +00:00
|
|
|
PATCH_SITES= ftp://ftp.ae.keio.ac.jp/pub/GNU/ \
|
1997-09-09 03:11:55 +00:00
|
|
|
ftp://ftp.tohoku.ac.jp/pub/GNU/japanese/
|
1996-03-31 23:25:24 +00:00
|
|
|
PATCHFILES= jgroff-0.99.diff.gz
|
1995-05-02 07:45:53 +00:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
1997-05-20 04:50:55 +00:00
|
|
|
MAINTAINER= graphite@jp.freebsd.org
|
1997-01-24 10:18:53 +00:00
|
|
|
|
1995-05-29 08:39:34 +00:00
|
|
|
USE_GMAKE= yes
|
1996-03-31 23:25:24 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1995-05-02 07:45:53 +00:00
|
|
|
|
1997-04-04 14:59:43 +00:00
|
|
|
DESCS= ${WRKSRC}/devnippon/DESC.proto ${WRKSRC}/devps/DESC.in
|
1996-12-06 12:21:49 +00:00
|
|
|
|
|
|
|
#for not writing "/usr/local" explicitly in the patch
|
|
|
|
post-patch:
|
1997-04-04 14:59:43 +00:00
|
|
|
@for f in ${DESCS}; do \
|
1999-08-28 02:42:41 +00:00
|
|
|
${MV} -f $${f} $${f}.tmp; \
|
1997-04-04 14:59:43 +00:00
|
|
|
${SED} -e '$$d' $${f}.tmp > $${f}; \
|
|
|
|
case $${f} in \
|
|
|
|
*/devnippon/*) \
|
|
|
|
${ECHO} "postpro ${PREFIX}/bin/grotty" >> $${f}; \
|
|
|
|
;; \
|
|
|
|
*/devps/*) \
|
|
|
|
${ECHO} "postpro ${PREFIX}/bin/grops" >> $${f}; \
|
|
|
|
;; \
|
|
|
|
esac; \
|
|
|
|
done
|
1996-12-06 12:21:49 +00:00
|
|
|
|
1997-05-20 04:50:55 +00:00
|
|
|
post-install:
|
|
|
|
@${CP} -p /usr/share/tmac/tmac.an ${PREFIX}/share/groff/tmac
|
|
|
|
@${CP} -p /usr/share/tmac/tmac.andoc ${PREFIX}/share/groff/tmac
|
|
|
|
@${CP} -p /usr/share/tmac/tmac.groff_an ${PREFIX}/share/groff/tmac
|
|
|
|
@${CP} -p /usr/share/tmac/tmac.orig_me ${PREFIX}/share/groff/tmac
|
|
|
|
@${CP} -p /usr/share/tmac/tmac.vgrind ${PREFIX}/share/groff/tmac
|
|
|
|
@${CP} -p /usr/share/tmac/eqnrc ${PREFIX}/share/groff/tmac
|
|
|
|
@${CP} -p /usr/share/tmac/hyphen.us-ru ${PREFIX}/share/groff/tmac
|
|
|
|
@${CP} -p /usr/share/tmac/troffrc ${PREFIX}/share/groff/tmac
|
|
|
|
@${CP} -p /usr/share/tmac/mdoc/doc-common ${PREFIX}/share/groff/tmac/mdoc
|
|
|
|
@${CP} -p /usr/share/tmac/mdoc/doc-syms ${PREFIX}/share/groff/tmac/mdoc
|
|
|
|
@/usr/bin/patch -d ${PREFIX}/share/groff/tmac < ${FILESDIR}/rc.diff
|
|
|
|
|
1995-05-02 07:45:53 +00:00
|
|
|
.include <bsd.port.mk>
|