mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
ed1ba38a9f
to maintain all these ports I once committed (sometimes as a proxy).
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# New ports collection makefile for: gxditview (part of ja-groff)
|
|
# Version required: 1.09+0.98
|
|
# Date created: 14 April 1995
|
|
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
|
|
#
|
|
# $Id: Makefile,v 1.7 1997/09/14 21:34:40 max Exp $
|
|
#
|
|
|
|
DISTNAME= groff-1.09
|
|
PKGNAME= ja-gxditview-0.98
|
|
CATEGORIES= japanese print
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
|
|
|
MAINTAINER= ports@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_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 ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${site}$${file} ${FETCH_AFTER_ARGS}; 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>
|