Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Sep 2012 15:08:09 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r304355 - head/net/x11vnc
Message-ID:  <201209161508.q8GF89pN013906@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Sun Sep 16 15:08:09 2012
New Revision: 304355
URL: http://svn.freebsd.org/changeset/ports/304355

Log:
  - use OPTIONS_DEFINE

Modified:
  head/net/x11vnc/Makefile

Modified: head/net/x11vnc/Makefile
==============================================================================
--- head/net/x11vnc/Makefile	Sun Sep 16 15:03:18 2012	(r304354)
+++ head/net/x11vnc/Makefile	Sun Sep 16 15:08:09 2012	(r304355)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209161508.q8GF89pN013906>