aboutsummaryrefslogtreecommitdiffstats
path: root/databases/p5-DBI
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-10-05 22:09:59 +0800
committerbapt <bapt@FreeBSD.org>2012-10-05 22:09:59 +0800
commit574cf6a85084d6ff0bb7f0297932769ca9e4a2b5 (patch)
treecc092a53e40e2ad0d9376058782881edf45ab7de /databases/p5-DBI
parentac5544d83aa37acb385c44e3db31b88d53ee59a5 (diff)
downloadfreebsd-ports-gnome-574cf6a85084d6ff0bb7f0297932769ca9e4a2b5.tar.gz
freebsd-ports-gnome-574cf6a85084d6ff0bb7f0297932769ca9e4a2b5.tar.zst
freebsd-ports-gnome-574cf6a85084d6ff0bb7f0297932769ca9e4a2b5.zip
Finish converting perl@ ports to new Options Framework
Diffstat (limited to 'databases/p5-DBI')
-rw-r--r--databases/p5-DBI/Makefile13
1 files changed, 5 insertions, 8 deletions
diff --git a/databases/p5-DBI/Makefile b/databases/p5-DBI/Makefile
index 8bc0e7909a2d..57eeef2100c2 100644
--- a/databases/p5-DBI/Makefile
+++ b/databases/p5-DBI/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: p5-DBI
-# Date created: October 17th 1996
-# Whom: James FitzGibbon <jfitz@FreeBSD.org>
-#
+# Created by: James FitzGibbon <jfitz@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= DBI
PORTVERSION= 1.622
@@ -17,7 +13,8 @@ COMMENT= The perl5 Database Interface. Required for DBD::* modules
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-OPTIONS= PROXY "Build DBI::Proxy" off
+OPTIONS_DEFINE= PROXY DOCS
+PROXY_DESC= Build DBI::Proxy
CONFLICTS= p5-DBI-1.3*
@@ -76,12 +73,12 @@ MAN3= Bundle::DBI.3 \
.include <bsd.port.options.mk>
-.if defined(WITH_PROXY)
+.if ${PORT_OPTIONS:MPROXY}
BUILD_DEPENDS+= p5-PlRPC>=0.2001:${PORTSDIR}/net/p5-PlRPC
RUN_DEPENDS+= p5-PlRPC>=0.2001:${PORTSDIR}/net/p5-PlRPC
.endif
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= Changes README
post-install: