aboutsummaryrefslogtreecommitdiffstats
path: root/databases/rrdtool10
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-03-22 01:43:46 +0800
committerbapt <bapt@FreeBSD.org>2013-03-22 01:43:46 +0800
commitcfcced21488c284abd188059ae050ef418f1267b (patch)
tree761cd23e07e2b5224d73f540985d84eede599029 /databases/rrdtool10
parent797c88102c9ba9648a5ee065b70feec9018d476e (diff)
downloadfreebsd-ports-gnome-cfcced21488c284abd188059ae050ef418f1267b.tar.gz
freebsd-ports-gnome-cfcced21488c284abd188059ae050ef418f1267b.tar.zst
freebsd-ports-gnome-cfcced21488c284abd188059ae050ef418f1267b.zip
Convert to new options framework left unconverted ports in databases category
Diffstat (limited to 'databases/rrdtool10')
-rw-r--r--databases/rrdtool10/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/databases/rrdtool10/Makefile b/databases/rrdtool10/Makefile
index 5da5a00d57e0..e6263a9bb905 100644
--- a/databases/rrdtool10/Makefile
+++ b/databases/rrdtool10/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: rrdtool
-# Date created: 20 July 1999
-# Whom: Dmitry Sivachenko <dima@Chg.RU>
-#
+# Created by: Dmitry Sivachenko <dima@Chg.RU>
# $FreeBSD$
-#
PORTNAME= rrdtool
PORTVERSION= 1.0.50
@@ -37,11 +33,12 @@ MAN1= RRDp.1 RRDs.1 bin_dec_hex.1 rrdcgi.1 rrdcreate.1 rrddump.1 \
MAN3= RRDp.3 RRDs.3
MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
-OPTIONS= LATIN2 "ISO-8859-2 fonts support" off
+OPTIONS_DEFINE= LATIN2
+LATIN2_DESC= ISO-8859-2 fonts support
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_LATIN2)
+.if ${PORT_OPTIONS:MLATIN2}
CONFIGURE_ARGS+=--enable-latin2
.endif
@@ -54,7 +51,7 @@ BROKEN= Does not build on ia64
.endif
post-extract:
-.if defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e 's/install-idocDATA install-ihtmlDATA//g' \
${WRKSRC}/doc/Makefile.in
.endif
@@ -67,4 +64,4 @@ post-install:
@${ECHO_MSG} "############################################################################"
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>