ports/graphics/zint/Makefile
Alexey Dokuchaev 5c2da1e7de graphics/zint: update the port to version 2.13.0
While here, don't hardcode version numbers in pkg-plist.

Reported by:	portscout
2023-12-19 08:37:42 +00:00

29 lines
752 B
Makefile

PORTNAME= zint
PORTVERSION= 2.13.0
CATEGORIES= graphics
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-src
MAINTAINER= danfe@FreeBSD.org
COMMENT= Barcode generator (library and utilities)
WWW= https://www.zint.org.uk/
LICENSE= BSD3CLAUSE GPLv3+
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpng.so:graphics/png
USES= cmake compiler:c++11-lang cpe qt:5
USE_LDCONFIG= yes
USE_QT= buildtools:build qmake:build uitools:build core gui \
svg widgets
DESKTOP_ENTRIES="Zint" "Barcode generator" "" "zint-qt" "" false
PLIST_SUB+= VER=${PORTVERSION:R}
post-patch:
@${REINPLACE_CMD} -e '/^add_library/s,STATIC,SHARED,' \
${WRKSRC}/backend_qt/CMakeLists.txt
.include <bsd.port.mk>