aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBIx-Class
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-05-31 11:19:32 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-05-31 11:19:32 +0000
commit0cb47f77537c2b13f5acb82c1ad559fbfe26a829 (patch)
treeca9945973b3815f11f68140f3be1ab0a2cb34abb /databases/p5-DBIx-Class
parent604cf10be2fdf875d9d65a0ecd7cc4e9ec54a2cf (diff)
downloadports-0cb47f77537c2b13f5acb82c1ad559fbfe26a829.tar.gz
ports-0cb47f77537c2b13f5acb82c1ad559fbfe26a829.zip
Convert to new options framework
Notes
Notes: svn path=/head/; revision=297871
Diffstat (limited to 'databases/p5-DBIx-Class')
-rw-r--r--databases/p5-DBIx-Class/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/databases/p5-DBIx-Class/Makefile b/databases/p5-DBIx-Class/Makefile
index ed490b0809d7..29b8368f07fb 100644
--- a/databases/p5-DBIx-Class/Makefile
+++ b/databases/p5-DBIx-Class/Makefile
@@ -60,7 +60,8 @@ TEST_DEPENDS= p5-Class-DBI-Plugin-DeepAbstractSearch>=0:${PORTSDIR}/databases/p5
p5-Time-Piece-MySQL>=0:${PORTSDIR}/databases/p5-Time-Piece-MySQL \
p5-namespace-autoclean>=0:${PORTSDIR}/devel/p5-namespace-autoclean
-OPTIONS= SQLT "SQL::Translator (generate DDL from schema)" off
+OPTIONS_DEFINE= SQLT
+SQLT_DESC= SQL::Translator (generate DDL from schema)
PERL_CONFIGURE= yes
CONFIGURE_ENV= DBICTEST_NO_SQLITE_CHECK=1
@@ -183,7 +184,7 @@ MAN3= DBIx::Class.3 \
.include <bsd.port.options.mk>
-.ifdef(WITH_SQLT)
+.if ${PORT_OPTIONS:MSQLT}
RUN_DEPENDS+= p5-SQL-Translator>=0.09.004:${PORTSDIR}/databases/p5-SQL-Translator
.endif