freebsd-ports/japanese/groff/Makefile
Satoshi Asami 08603c414a Protect the pre-fetch: target with .if !defined(MASTER_SITE_OVERRIDE),
because this master site should already have the tarball, not the
uuencoded pieces.
Submitted by:	Andreas Schulz <ats@freebsd.first.gmd.de>
1995-05-29 08:39:34 +00:00

44 lines
1.1 KiB
Makefile

# New ports collection makefile for: jp-groff
# Version required: 1.09+0.98
# Date created: 14 April 1995
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
#
# $Id: Makefile,v 1.3 1995/05/02 10:36:11 asami Exp $
#
DISTNAME= groff-1.09
PKGNAME= jp-groff-0.98
CATEGORIES= japanese printing
MASTER_SITES= ftp://prep.ai.mit.edu/pub/gnu/
MAINTAINER= asami@FreeBSD.ORG
PATCH_SITES= ftp://ftp.iij.ad.jp/pub/NetNews/fj.sources/volume95/Apr/
PATCHFILES= jgroff-0.98.diff.gz
DISTPATCHES= 950414.01.Z 950414.02.Z
PATCH_DIST_STRIP= -p1
USE_GMAKE= yes
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --prefix=/usr/local
.if !defined(MASTER_SITE_OVERRIDE)
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)
.endif
.include <bsd.port.mk>