aboutsummaryrefslogtreecommitdiff
path: root/databases/p5-DBIx-Class-EncodedColumn
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-EncodedColumn
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-EncodedColumn')
-rw-r--r--databases/p5-DBIx-Class-EncodedColumn/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/databases/p5-DBIx-Class-EncodedColumn/Makefile b/databases/p5-DBIx-Class-EncodedColumn/Makefile
index fbc653206a53..c3684bd589cb 100644
--- a/databases/p5-DBIx-Class-EncodedColumn/Makefile
+++ b/databases/p5-DBIx-Class-EncodedColumn/Makefile
@@ -36,21 +36,23 @@ MAN3= DBIx::Class::EncodedColumn.3 \
post-extract:
@${PERL} -i -ne 'print unless m,^build_requires, || m,^feature, .. m,;,' ${WRKSRC}/Makefile.PL
-OPTIONS= SHA "Digest::SHA Support" On \
- BLOWFISH "Blowfish Support?" On \
- OPENPGP "Crypt::OpenPGP (gpg) Support" On
+OPTIONS_DEFINE= SHA BLOWFISH OPENPGP
+OPTIONS_DEFAULT= SHA BLOWFISH OPENPGP
+SHA_DESC= Digest::SHA Support
+BLOWFISH_DESC= Blowfish Support
+OPENPGP_DESC= Crypt::OpenPGP (gpg) Support
.include <bsd.port.pre.mk>
-.if defined(WITH_SHA)
+.if ${PORT_OPTIONS:MSHA}
. if ${PERL_LEVEL} < 501000
RUN_DEPENDS+= p5-Digest-SHA>=0:${PORTSDIR}/security/p5-Digest-SHA
. endif
.endif
-.if defined(WITH_BLOWFISH)
+.if ${PORT_OPTIONS:MBLOWFISH}
RUN_DEPENDS+= p5-Crypt-Eksblowfish>=0:${PORTSDIR}/security/p5-Crypt-Eksblowfish
.endif
-.if defined(WITH_OPENPGP)
+.if ${PORT_OPTIONS:MOPENPGP}
RUN_DEPENDS+= p5-Crypt-OpenPGP>=0:${PORTSDIR}/security/p5-Crypt-OpenPGP \
p5-Crypt-CAST5_PP>=0:${PORTSDIR}/security/p5-Crypt-CAST5_PP
.endif