diff options
-rw-r--r-- | japanese/groff/Makefile | 18 | ||||
-rw-r--r-- | japanese/gxditview/Makefile | 18 |
2 files changed, 34 insertions, 2 deletions
diff --git a/japanese/groff/Makefile b/japanese/groff/Makefile index 73196a56d7e8..13592b735bc2 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$ +# $Id: Makefile,v 1.2 1995/05/02 09:27:06 asami Exp $ # DISTNAME= groff-1.09 @@ -18,6 +18,22 @@ PATCHFILES= jgroff-0.98.diff.gz DISTPATCHES= 950414.01.Z 950414.02.Z PATCH_DIST_STRIP= -p1 +pre-fetch: + @(cd ${DISTDIR}; \ + if [ ! -f ${PATCHFILES} ]; then \ + ${ECHO_MSG} ">> ${PATCHFILES} doesn't seem to exist on this system."; \ + for file in ${DISTPATCHES} ; do \ + for site in ${PATCH_SITES} ; do \ + if ${NCFTP} ${NCFTPFLAGS} $${site}$${file}; then \ + break; \ + fi \ + done; \ + done; \ + for file in ${DISTPATCHES} ; do zcat $${file}; done | \ + sed '/^END -----/,/^BEGIN ----/d' | uudecode; \ + rm -f ${DISTPATCHES};\ + fi) + USE_GMAKE= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix=/usr/local diff --git a/japanese/gxditview/Makefile b/japanese/gxditview/Makefile index 74149812ca71..2d682e76d76c 100644 --- a/japanese/gxditview/Makefile +++ b/japanese/gxditview/Makefile @@ -3,7 +3,7 @@ # Date created: 14 April 1995 # Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp> # -# $Id$ +# $Id: Makefile,v 1.1.1.1 1995/05/02 10:07:43 asami Exp $ # DISTNAME= groff-1.09 @@ -20,4 +20,20 @@ PATCH_DIST_ARGS?= -d ${WRKSRC}/.. --forward --quiet -E -p1 USE_IMAKE= yes WRKSRC=${.CURDIR}/work/${DISTNAME}/xditview +pre-fetch: + @(cd ${DISTDIR}; \ + if [ ! -f ${PATCHFILES} ]; then \ + ${ECHO_MSG} ">> ${PATCHFILES} doesn't seem to exist on this system."; \ + for file in ${DISTPATCHES} ; do \ + for site in ${PATCH_SITES} ; do \ + if ${NCFTP} ${NCFTPFLAGS} $${site}$${file}; then \ + break; \ + fi \ + done; \ + done; \ + for file in ${DISTPATCHES} ; do zcat $${file}; done | \ + sed '/^END -----/,/^BEGIN ----/d' | uudecode; \ + rm -f ${DISTPATCHES};\ + fi) + .include <bsd.port.mk> |