1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-06 22:51:41 +00:00
freebsd-ports/japanese/gawk/Makefile

48 lines
1.3 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: gawk+mb
# Version required: 2.15.6+mb1.04
# Date created: 5 April 1995
1995-04-07 05:48:11 +00:00
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
#
1999-08-25 05:28:01 +00:00
# $FreeBSD$
#
DISTNAME= gawk-2.15.6
PKGNAME= ja-gawk-2.15.6
1998-04-30 18:40:05 +00:00
CATEGORIES= japanese textproc
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= gawk
MAINTAINER= ports@FreeBSD.org
HAS_CONFIGURE= yes
CONFIGURE_ARGS= bsd44
PATCH_STRIP= -p1
PATCH_SITES= ftp://ftp.iij.ad.jp/pub/NetNews/fj.sources/volume95/May/
PATCHFILES= gawk-2.15.6-mb1.04.diff.gz
DISTPATCHES= 950503.01.Z 950503.02.Z 950503.03.Z 950503.04.Z
# Try this if you can't get into ftp.iij.ad.jp
# PATCH_SITES= ftp://isfs.kuis.kyoto-u.ac.jp/News.Archives/fj.sources/1995/
# DISTPATCHES= 372.gz 373.gz 374.gz 375.gz
PATCH_DIST_STRIP= -p1
.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 ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${site}$${file} ${FETCH_AFTER_ARGS}; then \
break; \
fi \
done; \
done; \
for file in ${DISTPATCHES} ; do zcat $${file}; done | \
1999-08-28 02:17:34 +00:00
${SED} -e '1,/-----8</d' -e '/-----8</,/-----8</d' | uudecode; \
${RM} -f ${DISTPATCHES};\
fi)
.endif
.include <bsd.port.mk>