aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-05-02 10:36:33 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-05-02 10:36:33 +0000
commit556abd2905ecc843ae43141241a50c50047cbf0a (patch)
treedbb24b2c56577f83ad364bd3004eaa6c6600b839
parent2b7376d31a9b3088b7b3f932109ecf04fb4eb8bc (diff)
downloadports-556abd2905ecc843ae43141241a50c50047cbf0a.tar.gz
ports-556abd2905ecc843ae43141241a50c50047cbf0a.zip
Oops, deleted too much (says)
Submitted by: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
Notes
Notes: svn path=/head/; revision=1580
-rw-r--r--japanese/groff/Makefile18
-rw-r--r--japanese/gxditview/Makefile18
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>