diff options
author | Satoshi Asami <asami@FreeBSD.org> | 1995-02-06 05:28:26 +0000 |
---|---|---|
committer | Satoshi Asami <asami@FreeBSD.org> | 1995-02-06 05:28:26 +0000 |
commit | 11f6aecd8db92bb4e409831cebf7c3ed06509060 (patch) | |
tree | 901f6438c31dd2d68edfd6fb58679d9a5a669eb4 /japanese/nkf/Makefile | |
parent | Oops - typo. (diff) |
nkf-1.4, Network Kanji code conversion Filter
Notes
Notes:
svn path=/head/; revision=892
Diffstat (limited to 'japanese/nkf/Makefile')
-rw-r--r-- | japanese/nkf/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/japanese/nkf/Makefile b/japanese/nkf/Makefile new file mode 100644 index 000000000000..441e62b3950a --- /dev/null +++ b/japanese/nkf/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: nkf +# Version required: 1.4 + patches +# Date created: 5 February 1995 +# Whom: asami +# +# $Id: Makefile,v 1.4 1994/11/25 18:20:48 asami Exp $ +# + +DISTNAME= nkf-1.4 +MASTER_SITES= ftp://utsun.s.u-tokyo.ac.jp/fj/nkf/ +DISTFILES= nkf-1.4.tar.gz nkf-patches.tar.gz nkf-speedup-patch.gz +EXTRACT_ONLY= nkf-1.4.tar.gz +WRKSRC= ${WRKDIR}/nkf + +pre-patch: ${PATCH_COOKIE} + @echo "===> Applying unofficial patches for ${DISTNAME}" + @(mkdir ${WRKDIR}/patches) + @(tar -C ${WRKDIR}/patches -xzf ${DISTDIR}/nkf-patches.tar.gz) + @(cd ${WRKSRC}; \ + for i in 1 2 3; do \ + patch -s nkf.c < ${WRKDIR}/patches/patch$$i; \ + done; \ + for i in 4 5; do \ + patch -s < ${WRKDIR}/patches/patch$$i; \ + done; \ + zcat ${DISTDIR}/nkf-speedup-patch.gz | patch -s; \ + ) + @echo "===> Installing custom Makefile for ${DISTNAME}" + @(cp ${FILESDIR}/Makefile ${WRKSRC}) + +.include <bsd.port.mk> |