Fix numerous problems:

- add missing checksums,
- fix fetch,
- upgrade to current ports stuff
...
This commit is contained in:
espie 2000-02-23 10:46:16 +00:00
parent 3c13469936
commit e8b71e53ad
5 changed files with 28 additions and 27 deletions

View File

@ -1,26 +1,28 @@
# $OpenBSD: Makefile,v 1.2 2000/02/23 04:52:54 itojun Exp $
# $OpenBSD: Makefile,v 1.3 2000/02/23 10:46:16 espie Exp $
# NetBSD: Makefile,v 1.6 2000/01/19 12:28:44 hubertf Exp
# FreeBSD Id: Makefile,v 1.11 1999/04/17 10:51:03 itojun Exp
DISTNAME= nvi-1.79
PKGNAME= nvi-m17n-1.79.19991117
CATEGORIES= editors
MASTER_SITES0= ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/
MASTER_SITES= ftp://sleepy.vwh.net/pub/ \
ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${PATCHFILES}
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
${MASTER_SITES0}
PATCHFILES= nvi-1.79.m17n-19991117.diff.gz
MAINTAINER= itojun@itojun.org
CONFLICTS= vigor-*
# NetBSD stuff, no support in Open yet.
#CONFLICTS= vigor-*
PATCH_DIST_STRIP=-p1
WRKSRC= ${WRKDIR}/${DISTNAME}/build
GNU_CONFIGURE= YES
PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -E -p1 -f
CONFIGURE_ENV= OPTFLAG='-D_PATH_SYSEXRC=\"${PREFIX}/etc/vi.exrc\"'
CONFIGURE_ARGS+=--enable-multibyte --program-prefix=n --host=i386--openbsd
GNU_CONFIGURE= Yes
CONFIGURE_ENV= OPTFLAG='-D_PATH_SYSEXRC=\"/etc/vi.exrc\"'
CONFIGURE_ARGS+=--enable-multibyte --program-prefix=n --host=${ARCH}-unknown-netbsd
PATCH_FUZZ_FACTOR= -F1
@ -31,9 +33,6 @@ PATCH_FUZZ_FACTOR= -F1
PLIST= ${WRKDIR}/PLIST
REQ_TMP= ${PKGDIR}/REQ
REQ_FILE= ${WRKDIR}/REQ
CANNA_OPT.euc-jp=canna cannactrl cannakey=
CANNA_OPT.sjis=${CANNA_OPT.euc-jp}
CANNA_OPT.iso-2022-jp=${CANNA_OPT.euc-jp}
@ -56,24 +55,25 @@ ENCODING+= iso-2022-cn iso-2022-jp iso-2022-kr
ENCODING+= euc-jp euc-cn euc-kr sjis big5 euc-tw hz
post-build:
@${CP} ${PKGDIR}/PLIST ${PLIST}
@cp ${FILESDIR}/PLIST ${PLIST}
.for encoding in ${ENCODING}
@${SED} -e 's|$${CANNA_OPT}|${CANNA_OPT.${encoding}}|' \
@sed -e 's|$${CANNA_OPT}|${CANNA_OPT.${encoding}}|' \
-e 's|$${AUTODETECT}|${AUTODETECT.${encoding}}|' \
-e 's|$${ENCODING}|${encoding}|g' \
-e 's|$${PREFIX}|${PREFIX}|' \
${FILESDIR}/nvi-m17n > ${WRKDIR}/nvi-${encoding}
@${ECHO} "bin/nvi-${encoding}" >> ${PLIST}
@echo "bin/nvi-${encoding}" >> ${PLIST}
.endfor
@${SED} -e 's|$${PREFIX}|${PREFIX}|' ${REQ_TMP} > ${REQ_FILE}
@echo "Read ${PREFIX}/share/vi/README.* for" >${WRKDIR}/MESSAGE
@echo "using multilingual facilities." >>${WRKDIR}/MESSAGE
post-install:
.for encoding in ${ENCODING}
@${INSTALL_SCRIPT} ${WRKDIR}/nvi-${encoding} ${PREFIX}/bin
.endfor
@${CP} ${WRKSRC}/../docs.m17n/README.english \
@${INSTALL_DATA} ${WRKSRC}/../docs.m17n/README.english \
${PREFIX}/share/vi/
@${CP} ${WRKSRC}/../docs.m17n/README.japanese \
@${INSTALL_DATA} ${WRKSRC}/../docs.m17n/README.japanese \
${PREFIX}/share/vi/
.include <bsd.port.mk>

View File

@ -1,4 +1,6 @@
$NetBSD: md5,v 1.2 1999/11/17 15:46:24 itojun Exp $
MD5 (nvi-1.79.tar.gz) = 52549f8e390db06f9366ee83e59f64de
MD5 (nvi-1.79.m17n-19991117.diff.gz) = 9474e0d52fdae1706d06dbb6dd114eac
MD5 (nvi-1.79.tar.gz) = 52549f8e390db06f9366ee83e59f64de
RMD160 (nvi-1.79.m17n-19991117.diff.gz) = 0cdaf4e2a4bd3585d2751037ec377ab0d694e87e
RMD160 (nvi-1.79.tar.gz) = e58bf57faa6342c38f947a903181ba3d330e053b
SHA1 (nvi-1.79.m17n-19991117.diff.gz) = b242733c5da3c3797be0bd0c1829f7d0cebe451a
SHA1 (nvi-1.79.tar.gz) = f6b54e532e06b00b8892d0a0362c5b361cfc9643

View File

@ -1,5 +1,5 @@
*** Makefile.in.orig Thu Mar 6 13:19:46 1997
--- Makefile.in Thu Mar 6 13:23:40 1997
*** build/Makefile.in.orig Thu Mar 6 13:19:46 1997
--- build/Makefile.in Thu Mar 6 13:23:40 1997
***************
*** 87,95 ****
cd $(bindir) && $(chmod) $(emode) `echo vi | sed '$(transform)'`

View File

@ -1,6 +1,5 @@
$NetBSD: patch-ab,v 1.3 1999/12/28 05:37:28 wiz Exp $
--- configure.bad Fri Jun 26 02:22:51 1998
+++ configure Fri Jun 26 02:23:39 1998
--- build/configure.orig Fri Jun 26 02:22:51 1998
+++ build/configure Fri Jun 26 02:23:39 1998
@@ -1686,10 +1686,8 @@
case "$host_os" in
bsdi2.1)