aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/nedi
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-05-10 11:28:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-05-10 11:28:32 +0000
commit5c1bfd69f6048624bf2287c995d3d119ed4d788c (patch)
treedaa919326ccb7f189fd0a15b939e805db0b91dae /net-mgmt/nedi
parent194a5e08be6942491300a7084db50ad4ae2b8d16 (diff)
downloadports-5c1bfd69f6048624bf2287c995d3d119ed4d788c.tar.gz
ports-5c1bfd69f6048624bf2287c995d3d119ed4d788c.zip
Convert to new options framework
While here do some build with clang fixes PR: ports/178445, ports/178446, ports/178444, ports/178443, ports/178425, ports/178423 Submitted by: "Ilya A. Arkhipov" <rum1cro@yandex.ru>
Notes
Notes: svn path=/head/; revision=317790
Diffstat (limited to 'net-mgmt/nedi')
-rw-r--r--net-mgmt/nedi/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/net-mgmt/nedi/Makefile b/net-mgmt/nedi/Makefile
index 39fe3e51b9e1..02ef269c43fc 100644
--- a/net-mgmt/nedi/Makefile
+++ b/net-mgmt/nedi/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: nedi
-# Date created: 2007-02-04
-# Whom: cristi
-#
+# Created by: cristi <cristi@net.utcluj.ro>
# $FreeBSD$
-#
PORTNAME= nedi
DISTVERSION= 1.0.w
@@ -24,7 +20,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
USE_PERL5= yes
-OPTIONS= GD "Use GD" OFF
+OPTIONS_DEFINE= GD
+GD_DESC= Use GD
LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
@@ -33,7 +30,7 @@ LATEST_LINK= ${PORTNAME}${PKGNAMESUFFIX}
USE_PHP= session snmp mysql
WANT_PHP_WEB= yes
-.if defined(WITH_GD) && !defined(WITHOUT_GD)
+.if ${PORT_OPTIONS:MGD}
USE_PHP+= gd
.endif