1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

Use regular DEPRECATED and EXPIRATION_DATE variables in an "if FLAVOR" block

instead of flavoring the variables themselves. This caused too much hassle
for Tools/scripts/rmport.

Discussed with:	tcberner
This commit is contained in:
Rene Ladan 2018-12-16 16:49:17 +00:00
parent 278e6c95a6
commit 7cbe341ae6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=487601
19 changed files with 38 additions and 56 deletions

View File

@ -16,13 +16,12 @@ LICENSE= LGPL21
FLAVORS= qt5 qt4
FLAVOR?= ${FLAVORS:[1]}
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= cmake:outsource
USE_LDCONFIG= yes
. if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= qt:4
USE_QT= corelib moc_build network_build qmake_build rcc_build uic_build
CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=TRUE

View File

@ -16,9 +16,6 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
FLAVORS= qt5 qt4
FLAVOR?= ${FLAVORS:[1]}
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= qmake
USE_GL= gl
@ -28,6 +25,8 @@ GH_PROJECT= zNotes
GH_TAGNAME= 6423c5e
. if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= qt:4
USE_QT= uic_build moc_build rcc_build linguisttools_build corelib gui network xml
. else

View File

@ -18,13 +18,12 @@ LICENSE= LGPL20
FLAVORS= qt5 qt4
FLAVOR?= ${FLAVORS:[1]}
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= compiler:c++11-lib cmake:outsource
USE_LDCONFIG= yes
. if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= qt:4
USE_QT= corelib dbus gui \
moc_build qmake_build rcc_build uic_build

View File

@ -22,9 +22,6 @@ qt4_CONFLICTS_INSTALL= ${PORTNAME}
qt4_PKGNAMESUFFIX= -qt4
qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt4
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= gl qmake
USE_GL= gl
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
@ -34,6 +31,8 @@ GH_ACCOUNT= visualfc
GH_TUPLE= visualfc:gotools:77fd0f0:gotools/src/github.com/visualfc/gotools
.if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= qt:4
USE_QT= corelib gui moc_build network rcc_build uic_build webkit xml
PLIST_SUB+= QT4="" NO_QT4="@comment "

View File

@ -20,9 +20,6 @@ RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
FLAVORS= qt5 qt4
FLAVOR?= ${FLAVORS:[1]}
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= cmake:outsource tar:xz
CMAKE_ARGS= -DBUILD_PLUGINS=none -DBUILD_TESTS=no \
-DPKGCONFIG_INSTALL_PREFIX=${PREFIX}/libdata/pkgconfig \
@ -32,6 +29,8 @@ CONFIGURE_ENV= QC_CERTSTORE_PATH=${LOCALBASE}/share/certs/ca-root-nss.crt
USE_LDCONFIG= yes
. if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
CMAKE_ON= QT4_BUILD
USES+= qt:4
USE_QT= corelib moc_build qmake_build rcc_build

View File

@ -22,14 +22,13 @@ FLAVORS= qt5 qt4
FLAVOR?= ${FLAVORS:[1]}
qt5_PKGNAMESUFFIX= -${FLAVOR}
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= compiler:c++11-lang gl qmake:outsource
USE_GL= gl glu
QMAKE_ARGS= VERSION_NUMBER=${PORTVERSION}
.if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= qt:4
USE_QT= corelib gui moc_build opengl
.else

View File

@ -35,10 +35,9 @@ qt4_CONFLICTS_INSTALL= ${PORTNAME}
qt4_PKGNAMESUFFIX= -qt4
qt5_CONFLICTS_INSTALL= ${PORTNAME}-qt4
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
.if ${FLAVOR:U} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= qt:4
USE_QT= qmake_build moc_build rcc_build uic_build corelib gui network
CMAKE_ON= FORCE_QT4

View File

