bcallah 61a1b882b3 Update to quazip-0.8.1
Remove the qt5 FLAVOR; qt5 is the only supported/used version these days.
Disable the tests; they've not been updated for qt5 and aren't accessible
from the standard cmake build system.
Update all dependent ports to cope with the FLAVOR removal.
Requested by rsadowski@; improvements by sthen@
2020-01-25 22:57:56 +00:00

42 lines
983 B
Makefile

# $OpenBSD: Makefile,v 1.19 2020/01/25 22:57:56 bcallah Exp $
COMMENT = Qt/C++ wrapper for ZIP/UNZIP package
CATEGORIES = archivers
GH_ACCOUNT = stachenov
GH_PROJECT = quazip
V = 0.8.1
GH_TAGNAME = v$V
PKGNAME = quazip-qt5-$V
SHARED_LIBS += quazip5 3.0 # 1.0
HOMEPAGE = https://stachenov.github.io/quazip/
MAINTAINER = Brian Callahan <bcallah@openbsd.org>
# LGPLv2.1 with static linking exception
PERMIT_PACKAGE = Yes
WANTLIB += ${COMPILER_LIBCXX} Qt5Core m z
COMPILER = base-clang ports-gcc base-gcc
MODULES = devel/cmake \
x11/qt5
NO_TEST = Yes
# Add back devel/qmake to MODULES if fixing tests
# qmake.port.mk is used for tests only
#MODQMAKE_PROJECTS = qztest/qztest.pro
#do-test:
# mkdir -p ${WRKBUILD}/qztest
# ln -sf ../libquazip5.so.${LIBquazip5_VERSION} ${WRKBUILD}/quazip/libquazip5.so.${LIBquazip5_VERSION}
# ${MODQMAKE_configure}
# ${MODQMAKE_build}
# cd ${WRKBUILD}/qztest; \
# env LD_LIBRARY_PATH=${WRKBUILD}/quazip ./qztest
.include <bsd.port.mk>