Index: head/security/quantis/Makefile =================================================================== --- head/security/quantis/Makefile (revision 395510) +++ head/security/quantis/Makefile (revision 395511) @@ -1,103 +1,103 @@ # Created by: Alex Dupre # $FreeBSD$ PORTNAME= quantis DISTVERSION= v13.11.08 CATEGORIES= security devel java MASTER_SITES= http://www.idquantique.com/~download/Quantis/ \ LOCAL/ale DISTNAME= Quantis-${DISTVERSION}-src MAINTAINER= ale@FreeBSD.org COMMENT= Libraries and utilities to access Quantis devices LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/Quantis-${DISTVERSION}/License.txt OPTIONS_DEFINE= PCI USB JAVA COMPAT TOOL GUI DOCS EXAMPLES OPTIONS_DEFAULT=PCI USB JAVA TOOL GUI NO_OPTIONS_SORT=yes PCI_DESC= Enable Quantis PCI support USB_DESC= Enable Quantis USB support JAVA_DESC= Enable Java support COMPAT_DESC= Build API v1 compatibility libraries TOOL_DESC= Build EasyQuantis application GUI_DESC= Build QT4 GUI for EasyQuantis application EXTRACT_BEFORE_ARGS= -aqo USES= cmake compiler:c++11-lang zip:infozip USE_QT4= # empty but required USE_LDCONFIG= yes SUB_FILES= pkg-message WRKSRC= ${WRKDIR}/Quantis-${DISTVERSION}/Libs-Apps KMODDIR?= /boot/modules PORTDOCS= * PORTEXAMPLES= * .include .if ${PORT_OPTIONS:MPCI} RUN_DEPENDS+= ${KMODDIR}/quantis.ko:${PORTSDIR}/security/quantis-kmod .else CMAKE_ARGS+= -DDISABLE_QUANTIS_PCI=1 .endif .if ! ${PORT_OPTIONS:MUSB} CMAKE_ARGS+= -DDISABLE_QUANTIS_USB=1 PKGMESSAGE= ${PKGDIR}/notexistent .endif .if ${PORT_OPTIONS:MJAVA} USE_JAVA= yes JAVA_VERSION= 1.6+ JAVA_OS= native .else CMAKE_ARGS+= -DDISABLE_QUANTIS_JAVA=1 .endif .if ${PORT_OPTIONS:MCOMPAT} CMAKE_ARGS+= -DENABLE_QUANTIS_COMPAT=1 PLIST_SUB+= COMPAT="" .else PLIST_SUB+= COMPAT="@comment " .endif .if ${PORT_OPTIONS:MTOOL} BUILD_DEPENDS+= ${LOCALBASE}/lib/libboost_date_time.a:${PORTSDIR}/devel/boost-libs CXXFLAGS+= -I${LOCALBASE}/include . if ${PORT_OPTIONS:MGUI} USE_QT4+= gui moc_build uic_build rcc_build qmake_build . else CMAKE_ARGS+= -DDISABLE_EASYQUANTIS_GUI=1 . endif PLIST_SUB+= TOOL="" .else CMAKE_ARGS+= -DDISABLE_EASYQUANTIS=1 PLIST_SUB+= TOOL="@comment " .endif post-patch: @${REINPLACE_CMD} '/ if(CMAKE_COMPILER_IS_GNU/s/)/ MATCHES "0")/' \ ${WRKSRC}/CMake/CompilersFlags.cmake post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/../*.txt ${STAGEDIR}${DOCSDIR} - @${INSTALL_DATA} ${WRKSRC}/../User_Manual.pdf ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/../*.txt ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/../User_Manual.pdf ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} - @(cd ${WRKSRC}/../Samples; ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) + @(cd ${WRKSRC}/../Samples; ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} "-not -empty") .if ${PORT_OPTIONS:MUSB} @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/devd ${INSTALL_DATA} ${FILESDIR}/quantis.conf ${STAGEDIR}${EXAMPLESDIR}/devd .endif .include Index: head/security/quantis/pkg-plist =================================================================== --- head/security/quantis/pkg-plist (revision 395510) +++ head/security/quantis/pkg-plist (revision 395511) @@ -1,36 +1,34 @@ %%TOOL%%bin/EasyQuantis include/Quantis/Conversion.h include/Quantis/DllMain.h include/Quantis/Quantis.h include/Quantis/Quantis.hpp include/Quantis/QuantisUsb_Commands.h include/Quantis/Quantis_Compat.h include/Quantis/Quantis_Internal.h include/Quantis/Quantis_Java.h include/Quantis/Quantis_random_device.hpp include/Quantis/msc_stdint.h include/Quantis/resource.h include/QuantisExtensions/QuantisExtractor.h include/QuantisExtensions/QuantisExtractor.hpp lib/libQuantis-NoHw.a lib/libQuantis-NoHw.so lib/libQuantis-NoHw.so.2 lib/libQuantis-NoHw.so.2.12.0 lib/libQuantis.a lib/libQuantis.so lib/libQuantis.so.2 lib/libQuantis.so.2.12.0 lib/libQuantis_Extensions.a lib/libQuantis_Extensions.so lib/libQuantis_Extensions.so.2 lib/libQuantis_Extensions.so.2.12.0 %%COMPAT%%lib/libQuantisPci-Compat.a %%COMPAT%%lib/libQuantisPci-Compat.so %%COMPAT%%lib/libQuantisPci-Compat.so.2 %%COMPAT%%lib/libQuantisPci-Compat.so.2.12.0 %%COMPAT%%lib/libQuantisUsb-Compat.a %%COMPAT%%lib/libQuantisUsb-Compat.so %%COMPAT%%lib/libQuantisUsb-Compat.so.2 %%COMPAT%%lib/libQuantisUsb-Compat.so.2.12.0 -@dirrm include/Quantis -@dirrm include/QuantisExtensions