aboutsummaryrefslogtreecommitdiff
path: root/net/x11vnc
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-09-16 15:08:09 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-09-16 15:08:09 +0000
commit5e39feacd07d0b9a89debae642dd9d31db5d58a4 (patch)
tree35ea5c4ba29a50e8c6c2212761b3e64f496cc6be /net/x11vnc
parent4013d79704cd9d6209c9b61690312f795d4f9940 (diff)
downloadports-5e39feacd07d0b9a89debae642dd9d31db5d58a4.tar.gz
ports-5e39feacd07d0b9a89debae642dd9d31db5d58a4.zip
- use OPTIONS_DEFINE
Notes
Notes: svn path=/head/; revision=304355
Diffstat (limited to 'net/x11vnc')
-rw-r--r--net/x11vnc/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/net/x11vnc/Makefile b/net/x11vnc/Makefile
index 1fa30b926d86..13ae028ae7c4 100644
--- a/net/x11vnc/Makefile
+++ b/net/x11vnc/Makefile
@@ -33,16 +33,17 @@ CPPFLAGS+= -I${LOCALBASE}/include
MAN1= x11vnc.1
PORTDOCS= AUTHORS COPYING ChangeLog NEWS README README.LibVNCServer TODO
-OPTIONS= NLS "Build with gettext support" on \
- AVAHI "Enable AVAHI (ZeroConf)" on
+OPTIONS_DEFINE=NLS AVAHI
+OPTIONS_DEFAULT=NLS AVAHI
+NO_OPTIONS_SORT=yes
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if !defined(WITHOUT_NLS)
+.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT= yes
.endif
-.if !defined(WITHOUT_AVAHI)
+.if ${PORT_OPTIONS:MAVAHI}
LIB_DEPENDS+= avahi-common:${PORTSDIR}/net/avahi-app
.else
CONFIGURE_ARGS+= --without-avahi
@@ -61,4 +62,4 @@ post-install:
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>