Changeset View
Changeset View
Standalone View
Standalone View
archivers/quazip/Makefile
# Created by: Nicola Vitale <nivit@FreeBSD.org> | # Created by: Nicola Vitale <nivit@FreeBSD.org> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= quazip | PORTNAME= quazip | ||||
DISTVERSION= 0.7.3 | DISTVERSION= 0.7.3 | ||||
PORTREVISION= 1 | PORTREVISION= 2 | ||||
CATEGORIES= archivers | CATEGORIES= archivers | ||||
MASTER_SITES= SF | MASTER_SITES= SF | ||||
PKGNAMESUFFIX= -${FLAVOR} | PKGNAMESUFFIX= -${FLAVOR} | ||||
MAINTAINER= kde@FreeBSD.org | MAINTAINER= kde@FreeBSD.org | ||||
COMMENT= Qt/C++ wrapper for ZIP/UNZIP package | COMMENT= Qt/C++ wrapper for ZIP/UNZIP package | ||||
LICENSE= LGPL21 | LICENSE= LGPL21 | ||||
FLAVORS= qt4 qt5 | FLAVORS= qt4 qt5 | ||||
FLAVOR?= ${FLAVORS:[1]} | FLAVOR?= ${FLAVORS:[2]} | ||||
qt4_DEPRECATED= Qt4 has been EOL since december 2015 | |||||
qt4_EXPIRATION_DATE= 2019-03-15 | |||||
USES= cmake:outsource | USES= cmake:outsource | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
. if ${FLAVOR} == qt4 | . if ${FLAVOR} == qt4 | ||||
USES+= qt:4 | USES+= qt:4 | ||||
USE_QT= corelib moc_build network_build qmake_build rcc_build uic_build | USE_QT= corelib moc_build network_build qmake_build rcc_build uic_build | ||||
CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=TRUE | CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=TRUE | ||||
. else | . else | ||||
rene: Hmm, so how would we handle removed flavors? One way would be to manually edit the affected… | |||||
Done Inline ActionsI would just go through the list in march and remove the Qt4 flavors by hand mid march (removing the lines you mentioned). I don't think this can be done savely by a script. For most the ports affected here, this would basically be a de-flavoring, as @qt5 would be the only flavor then, so FLAVORS should be removed completely for them. tcberner: I would just go through the list in march and remove the Qt4 flavors by hand mid march… | |||||
USES+= compiler:c++11-lang qt:5 | USES+= compiler:c++11-lang qt:5 | ||||
USE_QT= core buildtools_build qmake_build | USE_QT= core buildtools_build qmake_build | ||||
CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=FALSE | CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=FALSE | ||||
QTVER_SUFFIX= 5 | QTVER_SUFFIX= 5 | ||||
. endif | . endif | ||||
PLIST_SUB= QTVER_SUFFIX="${QTVER_SUFFIX}" | PLIST_SUB= QTVER_SUFFIX="${QTVER_SUFFIX}" | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Hmm, so how would we handle removed flavors? One way would be to manually edit the affected ports (so for this port it would affect line 16 and lines 25-29 and 34)