diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2023-01-25 05:31:05 +0000 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2023-01-25 06:21:47 +0000 |
commit | 9ab8ec61c30dc799a69d1b57ea625e445a18d737 (patch) | |
tree | 53eda962059d0524180a2007d43237fbd441fb4e /archivers | |
parent | e85ce0128c32742d1ec14d6fb9f8489f5bd1fa02 (diff) | |
download | ports-9ab8ec61c30dc799a69d1b57ea625e445a18d737.tar.gz ports-9ab8ec61c30dc799a69d1b57ea625e445a18d737.zip |
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/quazip/Makefile | 19 | ||||
-rw-r--r-- | archivers/quazip/pkg-plist | 50 |
2 files changed, 38 insertions, 31 deletions
diff --git a/archivers/quazip/Makefile b/archivers/quazip/Makefile index 4dcea7f599f8..0b69e749378a 100644 --- a/archivers/quazip/Makefile +++ b/archivers/quazip/Makefile @@ -1,8 +1,9 @@ PORTNAME= quazip DISTVERSIONPREFIX= v DISTVERSION= 1.4 +PORTREVISION= 1 CATEGORIES= archivers -PKGNAMESUFFIX= -qt5 +PKGNAMESUFFIX= -${FLAVOR} MAINTAINER= kde@FreeBSD.org COMMENT= Qt/C++ wrapper for ZIP/UNZIP package @@ -10,16 +11,22 @@ WWW= https://github.com/stachenov/quazip LICENSE= LGPL21 -USES= cmake compiler:c++11-lang cpe qt:5 +FLAVORS= qt5 qt6 +FLAVOR?= qt5 + +USES= cmake compiler:c++11-lang cpe qt:${FLAVOR:S/qt//} +CPE_VENDOR= quazip_project USE_GITHUB= yes GH_ACCOUNT= stachenov -CPE_VENDOR= quazip_project USE_LDCONFIG= yes -USE_QT= core network \ +_USE_QT_qt5= core network \ buildtools:build testlib:build qmake:build -CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=FALSE +_USE_QT_qt6= base 5compat +USE_QT= ${_USE_QT_${FLAVOR}} + +CMAKE_ARGS= -DQUAZIP_QT_MAJOR_VERSION=${FLAVOR:S/qt//} -PLIST_SUB= QTVER_SUFFIX=5 \ +PLIST_SUB= QTVER_SUFFIX=${FLAVOR:S/qt//} \ QUAZIP_VERSION=${DISTVERSION} .include <bsd.port.mk> diff --git a/archivers/quazip/pkg-plist b/archivers/quazip/pkg-plist index 5e89be7a4514..d94b3967a70c 100644 --- a/archivers/quazip/pkg-plist +++ b/archivers/quazip/pkg-plist @@ -1,25 +1,25 @@ -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/JlCompress.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/ioapi.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/minizip_crypt.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/quaadler32.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/quachecksum32.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/quacrc32.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/quagzipfile.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/quaziodevice.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/quazip.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/quazip_global.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/quazip_qt_compat.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/quazipdir.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/quazipfile.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/quazipfileinfo.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/quazipnewinfo.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/unzip.h -include/QuaZip-Qt5-%%QUAZIP_VERSION%%/quazip/zip.h -lib/cmake/QuaZip-Qt5-%%QUAZIP_VERSION%%/QuaZip-Qt5Config.cmake -lib/cmake/QuaZip-Qt5-%%QUAZIP_VERSION%%/QuaZip-Qt5ConfigVersion.cmake -lib/cmake/QuaZip-Qt5-%%QUAZIP_VERSION%%/QuaZip-Qt5_SharedTargets-%%CMAKE_BUILD_TYPE%%.cmake -lib/cmake/QuaZip-Qt5-%%QUAZIP_VERSION%%/QuaZip-Qt5_SharedTargets.cmake -lib/libquazip1-qt5.so -lib/libquazip1-qt5.so.%%QUAZIP_VERSION%% -lib/libquazip1-qt5.so.%%QUAZIP_VERSION%%.0 -libdata/pkgconfig/quazip1-qt5.pc +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/JlCompress.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/ioapi.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/minizip_crypt.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/quaadler32.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/quachecksum32.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/quacrc32.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/quagzipfile.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/quaziodevice.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/quazip.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/quazip_global.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/quazip_qt_compat.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/quazipdir.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/quazipfile.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/quazipfileinfo.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/quazipnewinfo.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/unzip.h +include/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/quazip/zip.h +lib/cmake/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/QuaZip-Qt%%QTVER_SUFFIX%%Config.cmake +lib/cmake/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/QuaZip-Qt%%QTVER_SUFFIX%%ConfigVersion.cmake +lib/cmake/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/QuaZip-Qt%%QTVER_SUFFIX%%_SharedTargets-%%CMAKE_BUILD_TYPE%%.cmake +lib/cmake/QuaZip-Qt%%QTVER_SUFFIX%%-%%QUAZIP_VERSION%%/QuaZip-Qt%%QTVER_SUFFIX%%_SharedTargets.cmake +lib/libquazip1-qt%%QTVER_SUFFIX%%.so +lib/libquazip1-qt%%QTVER_SUFFIX%%.so.%%QUAZIP_VERSION%% +lib/libquazip1-qt%%QTVER_SUFFIX%%.so.%%QUAZIP_VERSION%%.0 +libdata/pkgconfig/quazip1-qt%%QTVER_SUFFIX%%.pc |