aboutsummaryrefslogtreecommitdiff
path: root/graphics/mscgen
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-12-29 23:07:29 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-12-29 23:07:29 +0000
commitab669cf5b8865ee9679b29aeb57667de72618289 (patch)
tree9f9baf559a2b9317069117692f9444e1494b1aa3 /graphics/mscgen
parent4bb8907a16230e820fae47f8c4f2f578f0c28edb (diff)
downloadports-ab669cf5b8865ee9679b29aeb57667de72618289.tar.gz
ports-ab669cf5b8865ee9679b29aeb57667de72618289.zip
Convert romain's ports to new option framework
While here Trim headers Approved by: maintainer timeout (2 weeks)
Notes
Notes: svn path=/head/; revision=309641
Diffstat (limited to 'graphics/mscgen')
-rw-r--r--graphics/mscgen/Makefile11
1 files changed, 4 insertions, 7 deletions
diff --git a/graphics/mscgen/Makefile b/graphics/mscgen/Makefile
index 3ea9a8ca9285..3f34c47b7ac8 100644
--- a/graphics/mscgen/Makefile
+++ b/graphics/mscgen/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: mscgen
-# Date created: 2011-01-23
-# Whom: Romain Tartiere <romain@FreeBSD.org>
-#
+# Created by: Romain Tartiere <romain@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= mscgen
PORTVERSION= 0.20
@@ -16,11 +12,12 @@ DISTNAME= ${PORTNAME}-src-${PORTVERSION}
MAINTAINER= romain@FreeBSD.org
COMMENT= A Message Sequence Chart Renderer
-OPTIONS= PNG "Enable PNG support" on
+OPTIONS_DEFINE= PNG
+OPTIONS_DEFAULT= PNG
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_PNG)
+.if ${PORT_OPTIONS:MPNG}
CONFIGURE_ARGS+=--with-png
LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
.else