From 1eb7d0940353164481d5067d28c5b51b0786a057 Mon Sep 17 00:00:00 2001 From: Masafumi Max NAKANE Date: Fri, 4 Apr 1997 14:59:43 +0000 Subject: Fix problem with PS output. Integrate unofficial patch. Submitted by: Kazuhiko Kiriyama(System administrator) (Closing PR #2962.) --- japanese/groff/Makefile | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) (limited to 'japanese/groff') 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 # -# $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 -- cgit v1.2.3