aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorjohans <johans@FreeBSD.org>2012-06-16 22:51:46 +0800
committerjohans <johans@FreeBSD.org>2012-06-16 22:51:46 +0800
commitffaa734a7497dcf9da4cda30d5ad86f3d560108b (patch)
treed5978af9dc73f68512b6d574c65a00298e65dc38 /editors
parente73c5c70b733621efb75048406ddb16c28febcf5 (diff)
downloadfreebsd-ports-gnome-ffaa734a7497dcf9da4cda30d5ad86f3d560108b.tar.gz
freebsd-ports-gnome-ffaa734a7497dcf9da4cda30d5ad86f3d560108b.tar.zst
freebsd-ports-gnome-ffaa734a7497dcf9da4cda30d5ad86f3d560108b.zip
Convert to new options framework
Diffstat (limited to 'editors')
-rw-r--r--editors/nvi-devel/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/editors/nvi-devel/Makefile b/editors/nvi-devel/Makefile
index 432ac5ecc8f7..1e45e5892df7 100644
--- a/editors/nvi-devel/Makefile
+++ b/editors/nvi-devel/Makefile
@@ -14,9 +14,11 @@ MASTER_SITES= http://www.kotnet.org/~skimo/nvi/devel/
MAINTAINER= johans@FreeBSD.org
COMMENT= Development snapshot of the world-renown nvi editor
-CONFLICTS= nvi-m17n-[0-9]*
+CONFLICTS_INSTALL= nvi-m17n-[0-9]* xnview-[0-9]*
-OPTIONS= WIDECHAR "Enable wide-character support (UTF-8)" On
+OPTIONS_DEFINE= WIDECHAR
+OPTIONS_DEFAULT=WIDECHAR
+WIDECHAR_DESC= Enable wide-character support (UTF-8)
USE_BZIP2= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/build.unix
@@ -31,7 +33,7 @@ MAN1= nex.1 nvi.1 nview.1
.include <bsd.port.options.mk>
-.if defined(WITH_WIDECHAR)
+.if ${PORT_OPTIONS:MWIDECHAR}
CONFIGURE_ARGS+= --enable-widechar
.endif