diff options
author | Jason Helfman <jgh@FreeBSD.org> | 2013-05-23 16:10:43 +0000 |
---|---|---|
committer | Jason Helfman <jgh@FreeBSD.org> | 2013-05-23 16:10:43 +0000 |
commit | 4c6703ce1d8866a83ce501003147b27e7b5f1c0d (patch) | |
tree | 7a07ddc1957746cdaa2cb3a8d489a8fd12cf2d40 /net-im/iserverd | |
parent | 768d962d4be6c9cb0c56c74afece1e9dbf93157e (diff) | |
download | ports-4c6703ce1d8866a83ce501003147b27e7b5f1c0d.tar.gz ports-4c6703ce1d8866a83ce501003147b27e7b5f1c0d.zip |
- adoption of optionsNG framework
Approved by: portmgr (bapt)
Notes
Notes:
svn path=/head/; revision=318883
Diffstat (limited to 'net-im/iserverd')
-rw-r--r-- | net-im/iserverd/Makefile | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/net-im/iserverd/Makefile b/net-im/iserverd/Makefile index aad6e2da76ce..5a73f4e3e3d1 100644 --- a/net-im/iserverd/Makefile +++ b/net-im/iserverd/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: iserverd -# Date created: Sun Jun 10 17:51:00 GMT 2007 -# Whom: Denis Rakhmangulov <danfocus@gmail.com> -# +# Created by: Denis Rakhmangulov <danfocus@gmail.com> # $FreeBSD$ -# PORTNAME= iserverd PORTVERSION= 2.5.5 @@ -18,8 +14,10 @@ USE_PGSQL= YES GNU_CONFIGURE= YES USE_RC_SUBR= iserverd -OPTIONS= KQUEUE "Use kqueue(2) instead of poll(2)" on \ - DEBUG "Enable debugging symbols" off +OPTIONS_DEFINE= KQUEUE DEBUG +KQUEUE_DESC= kqueue(2) instead of poll(2) + +OPTIONS_DEFAULT= KQUEUE CONFIGURE_ARGS= --with-pgsql=${LOCALBASE} \ --with-bindir=${PREFIX}/bin \ @@ -33,7 +31,7 @@ MAN1= db_convert.1 MAN5= iserv.conf.5 v3_proto.conf.5 v5_proto.conf.5 MAN8= iserverd.8 -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> .if ${OSVERSION} >= 700042 .if ${ARCH} == "sparc64" @@ -41,10 +39,10 @@ BROKEN= Does not compile with GCC 4.2 .endif .endif -.if defined(WITH_DEBUG) +.if ${PORT_OPTIONS:MDEBUG} CONFIGURE_ARGS+=--enable-debug .endif -.if defined(WITH_KQUEUE) +.if ${PORT_OPTIONS:MKQUEUE} CONFIGURE_ARGS+=--with-kqueue .endif @@ -61,4 +59,4 @@ post-install: @${CHOWN} -R iserv /var/log/iserverd @${CHOWN} -R iserv /var/run/iserverd -.include <bsd.port.post.mk> +.include <bsd.port.mk> |