1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/devel/zziplib/Makefile
2021-04-06 16:31:07 +02:00

46 lines
1.0 KiB
Makefile

# Created by: George Reid <greid@ukug.uk.freebsd.org>
PORTNAME= zziplib
PORTVERSION= 0.13.72
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Library to provide transparent read access to zipped files
LICENSE= LGPL21 MPL11
LICENSE_COMB= dual
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB
LICENSE_FILE_MPL11= ${WRKSRC}/docs/COPYING.MPL
BUILD_DEPENDS= bash:shells/bash
USES= cmake compiler:c11
USE_GITHUB= yes
GH_ACCOUNT= gdraheim
CMAKE_ON= BUILD_SHARED_LIBS ZZIP_LIBTOOL ZZIP_PKGCONFIG ZZIPBINS ZZIPFSEEKO ZZIPMMAPPED ZZIPWRAP
CMAKE_OFF= BUILD_STATIC_LIBS
TEST_TARGET= check
USE_LDCONFIG= yes
PORTSCOUT= limit:^0\.
OPTIONS_DEFINE= MANPAGES SDL TEST
OPTIONS_DEFAULT=MANPAGES
OPTIONS_SUB= yes
MANPAGES_CMAKE_BOOL= ZZIPDOCS
MANPAGES_USES= python:3.6+,build shebangfix
MANPAGES_VARS= SHEBANG_GLOB=*.py
SDL_CMAKE_BOOL= ZZIPSDL
SDL_USE= SDL=sdl2
SDL_USES= libtool:ldflags sdl
TEST_BUILD_DEPENDS= zip:archivers/zip
TEST_CMAKE_BOOL= BUILD_TESTS ZZIPTEST
TEST_CMAKE_BOOL_OFF= ZZIP_TESTCVE
.include <bsd.port.mk>