aboutsummaryrefslogtreecommitdiff
path: root/editors/nvi-devel
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2012-06-16 14:51:46 +0000
committerJohan van Selst <johans@FreeBSD.org>2012-06-16 14:51:46 +0000
commit50245660e6ec5084dab67cc17da3ff06d8811134 (patch)
tree37888d653ed19c6bec38e78415e05d94c029121f /editors/nvi-devel
parent0484c2a45e7329d63bfc11ec19f60b760f64d531 (diff)
downloadports-50245660e6ec5084dab67cc17da3ff06d8811134.tar.gz
ports-50245660e6ec5084dab67cc17da3ff06d8811134.zip
Convert to new options framework
Notes
Notes: svn path=/head/; revision=299407
Diffstat (limited to 'editors/nvi-devel')
-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