aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2016-08-03 01:22:14 +0800
committermarino <marino@FreeBSD.org>2016-08-03 01:22:14 +0800
commit01e61d79b12538feb32eda7da8ba09dddba730ae (patch)
tree7aa8a942da68dea2b7ba4d10476e2ee03e3bdd05 /devel
parent9341662c4c40f8f7542f666954419220741be254 (diff)
downloadfreebsd-ports-graphics-01e61d79b12538feb32eda7da8ba09dddba730ae.tar.gz
freebsd-ports-graphics-01e61d79b12538feb32eda7da8ba09dddba730ae.tar.zst
freebsd-ports-graphics-01e61d79b12538feb32eda7da8ba09dddba730ae.zip
devel/pcsc-ada: Upgrade version 0.7.2 => 0.7.3
Diffstat (limited to 'devel')
-rw-r--r--devel/pcsc-ada/Makefile46
-rw-r--r--devel/pcsc-ada/distinfo5
2 files changed, 20 insertions, 31 deletions
diff --git a/devel/pcsc-ada/Makefile b/devel/pcsc-ada/Makefile
index 939522c4b30..b4f84f099fd 100644
--- a/devel/pcsc-ada/Makefile
+++ b/devel/pcsc-ada/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= pcsc-ada
-PORTVERSION= 0.7.2
-PORTREVISION= 1
+PORTVERSION= 0.7.3
CATEGORIES= devel
MASTER_SITES= http://www.codelabs.ch/download/
DISTNAME= libpcscada-${PORTVERSION}
@@ -13,11 +12,14 @@ COMMENT= Ada binding to PC/SC middleware (Smart card interface)
LICENSE= LGPL21
+LIB_DEPENDS= libpcsclite.so:devel/pcsc-lite
+
USES= ada tar:bzip2
ALL_TARGET= all
GPRLINK= "-L${LOCALBASE}/lib", "-lpcsclite"
MAKE_ARGS+= NUM_CPUS=${MAKE_JOBS_NUMBER} \
LIBRARY_KIND=static
+PORTEXAMPLES= src bin
OPTIONS_DEFINE= UNIT_TEST INTF_TEST DOCS EXAMPLES
OPTIONS_SUB= yes
@@ -25,31 +27,17 @@ UNIT_TEST_DESC= Run unit test suite before installation
INTF_TEST_DESC= Run interface tests against installed smart card after build
NO_OPTIONS_SORT=yes
-.include <bsd.port.options.mk>
+DOCS_USES= gmake
-.if ${PORT_OPTIONS:MUNIT_TEST} || ${PORT_OPTIONS:MINTF_TEST}
-BUILD_DEPENDS+= ${LOCALBASE}/lib/gnat/ahven.gpr:devel/ahven
-. if ${PORT_OPTIONS:MUNIT_TEST}
-ALL_TARGET+= utests
-. endif
-. if ${PORT_OPTIONS:MINTF_TEST}
-ALL_TARGET+= itests
-. endif
-.endif
+DOCS_BUILD_DEPENDS= asciidoc:textproc/asciidoc \
+ source-highlight:textproc/source-highlight
+UNIT_TEST_BUILD_DEPENDS=${LOCALBASE}/lib/gnat/ahven.gpr:devel/ahven
+INTF_TEST_BUILD_DEPENDS=${LOCALBASE}/lib/gnat/ahven.gpr:devel/ahven
-LIB_DEPENDS+= libpcsclite.so:devel/pcsc-lite
-
-.if ${PORT_OPTIONS:MDOCS}
-BUILD_DEPENDS+= asciidoc:textproc/asciidoc \
- source-highlight:textproc/source-highlight
-ALL_TARGET+= doc
-USES+= gmake
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
-ALL_TARGET+= examples
-PORTEXAMPLES= src bin
-.endif
+DOCS_ALL_TARGET= doc
+EXAMPLES_ALL_TARGET= examples
+UNIT_TEST_ALL_TARGET= utests
+INTF_TEST_ALL_TARGET= itests
post-patch:
${REINPLACE_CMD} -e 's|"-lpcsclite"|${GPRLINK}|' \
@@ -80,15 +68,15 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/lib/static/* \
${STAGEDIR}${PREFIX}/lib/pcscada
${INSTALL_DATA} ${FILESDIR}/pcscada.gpr ${STAGEDIR}${PREFIX}/lib/gnat
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
-.endif
-.if ${PORT_OPTIONS:MEXAMPLES}
+
+post-install-EXAMPLES-on:
(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \
${STAGEDIR}${EXAMPLESDIR}/src)
${RM} ${STAGEDIR}${EXAMPLESDIR}/src/*/*.bak
(cd ${WRKSRC}/obj/examples && ${INSTALL_PROGRAM} cardd pinpad \
thin_example ${STAGEDIR}${EXAMPLESDIR}/bin)
-.endif
.include <bsd.port.mk>
diff --git a/devel/pcsc-ada/distinfo b/devel/pcsc-ada/distinfo
index db3e18c7ebb..ed60a896611 100644
--- a/devel/pcsc-ada/distinfo
+++ b/devel/pcsc-ada/distinfo
@@ -1,2 +1,3 @@
-SHA256 (libpcscada-0.7.2.tar.bz2) = 85d0eabe245d56c7ec01eb9e37e6829be5c47561445ee87791b66554c9893ea0
-SIZE (libpcscada-0.7.2.tar.bz2) = 48524
+TIMESTAMP = 1470113413
+SHA256 (libpcscada-0.7.3.tar.bz2) = a2acf54650824d010977a40a1f2f8e551cf1b15841467e1a539b299c5e9332ee
+SIZE (libpcscada-0.7.3.tar.bz2) = 48673