aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/quazip/Makefile
blob: 80639d14a6e16efc65cd060ab77dc7b29a4498c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: Nicola Vitale <nivit@FreeBSD.org>
# $FreeBSD$

PORTNAME=   quazip
PORTVERSION=    0.7.3
PORTREVISION?=  0
CATEGORIES= archivers
MASTER_SITES=   SF

MAINTAINER= kde@FreeBSD.org
COMMENT=    Qt/C++ wrapper for ZIP/UNZIP package

LICENSE=    LGPL21

USES=       cmake:outsource
USE_LDCONFIG=   yes

.  if empty(PKGNAMESUFFIX)
USE_QT4=    corelib moc_build network_build qmake_build rcc_build uic_build
CMAKE_ARGS= -DBUILD_WITH_QT4:BOOL=TRUE
.  else
USE_QT5=    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>