aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/ng-devel/Makefile
blob: 2f8eacdfd90c6b3dd082cb71245edf2db459cdda (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
36
# New ports collection makefile for:    Ng
# Date created:         18 November 1998
# Whom:                 Kawaguti Ginga <ginga@athena.club.ne.jp>
#
# $FreeBSD$
#

PORTNAME=   ng
PORTVERSION=    1.4.3
CATEGORIES= japanese editors
MASTER_SITES=   http://tt.sakura.ne.jp/~amura/archives/ng/
DISTNAME=   ${PORTNAME}-${PORTVERSION}

MAINTAINER?=    ginga@athena.club.ne.jp
COMMENT?=   A very light Emacs-clone with Japanese support

WRKSRC=     ${WRKDIR}/${PORTNAME}
MAKE_ARGS=  CC="${CC}" CFLAGS="${CFLAGS}" LIBS="-ltermcap"
ALL_TARGET= ng

PORTDOCS=   CHANGES.doc CHANGES.new Ng.FAQ Ng.doc Ng.ref Ng.tut \
        README.Ng README.SKG

post-patch:
    @(cd ${WRKSRC}; ${LN} -sf sys/bsd/Makefile . )

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/ng ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    ${MKDIR} ${PREFIX}/share/doc/ja/ng
.for file in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/docs/${file} ${PREFIX}/share/doc/ja/ng/${file}.euc-jp
.endfor
.endif

.include <bsd.port.mk>