aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/mscgen
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-12-30 07:07:29 +0800
committerbapt <bapt@FreeBSD.org>2012-12-30 07:07:29 +0800
commit6c116eb1c970b2c054be4c0be1ebbb57f01a6afc (patch)
tree9f9baf559a2b9317069117692f9444e1494b1aa3 /graphics/mscgen
parentaa1ccad6cea6fa548cc2549dc0c9cec22579ab77 (diff)
downloadfreebsd-ports-gnome-6c116eb1c970b2c054be4c0be1ebbb57f01a6afc.tar.gz
freebsd-ports-gnome-6c116eb1c970b2c054be4c0be1ebbb57f01a6afc.tar.zst
freebsd-ports-gnome-6c116eb1c970b2c054be4c0be1ebbb57f01a6afc.zip
Convert romain's ports to new option framework
While here Trim headers Approved by: maintainer timeout (2 weeks)
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