1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/graphics/libqrencode/Makefile
2021-04-06 16:31:07 +02:00

36 lines
740 B
Makefile

# Created by: ijliao
PORTNAME= libqrencode
PORTVERSION= 4.1.1
DISTVERSIONPREFIX= v
CATEGORIES= graphics
MAINTAINER= vanilla@FreeBSD.org
COMMENT= C library for encoding data in a QR Code symbol
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libpng.so:graphics/png
USES= cmake iconv pathfix pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= fukuchi
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON
PLIST_FILES= bin/qrencode \
include/qrencode.h \
lib/libqrencode.so \
lib/libqrencode.so.4 \
lib/libqrencode.so.${PORTVERSION} \
libdata/pkgconfig/libqrencode.pc \
man/man1/qrencode.1.gz
post-patch:
@${SED} -i -e 's|share\/man\/man1|man\/man1|' \
${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>