Add OPTIONS support

This commit is contained in:
Mathieu Arnold 2004-01-21 15:02:47 +00:00
parent 1b916d4d96
commit ae4c901425
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=98699

View File

@ -19,21 +19,27 @@ BUILD_DEPENDS= ${SITE_PERL}/Crypt/CBC.pm:${PORTSDIR}/security/p5-Crypt-CBC \
${SITE_PERL}/MD5.pm:${PORTSDIR}/security/p5-MD5
RUN_DEPENDS= ${BUILD_DEPENDS}
OPTIONS= DES "Build with Crypt::DES support" on
.if !defined(WITHOUT_DES)
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)
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)
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)
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)
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)
BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Crypt/Rijndael.pm:${PORTSDIR}/security/p5-Crypt-Rijndael
.endif