summaryrefslogtreecommitdiff
path: root/editors/ng/Makefile
blob: 6980ad56f034668938d052bac89657a478c6c8b5 (plain)
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
37
38
39
40
41
42
43
44
# $NetBSD: Makefile,v 1.16 2004/12/03 15:14:56 wiz Exp $

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

MAINTAINER=     fk200329@fsinet.or.jp
HOMEPAGE=	http://tt.sakura.ne.jp/~amura/ng/
COMMENT=	Very light Emacs-clone with japanese support

WRKSRC=         ${WRKDIR}/ng
USE_BUILDLINK3=	YES

.include "../../mk/bsd.prefs.mk"	# for USE_CANNA

.if !defined(USE_CANNA)
USE_CANNA=	YES
.endif

.if ${USE_CANNA} == "YES"
.include "../../inputmethod/canna-lib/buildlink3.mk"
.endif

BUILD_TARGET=	ng
MAKEFLAGS+=	USE_CANNA=${USE_CANNA}

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

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ng ${PREFIX}/bin/

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ng
	${INSTALL_DATA} ${WRKSRC}/docs/Ng.FAQ ${PREFIX}/share/doc/ng/Ng.FAQ.euc-jp
	${INSTALL_DATA} ${WRKSRC}/docs/Ng.doc ${PREFIX}/share/doc/ng/Ng.doc.euc-jp
	${INSTALL_DATA} ${WRKSRC}/docs/Ng.ref ${PREFIX}/share/doc/ng/Ng.ref.euc-jp
	${INSTALL_DATA} ${WRKSRC}/docs/Ng.tut ${PREFIX}/share/doc/ng/Ng.tut.euc-jp
	${INSTALL_DATA} ${WRKSRC}/docs/README.Ng ${PREFIX}/share/doc/ng/README.Ng.euc-jp
	${INSTALL_DATA} ${WRKSRC}/docs/README.SKG ${PREFIX}/share/doc/ng/README.SKG.euc-jp
	${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.new ${PREFIX}/share/doc/ng/CHANGES.new.euc-jp
	${INSTALL_DATA} ${WRKSRC}/docs/CHANGES.doc ${PREFIX}/share/doc/ng/CHANGES.doc.euc-jp

.include "../../mk/bsd.pkg.mk"