aboutsummaryrefslogtreecommitdiff
path: root/security/p5-Crypt-CBCeasy
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 /security/p5-Crypt-CBCeasy
parent604cf10be2fdf875d9d65a0ecd7cc4e9ec54a2cf (diff)
downloadports-0cb47f77537c2b13f5acb82c1ad559fbfe26a829.tar.gz
ports-0cb47f77537c2b13f5acb82c1ad559fbfe26a829.zip
Notes
Diffstat (limited to 'security/p5-Crypt-CBCeasy')
-rw-r--r--security/p5-Crypt-CBCeasy/Makefile33
1 files changed, 18 insertions, 15 deletions
diff --git a/security/p5-Crypt-CBCeasy/Makefile b/security/p5-Crypt-CBCeasy/Makefile
index 598edc847ca2..107c28498edb 100644
--- a/security/p5-Crypt-CBCeasy/Makefile
+++ b/security/p5-Crypt-CBCeasy/Makefile
@@ -22,31 +22,34 @@ PERL_CONFIGURE= yes
MAN3= Crypt::CBCeasy.3
-.include <bsd.port.pre.mk>
-
-OPTIONS= DES "Build with Crypt::DES support" on
-.if !defined(WITHOUT_DES)
+OPTIONS_DEFINE= DES IDEA BLOWFISH BLOWFISH_PP TWOFISH2 RIJNDAEL
+OPTIONS_DEFAULT= DES IDEA BLOWFISH BLOWFISH_PP TWOFISH2 RIJNDAEL
+DES_DESC= Build with Crypt::DES support
+IDEA_DESC= Build with Crypt::IDEA support
+BLOWFISH_DESC= Build with Crypt::Blowfish support
+BLOWFISH_PP_DESC= Build with Crypt::Blowfish_PP support
+TWOFISH2_DESC= Build with Crypt::Twofish2 support
+RIJNDAEL_DESC= Build with Crypt::Rijndael support
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDES}
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Crypt/DES.pm:${PORTSDIR}/security/p5-Crypt-DES
.endif
-OPTIONS+= IDEA "Build with Crypt::IDEA support" on
-.if !defined(WITHOUT_IDEA)
+.if ${PORT_OPTIONS:MIDEA}
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Crypt/IDEA.pm:${PORTSDIR}/security/p5-Crypt-IDEA
.endif
-OPTIONS+= BLOWFISH "Build with Crypt::Blowfish support" on
-.if !defined(WITHOUT_BLOWFISH)
+.if ${PORT_OPTIONS:MBLOWFISH}
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Crypt/Blowfish.pm:${PORTSDIR}/security/p5-Crypt-Blowfish
.endif
-OPTIONS+= BLOWFISH_PP "Build with Crypt::Blowfish_PP support" on
-.if !defined(WITHOUT_BLOWFISH_PP)
+.if ${PORT_OPTIONS:MBLOWFISH_PP}
BUILD_DEPENDS+= ${SITE_PERL}/Crypt/Blowfish_PP.pm:${PORTSDIR}/security/p5-Crypt-Blowfish_PP
.endif
-OPTIONS+= TWOFISH2 "Build with Crypt::Twofish2 support" on
-.if !defined(WITHOUT_TWOFISH2)
+.if ${PORT_OPTIONS:MTWOFISH2}
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Crypt/Twofish2.pm:${PORTSDIR}/security/p5-Crypt-Twofish2
.endif
-OPTIONS+= RIJNDAEL "Build with Crypt::Rijndael support" on
-.if !defined(WITHOUT_RIJNDAEL)
+.if ${PORT_OPTIONS:MRIJNDAEL}
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Crypt/Rijndael.pm:${PORTSDIR}/security/p5-Crypt-Rijndael
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>