Changeset View
Changeset View
Standalone View
Standalone View
security/quantis/Makefile
# Created by: Alex Dupre <ale@FreeBSD.org> | # Created by: Alex Dupre <ale@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= quantis | PORTNAME= quantis | ||||
DISTVERSION= v18.03.08 | DISTVERSION= v18.03.08 | ||||
PORTREVISION= 1 | |||||
CATEGORIES= security devel java | CATEGORIES= security devel java | ||||
MASTER_SITES= https://www.idquantique.com/wordpress/wp-content/uploads/ | MASTER_SITES= https://www.idquantique.com/wordpress/wp-content/uploads/ | ||||
DISTNAME= Quantis-${DISTVERSION} | DISTNAME= Quantis-${DISTVERSION} | ||||
MAINTAINER= ale@FreeBSD.org | MAINTAINER= ale@FreeBSD.org | ||||
COMMENT= Libraries and utilities to access Quantis devices | COMMENT= Libraries and utilities to access Quantis devices | ||||
LICENSE= BSD3CLAUSE GPLv2 | LICENSE= BSD3CLAUSE GPLv2 | ||||
LICENSE_COMB= dual | LICENSE_COMB= dual | ||||
LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/../License.txt | LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/../License.txt | ||||
jhale: Only the GUI option uses Qt4. | |||||
BROKEN= does not build | |||||
BROKEN_aarch64= fails to build: Could not find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY) | BROKEN_aarch64= fails to build: Could not find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY) | ||||
BROKEN_armv6= fails to build: Could not find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY) | BROKEN_armv6= fails to build: Could not find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY) | ||||
BROKEN_armv7= fails to build: Could not find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY) | BROKEN_armv7= fails to build: Could not find JNI (missing: JAVA_AWT_LIBRARY JAVA_JVM_LIBRARY) | ||||
USES= cmake compiler:c++11-lang qt:4 zip:infozip | USES= cmake compiler:c++11-lang zip:infozip | ||||
OPTIONS_DEFINE= PCI USB JAVA COMPAT TOOL GUI DOCS EXAMPLES | OPTIONS_DEFINE= PCI USB JAVA COMPAT TOOL GUI DOCS EXAMPLES | ||||
OPTIONS_DEFAULT=PCI USB JAVA TOOL GUI | OPTIONS_DEFAULT=PCI USB JAVA TOOL | ||||
Not Done Inline ActionsCan you remove GUI from the default options and bump PORTREVISION? rene: Can you remove GUI from the default options and bump PORTREVISION? | |||||
NO_OPTIONS_SORT=yes | NO_OPTIONS_SORT=yes | ||||
PCI_DESC= Enable Quantis PCI support | PCI_DESC= Enable Quantis PCI support | ||||
USB_DESC= Enable Quantis USB support | USB_DESC= Enable Quantis USB support | ||||
JAVA_DESC= Enable Java support | JAVA_DESC= Enable Java support | ||||
COMPAT_DESC= Build API v1 compatibility libraries | COMPAT_DESC= Build API v1 compatibility libraries | ||||
TOOL_DESC= Build EasyQuantis application | TOOL_DESC= Build EasyQuantis application | ||||
GUI_DESC= Build QT4 GUI for EasyQuantis application | GUI_DESC= Build QT4 GUI for EasyQuantis application | ||||
Show All 38 Lines | |||||
PLIST_SUB+= COMPAT="@comment " | PLIST_SUB+= COMPAT="@comment " | ||||
.endif | .endif | ||||
.if ${PORT_OPTIONS:MTOOL} | .if ${PORT_OPTIONS:MTOOL} | ||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/libboost_date_time.a:devel/boost-libs | BUILD_DEPENDS+= ${LOCALBASE}/lib/libboost_date_time.a:devel/boost-libs | ||||
CXXFLAGS+= -I${LOCALBASE}/include | CXXFLAGS+= -I${LOCALBASE}/include | ||||
. if ${PORT_OPTIONS:MGUI} | . if ${PORT_OPTIONS:MGUI} | ||||
DEPRECATED= Qt4 has been EOL since december 2015 | |||||
EXPIRATION_DATE= 2019-03-15 | |||||
USES+= qt:4 | |||||
USE_QT+= corelib gui moc_build uic_build rcc_build qmake_build | USE_QT+= corelib gui moc_build uic_build rcc_build qmake_build | ||||
. else | . else | ||||
CMAKE_ARGS+= -DDISABLE_EASYQUANTIS_GUI=1 | CMAKE_ARGS+= -DDISABLE_EASYQUANTIS_GUI=1 | ||||
. endif | . endif | ||||
PLIST_SUB+= TOOL="" | PLIST_SUB+= TOOL="" | ||||
.else | .else | ||||
CMAKE_ARGS+= -DDISABLE_EASYQUANTIS=1 | CMAKE_ARGS+= -DDISABLE_EASYQUANTIS=1 | ||||
Show All 20 Lines |
Only the GUI option uses Qt4.