diff options
author | Tobias C. Berner <tcberner@FreeBSD.org> | 2018-03-11 18:05:42 +0800 |
---|---|---|
committer | Tobias C. Berner <tcberner@FreeBSD.org> | 2018-03-11 18:05:42 +0800 |
commit | 9870e21a41db6feb9309808dcc8183b8becd704a (patch) | |
tree | 00171acdfce93a0b16b627e2f4add8474ac7da35 /archivers | |
parent | a7c4ac431f63ec0c92ddc979e1283935626bf7cc (diff) | |
download | freebsd-ports-gnome-9870e21a41db6feb9309808dcc8183b8becd704a.tar.gz freebsd-ports-gnome-9870e21a41db6feb9309808dcc8183b8becd704a.tar.zst freebsd-ports-gnome-9870e21a41db6feb9309808dcc8183b8becd704a.zip |
Convert archivers/quazip and archivers/quazip-qt5 into flavors
Approved by: portmgr (mat)
Differential Revision: https://reviews.freebsd.org/D14640
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/Makefile | 1 | ||||
-rw-r--r-- | archivers/quazip-qt5/Makefile | 9 | ||||
-rw-r--r-- | archivers/quazip/Makefile | 10 |
3 files changed, 7 insertions, 13 deletions
diff --git a/archivers/Makefile b/archivers/Makefile index b1c48ed323d8..bb7ec1a4e95c 100644 --- a/archivers/Makefile +++ b/archivers/Makefile @@ -196,7 +196,6 @@ SUBDIR += py-zstd SUBDIR += qpress SUBDIR += quazip - SUBDIR += quazip-qt5 SUBDIR += rar SUBDIR += rox-archive SUBDIR += rpm2cpio diff --git a/archivers/quazip-qt5/Makefile b/archivers/quazip-qt5/Makefile deleted file mode 100644 index 7a1db989024a..000000000000 --- a/archivers/quazip-qt5/Makefile +++ /dev/null @@ -1,9 +0,0 @@ -# $FreeBSD$ - -PORTNAME= quazip -PORTREVISION= 0 -PKGNAMESUFFIX= -qt5 - -MASTERDIR= ${.CURDIR:H}/quazip - -.include "${MASTERDIR}/Makefile" diff --git a/archivers/quazip/Makefile b/archivers/quazip/Makefile index 80639d14a6e1..e104a74238ba 100644 --- a/archivers/quazip/Makefile +++ b/archivers/quazip/Makefile @@ -2,20 +2,24 @@ # $FreeBSD$ PORTNAME= quazip -PORTVERSION= 0.7.3 -PORTREVISION?= 0 +DISTVERSION= 0.7.3 +PORTREVISION= 1 CATEGORIES= archivers MASTER_SITES= SF +PKGNAMESUFFIX= -${FLAVOR} MAINTAINER= kde@FreeBSD.org COMMENT= Qt/C++ wrapper for ZIP/UNZIP package LICENSE= LGPL21 +FLAVORS= qt4 qt5 +FLAVOR?= ${FLAVORS:[1]} + USES= cmake:outsource USE_LDCONFIG= yes -. if empty(PKGNAMESUFFIX) +. if ${FLAVOR} == qt4 USE_QT4= corelib moc_build network_build qmake_build rcc_build uic_build CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=TRUE . else |