1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/graphics/libqrencode/Makefile
Vanilla I. Shu 9a000af85b 1: upgrade to 4.0.0.
2: chrase shared library version.
2017-09-23 02:59:07 +00:00

38 lines
744 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= libqrencode
DISTVERSION= 4.0.0
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
USE_GITHUB= yes
GH_ACCOUNT= fukuchi
USES= cmake iconv pathfix pkgconfig
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.4.0.0 \
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>