aboutsummaryrefslogtreecommitdiffstats
path: root/editors/nvi-m17n/Makefile
blob: 223c5098cb60f70c819645b1c643f3e1376fc1cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:    nvi-1.79 + multilingual patch(none)
# Version required: 1.79
# Date created:     6 Mar 1997
# Whom:         Jun-ichiro itojun Itoh <itojun@itojun.org>
#
# $Id: Makefile,v 1.4 1997/04/09 07:34:42 asami Exp $
#

DISTNAME=   nvi-1.79
PKGNAME=    nvi-m17n-1.79-970617
CATEGORIES= japanese editors
MASTER_SITES=   ftp://ftp.cs.berkeley.edu/ucb/4bsd/\
        ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/

PATCHFILES= nvi-1.79.m17n-970617-2330.diff.gz
PATCH_SITES=    ftp://ftp.foretune.co.jp/pub/tools/nvi-m17n/

MAINTAINER= itojun@itojun.org

#LIB_DEPENDS=   canna\\.1\\.:${PORTSDIR}/japanese/Canna

WRKSRC=     ${WRKDIR}/${DISTNAME}/build
GNU_CONFIGURE=  yes
# can't say PATCH_DIST_STRIP=-p1 because contains files outside ${WRKSRC}
PATCH_DIST_ARGS=-d ${WRKSRC}/.. --forward --quiet -E -p0
CONFIGURE_ENV=  OPTFLAG='-D_PATH_SYSEXRC=\"/usr/local/etc/vi.exrc\"'
CONFIGURE_ARGS= --enable-multibyte --program-prefix=n

post-install:
    @${CP} ${WRKSRC}/../docs.m17n/README.english \
        ${PREFIX}/share/vi/
    @${CP} ${WRKSRC}/../docs.m17n/README.japanese \
        ${PREFIX}/share/vi/

.include <bsd.port.mk>