aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/p5-CryptX/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/security/p5-CryptX/Makefile b/security/p5-CryptX/Makefile
index c9a4edd3ad44..14fd25e9b2cd 100644
--- a/security/p5-CryptX/Makefile
+++ b/security/p5-CryptX/Makefile
@@ -3,6 +3,7 @@
PORTNAME= CryptX
PORTVERSION= 0.023
+PORTREVISION= 1
CATEGORIES= security perl5
MASTER_SITES= CPAN/Crypt
PKGNAMEPREFIX= p5-
@@ -10,9 +11,18 @@ PKGNAMEPREFIX= p5-
MAINTAINER= vanilla@FreeBSD.org
COMMENT= Crypto toolkit
+LICENSE= ART20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= p5-JSON>=0:${PORTSDIR}/converters/p5-JSON
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
USES= perl5
USE_PERL5= modbuild
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/CryptX/CryptX.so
+
regression-test: build
@cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${PERL5} ${PL_BUILD} ${MAKE_ARGS} test