@ -17,9 +17,6 @@ LIB_DEPENDS= libboost_thread.so:devel/boost-libs \
FLAVORS= qt5 qt4
FLAVOR?= ${FLAVORS:[1]}
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
CONFLICTS_INSTALL= gstreamer${PKGNAMESUFFIX}-*
USES= bison cmake:outsource gl gnome pathfix pkgconfig tar:xz
@ -33,6 +30,8 @@ CMAKE_OFF= USE_GST_PLUGIN_DIR USE_QT_PLUGIN_DIR
CMAKE_ARGS= -DQT_VERSION=${FLAVOR:C/qt//}
. if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= qt:4
USE_QT= corelib gui opengl declarative script \
qmake_build moc_build rcc_build uic_build qtestlib_build

View File

@ -18,12 +18,11 @@ FLAVOR?= ${FLAVORS:[1]}
qt4_PKGNAMESUFFIX= -designerplugin-qt4
qt5_PKGNAMESUFFIX= -designerplugin-qt5
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= cmake tar:xz
. if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= kde:4 qt:4
USE_QT= corelib designer gui phonon \
qmake_build moc_build rcc_build uic_build

View File

@ -22,9 +22,6 @@ qt5_PKGNAMESUFFIX= -${PHONON_PLUGIN}-qt5
qt4_PLIST= ${.CURDIR}/pkg-plist.qt4
qt5_PLIST= ${.CURDIR}/pkg-plist.qt5
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= cmake pkgconfig tar:xz
USE_GL= gl
USE_GNOME= glib20 libxml2
@ -32,6 +29,8 @@ USE_GSTREAMER1= yes
USE_XORG= x11
. if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= kde:4 qt:4
USE_KDE= automoc4
USE_QT= corelib gui opengl phonon \

View File

@ -21,12 +21,11 @@ FLAVOR?= ${FLAVORS:[1]}
qt4_LIB_DEPENDS= libvlc.so:multimedia/vlc-qt4
qt5_LIB_DEPENDS= libvlc.so:multimedia/vlc3
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= cmake:outsource pkgconfig tar:xz
. if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= kde:4 qt:4
USE_KDE= automoc4
USE_QT= corelib gui phonon \

View File

@ -23,9 +23,6 @@ qt5_PKGNAMESUFFIX= -qt5
qt4_PLIST= ${.CURDIR}/pkg-plist.qt4
qt5_PLIST= ${.CURDIR}/pkg-plist.qt5
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= cmake compiler:c++11-lang pathfix tar:xz
CMAKE_ON= PHONON_INSTALL_QT_EXTENSIONS_INTO_SYSTEM_QT \
PHONON_NO_PLATFORMPLUGIN
@ -33,6 +30,8 @@ CMAKE_OFF= PHONON_BUILD_DESIGNER_PLUGIN:BOOL=OFF
USE_LDCONFIG= yes
. if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= kde:4 qt:4
USE_KDE= automoc4
USE_QT= corelib dbus declarative gui testlib \

View File

@ -22,9 +22,6 @@ FLAVOR?= ${FLAVORS:[1]}
qt4_PKGNAMESUFFIX= 4
qt5_PKGNAMESUFFIX= 5
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= cmake:outsource gettext gnome localbase:ldflags pathfix pkgconfig python:2.7,build
USE_GNOME= glib20 libxslt:build
USE_GSTREAMER= yes
@ -36,6 +33,8 @@ CMAKE_ARGS= -DDESIRED_QT_VERSION:STRING=${PKGNAMESUFFIX} \
-DQT_QMAKE_EXECUTABLE:FILEPATH=${QMAKE}
. if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= qt:4
USE_QT= corelib dbus gui network xml \
moc_build qmake_build qtestlib_build rcc_build uic_build

View File

@ -12,10 +12,9 @@ FLAVOR?= ${FLAVORS:[1]}
qt4_CONFLICTS_INSTALL= transmission-qt5
qt5_CONFLICTS_INSTALL= transmission-qt4
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
.if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES= qt:4
NLS_USES= gettext-runtime:run qt:4
USE_QT= moc_build linguisttools_build qmake_build rcc_build \

View File

@ -16,9 +16,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING
FLAVORS= qt5 qt4
FLAVOR?= ${FLAVORS:[1]}
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= cmake localbase:ldflags pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= frankosterfeld
@ -26,6 +23,8 @@ USE_LDCONFIG= yes
PLIST_SUB+= VERSION=${PORTVERSION}
. if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= qt:4
CMAKE_ON= BUILD_WITH_QT4
USE_QT= corelib dbus linguisttools_build moc_build rcc_build qmake_build

View File

@ -20,15 +20,14 @@ LIB_DEPENDS= libpolkit-agent-1.so:sysutils/polkit
FLAVORS= qt5 qt4
FLAVOR?= ${FLAVORS:[1]}
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= cmake:outsource gnome pkgconfig tar:bzip2
USE_GNOME= glib20
CMAKE_OFF= BUILD_EXAMPLES \
BUILD_TEST
. if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= kde:4 qt:4
USE_KDE= automoc4
USE_QT= corelib dbus gui \

View File

@ -15,9 +15,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING
FLAVORS= qt5 qt4
FLAVOR?= ${FLAVORS:[1]}
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
qt4_PKGNAMESUFFIX= -qt4
qt5_PKGNAMESUFFIX= -qt5
@ -31,6 +28,8 @@ USE_GITHUB= yes
GH_ACCOUNT= tsujan
.if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= qt:4
USE_QT= corelib gui svg rcc_build uic_build moc_build
.elif ${FLAVOR} == qt5

View File

@ -16,12 +16,11 @@ FLAVORS= qt5 qt4
FLAVOR?= ${FLAVORS:[1]}
qt4_PKGNAMESUFFIX= 4
qt5_PKGNAMESUFFIX= 5
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= cmake:outsource compiler:c++11-lib localbase pkgconfig
. if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= qt:4
USE_QT= corelib dbus gui \
moc_build rcc_build uic_build qmake_build

View File

@ -12,8 +12,6 @@ COMMENT= Qt Widgets for Technical Applications
FLAVORS= qt5 qt4
FLAVOR?= ${FLAVORS:[1]}
qt4_DEPRECATED= Qt4 has been EOL since december 2015
qt4_EXPIRATION_DATE= 2019-03-15
USES= gl gmake qmake tar:bzip2
USE_GL= gl
@ -27,6 +25,8 @@ PLIST_SUB= SHLIB_VER=${PORTVERSION} \
QMAKE_ARGS+= PLUGINDIR=${PREFIX}/${QT_PLUGINDIR_REL}
.if ${FLAVOR} == qt4
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE=2019-03-15
USES+= qt:4
USE_QT= corelib designer gui opengl svg xml moc_build rcc_build script
.else