aboutsummaryrefslogtreecommitdiff
path: root/security/opensc
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2017-11-01 11:27:54 +0000
committerAlex Dupre <ale@FreeBSD.org>2017-11-01 11:27:54 +0000
commitbb844779e95a477926d641de5949754be2b78878 (patch)
tree0daf2d2110fa58f26d3ca73ef006a1b712f79aff /security/opensc
parenta2aea5f1bb724a06bf15e028090269d9d6ebfd37 (diff)
downloadports-bb844779e95a477926d641de5949754be2b78878.tar.gz
ports-bb844779e95a477926d641de5949754be2b78878.zip
Notes
Diffstat (limited to 'security/opensc')
-rw-r--r--security/opensc/Makefile21
-rw-r--r--security/opensc/distinfo4
2 files changed, 17 insertions, 8 deletions
diff --git a/security/opensc/Makefile b/security/opensc/Makefile
index f177dc5aaadc..6f0ddf3de6fc 100644
--- a/security/opensc/Makefile
+++ b/security/opensc/Makefile
@@ -5,7 +5,11 @@ PORTNAME= opensc
PORTVERSION= 0.17.0
PORTREVISION= 1
CATEGORIES= security devel
-MASTER_SITES= https://github.com/OpenSC/OpenSC/releases/download/0.17.0/
+MASTER_SITES= https://github.com/OpenSC/OpenSC/releases/download/${PORTVERSION}/
+
+PATCH_SITES= https://github.com/OpenSC/OpenSC/commit/
+PATCHFILES= 8d7346406d166a9db4afd239e6669df3e3b99f79.patch
+PATCH_DIST_STRIP= -p1
MAINTAINER= ale@FreeBSD.org
COMMENT= Libraries and utilities to access smart cards
@@ -34,16 +38,19 @@ CONFIGURE_ENV= \
PORTDOCS= *
-MANPAGES_CONFIGURE_ARGS_OFF=--disable-man
+MANPAGES_CONFIGURE_ENABLE= man
OPENCT_LIB_DEPENDS= libopenct.so:security/openct
-OPENCT_CONFIGURE_ARGS= --enable-openct
+OPENCT_CONFIGURE_ENABLE= openct
PCSC_LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite
-PCSC_CONFIGURE_ARGS_OFF=--disable-pcsc
-CTAPI_CONFIGURE_ARGS= --enable-ctapi
-SM_CONFIGURE_ARGS_OFF= --disable-sm
-DOCS_CONFIGURE_ARGS+= --enable-doc
+PCSC_CONFIGURE_ENABLE= pcsc
+
+CTAPI_CONFIGURE_ENABLE= ctapi
+
+SM_CONFIGURE_ENABLE= sm
+
+DOCS_CONFIGURE_ENABLE= doc
.include <bsd.port.options.mk>
diff --git a/security/opensc/distinfo b/security/opensc/distinfo
index 6586a9a5a2d2..279c14d2fcd0 100644
--- a/security/opensc/distinfo
+++ b/security/opensc/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1509027157
+TIMESTAMP = 1509534561
SHA256 (opensc-0.17.0.tar.gz) = be73c6816867ab4721e6a9ae7dba8e890c5f169f0a2cbb4bf354e0f30a948300
SIZE (opensc-0.17.0.tar.gz) = 1950547
+SHA256 (8d7346406d166a9db4afd239e6669df3e3b99f79.patch) = 50cbf9fcb75755407bf4bca01d143e85f3f8df1888ac7c9557a48935d6332573
+SIZE (8d7346406d166a9db4afd239e6669df3e3b99f79.patch) = 15954