While here, chase some KDE4 ports and functionality, these are scheduled for removal on 2018-12-31. Change the default option/flavor to QT5 where applicable or use alternative toolkits like GTK. Submitted by: tcberner Reviewed by: adridg, jhale, rene, tcberner Approved by: portmgr (implicit, flavor hook) Differential Revision: https://reviews.freebsd.org/D17741
38 lines
806 B
Makefile
38 lines
806 B
Makefile
# Created by: Nicola Vitale <nivit@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= quazip
|
|
DISTVERSION= 0.7.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= archivers
|
|
MASTER_SITES= SF
|
|
PKGNAMESUFFIX= -${FLAVOR}
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= Qt/C++ wrapper for ZIP/UNZIP package
|
|
|
|
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
|
|
USES+= qt:4
|
|
USE_QT= corelib moc_build network_build qmake_build rcc_build uic_build
|
|
CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=TRUE
|
|
. else
|
|
USES+= compiler:c++11-lang qt:5
|
|
USE_QT= core buildtools_build qmake_build
|
|
CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=FALSE
|
|
QTVER_SUFFIX= 5
|
|
. endif
|
|
|
|
PLIST_SUB= QTVER_SUFFIX="${QTVER_SUFFIX}"
|
|
|
|
.include <bsd.port.mk>
|