diff options
author | max <max@FreeBSD.org> | 1997-04-04 22:59:43 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 1997-04-04 22:59:43 +0800 |
commit | e23624ceca6a26d2094a73f8a0c6179d4d6ef65a (patch) | |
tree | e69e21d3e355c3ae279eba2eaf7ac43c54c5d8ef /japanese/groff | |
parent | 0319f41d5ddea084dd308ba948491e71b866ae4b (diff) | |
download | freebsd-ports-gnome-e23624ceca6a26d2094a73f8a0c6179d4d6ef65a.tar.gz freebsd-ports-gnome-e23624ceca6a26d2094a73f8a0c6179d4d6ef65a.tar.zst freebsd-ports-gnome-e23624ceca6a26d2094a73f8a0c6179d4d6ef65a.zip |
Fix problem with PS output.
Integrate unofficial patch.
Submitted by: Kazuhiko Kiriyama(System administrator) <kiri@kiri.toba-cmt.ac.jp>
(Closing PR #2962.)
Diffstat (limited to 'japanese/groff')
-rw-r--r-- | japanese/groff/Makefile | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/japanese/groff/Makefile b/japanese/groff/Makefile index 765aa17794cf..a8bf206b6b73 100644 --- a/japanese/groff/Makefile +++ b/japanese/groff/Makefile @@ -3,7 +3,7 @@ # Date created: 14 April 1995 # Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp> # -# $Id: Makefile,v 1.8 1996/12/06 12:21:49 asami Exp $ +# $Id: Makefile,v 1.9 1997/01/24 10:18:53 asami Exp $ # DISTNAME= groff-1.10 @@ -21,12 +21,21 @@ MAINTAINER= graphite@taurus.bekkoame.or.jp USE_GMAKE= yes GNU_CONFIGURE= yes -DNDP= ${WRKSRC}/devnippon/DESC.proto +DESCS= ${WRKSRC}/devnippon/DESC.proto ${WRKSRC}/devps/DESC.in #for not writing "/usr/local" explicitly in the patch post-patch: - /bin/mv -f ${DNDP} ${DNDP}.tmp - /usr/bin/sed -e '$$d' ${DNDP}.tmp > ${DNDP} - /bin/echo "postpro ${PREFIX}/bin/grotty" >> ${DNDP} + @for f in ${DESCS}; do \ + /bin/mv -f $${f} $${f}.tmp; \ + ${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 .include <bsd.port.mk> |