diff options
author | rillig <rillig@pkgsrc.org> | 2005-10-24 19:48:24 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2005-10-24 19:48:24 +0000 |
commit | bb3189edd0a4968a6202d2c77003042cc1902f27 (patch) | |
tree | 06ef01f7e0556d2b76e60ed53c6ae8090b149120 /editors/ng/Makefile | |
parent | 26ce62f5646773ded8826b02f72c111925241550 (diff) | |
download | pkgsrc-bb3189edd0a4968a6202d2c77003042cc1902f27.tar.gz |
Converted to the options framework. Bumped PKGREVISION.
Diffstat (limited to 'editors/ng/Makefile')
-rw-r--r-- | editors/ng/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/editors/ng/Makefile b/editors/ng/Makefile index 1283a0a19a2..a92922599c1 100644 --- a/editors/ng/Makefile +++ b/editors/ng/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.18 2005/06/16 06:57:49 jlam Exp $ +# $NetBSD: Makefile,v 1.19 2005/10/24 19:48:24 rillig Exp $ DISTNAME= ng-1.4.3 +PKGREVISION= 1 CATEGORIES= editors japanese MASTER_SITES= http://tt.sakura.ne.jp/~amura/archives/ng/ @@ -10,18 +11,19 @@ COMMENT= Very light Emacs-clone with japanese support WRKSRC= ${WRKDIR}/ng -.include "../../mk/bsd.prefs.mk" # for USE_CANNA +PKG_SUPPORTED_OPTIONS= canna +PKG_SUGGESTED_OPTIONS= canna +PKG_OPTIONS_VAR= PKG_OPTIONS.ng +PKG_OPTIONS_LEGACY_VARS= USE_CANNA:canna -.if !defined(USE_CANNA) -USE_CANNA= YES -.endif +.include "../../mk/bsd.options.mk" -.if ${USE_CANNA} == "YES" +.if !empty(PKG_OPTIONS:Mcanna) .include "../../inputmethod/canna-lib/buildlink3.mk" +MAKEFLAGS+= USE_CANNA=YES .endif BUILD_TARGET= ng -MAKEFLAGS+= USE_CANNA=${USE_CANNA} INSTALLATION_DIRS= bin |