Update textproc/hs-lhs2tex to version 1.24
[dports.git] / graphics / libqrencode / Makefile
1 # Created by: ijliao
2 # $FreeBSD$
3
4 PORTNAME=       libqrencode
5 DISTVERSION=    4.1.0
6 DISTVERSIONPREFIX=      v
7 CATEGORIES=     graphics
8
9 MAINTAINER=     vanilla@FreeBSD.org
10 COMMENT=        C library for encoding data in a QR Code symbol
11
12 LICENSE=        LGPL21
13 LICENSE_FILE=   ${WRKSRC}/COPYING
14
15 LIB_DEPENDS=    libpng.so:graphics/png
16
17 USE_GITHUB=     yes
18 GH_ACCOUNT=     fukuchi
19
20 USES=           cmake iconv pathfix pkgconfig
21 USE_LDCONFIG=   yes
22 GNU_CONFIGURE=  yes
23
24 CMAKE_ARGS=     -DBUILD_SHARED_LIBS=ON
25 PLIST_FILES=    bin/qrencode \
26                 include/qrencode.h \
27                 lib/libqrencode.so \
28                 lib/libqrencode.so.4 \
29                 lib/libqrencode.so.${PORTVERSION} \
30                 libdata/pkgconfig/libqrencode.pc \
31                 man/man1/qrencode.1.gz
32
33 post-patch:
34         @${SED} -i -e 's|share\/man\/man1|man\/man1|' \
35                 ${WRKSRC}/CMakeLists.txt
36
37 .include <bsd.port.mk>