diff options
author | ale <ale@FreeBSD.org> | 2014-05-13 20:32:51 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2014-05-13 20:32:51 +0800 |
commit | 6f01aa35f263ba9228444097e33cd72780cb8910 (patch) | |
tree | abcb8364a2587f4cd64d9f14a08b954612346037 /security | |
parent | 043fce01457968a22f960d0824e4b7ec2db0973a (diff) | |
download | freebsd-ports-gnome-6f01aa35f263ba9228444097e33cd72780cb8910.tar.gz freebsd-ports-gnome-6f01aa35f263ba9228444097e33cd72780cb8910.tar.zst freebsd-ports-gnome-6f01aa35f263ba9228444097e33cd72780cb8910.zip |
Stagify.
Diffstat (limited to 'security')
-rw-r--r-- | security/openct/Makefile | 42 | ||||
-rw-r--r-- | security/openct/pkg-descr | 2 | ||||
-rw-r--r-- | security/openct/pkg-plist | 7 |
3 files changed, 17 insertions, 34 deletions
diff --git a/security/openct/Makefile b/security/openct/Makefile index a711320d7982..2dc7ceab42df 100644 --- a/security/openct/Makefile +++ b/security/openct/Makefile @@ -5,43 +5,37 @@ PORTNAME= openct PORTVERSION= 0.6.20 PORTREVISION= 1 CATEGORIES= security -MASTER_SITES= SF -MASTER_SITE_SUBDIR= opensc/${PORTNAME} +MASTER_SITES= SF/opensc/${PORTNAME} MAINTAINER= ale@FreeBSD.org COMMENT= Middleware framework for smart card terminals +LICENSE= LGPL21 + OPTIONS_DEFINE= PCSC DOCS PCSC_DESC= Enable PC/SC support USE_AUTOTOOLS= libltdl GNU_CONFIGURE= yes -USES= gmake pkgconfig +USES= gmake libtool pkgconfig USE_LDCONFIG= yes USE_RC_SUBR= openct SUB_FILES= etoken.conf CONFIGURE_ENV= LTLIB_CFLAGS="-I${LOCALBASE}/include" \ - LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl" - -CONFIGURE_ARGS= --localstatedir=/var + LTLIB_LIBS="-L${LOCALBASE}/lib -lltdl" \ + LIBUSB_CFLAGS="-I/usr/include" \ + LIBUSB_LIBS="-lusb" -MAN1= openct-tool.1 +CONFIGURE_ARGS= --localstatedir=/var --enable-usb PORTDOCS= * +PORTEXAMPLES= * -NO_STAGE= yes -.include <bsd.port.pre.mk> - -.if ${OSVERSION} >= 800069 -CONFIGURE_ENV+= LIBUSB_CFLAGS="-I/usr/include" \ - LIBUSB_LIBS="-lusb" - -CONFIGURE_ARGS+=--enable-usb -.endif +.include <bsd.port.options.mk> .if ${PORT_OPTIONS:MPCSC} -LIB_DEPENDS+= pcsclite.1:${PORTSDIR}/devel/pcsc-lite +LIB_DEPENDS+= libpcsclite.so:${PORTSDIR}/devel/pcsc-lite CONFIGURE_ARGS+=--enable-pcsc PLIST_SUB+= PCSC="" .else @@ -55,19 +49,11 @@ CONFIGURE_ARGS+=--enable-doc post-patch: @${REINPLACE_CMD} 's|(libdir)/pkgconfig|(prefix)/libdata/pkgconfig|' \ ${WRKSRC}/configure -.if ${PORT_OPTIONS:MDOCS} @${REINPLACE_CMD} 's|install-data-am: install-dist_apidocDATA install-dist_docDATA|install-data-am: install-dist_docDATA|' \ ${WRKSRC}/doc/Makefile.in -.else - @${REINPLACE_CMD} 's|install-data-am: install-dist_docDATA|install-data-am:|' \ - ${WRKSRC}/Makefile.in - @${REINPLACE_CMD} 's|install-data-am: install-dist_apidocDATA install-dist_docDATA|install-data-am:|' \ - ${WRKSRC}/doc/Makefile.in -.endif post-install: - @${MKDIR} ${EXAMPLESDIR} - ${INSTALL_DATA} ${WRKDIR}/etoken.conf ${EXAMPLESDIR} - @${CAT} ${PKGMESSAGE} + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + ${INSTALL_DATA} ${WRKDIR}/etoken.conf ${STAGEDIR}${EXAMPLESDIR} -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/security/openct/pkg-descr b/security/openct/pkg-descr index 7d6e922d1768..3f1606d27711 100644 --- a/security/openct/pkg-descr +++ b/security/openct/pkg-descr @@ -7,4 +7,4 @@ applications can use it with minimal overhead. OpenCT also has a primitive mechanism to export smart card readers to remote machines via tcp/ip. -WWW: http://www.opensc-project.org/openct/ +WWW: https://github.com/OpenSC/openct diff --git a/security/openct/pkg-plist b/security/openct/pkg-plist index 99b435c240f4..d98605843d59 100644 --- a/security/openct/pkg-plist +++ b/security/openct/pkg-plist @@ -17,19 +17,16 @@ include/openct/tlv.h include/openct/types.h include/openct/ctapi.h lib/libopenct.a -lib/libopenct.la lib/libopenct.so lib/libopenct.so.1 +lib/libopenct.so.1.0.0 lib/libopenctapi.a -lib/libopenctapi.la lib/libopenctapi.so %%PCSC%%lib/openct-ifd.a -%%PCSC%%lib/openct-ifd.la %%PCSC%%lib/openct-ifd.so libdata/pkgconfig/libopenct.pc +man/man1/openct-tool.1.gz sbin/ifdhandler sbin/ifdproxy sbin/openct-control -%%EXAMPLESDIR%%/etoken.conf @dirrm include/openct -@dirrm %%EXAMPLESDIR%% |