From 55498f76b725a5f6a18fe0cd70def79ce1eda8e3 Mon Sep 17 00:00:00 2001 From: dinoex Date: Sun, 16 Sep 2012 15:08:09 +0000 Subject: - use OPTIONS_DEFINE --- net/x11vnc/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'net/x11vnc') 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 +.include -.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 +.include -- cgit