aboutsummaryrefslogtreecommitdiff
path: root/graphics/libqrencode
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2017-03-02 08:00:55 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2017-03-02 08:00:55 +0000
commit4bb7f985375742f6caf821632fb0bd1b94667cf6 (patch)
tree6868a4ffa63589bbbdb70ccef8e109a91de2715d /graphics/libqrencode
parent0f1750e469976d2800d6f6f827508ce0d7283f1b (diff)
downloadports-4bb7f985375742f6caf821632fb0bd1b94667cf6.tar.gz
ports-4bb7f985375742f6caf821632fb0bd1b94667cf6.zip
Notes
Diffstat (limited to 'graphics/libqrencode')
-rw-r--r--graphics/libqrencode/Makefile21
-rw-r--r--graphics/libqrencode/distinfo5
2 files changed, 13 insertions, 13 deletions
diff --git a/graphics/libqrencode/Makefile b/graphics/libqrencode/Makefile
index 56fbf3d215bb..e01198c8b27a 100644
--- a/graphics/libqrencode/Makefile
+++ b/graphics/libqrencode/Makefile
@@ -2,36 +2,35 @@
# $FreeBSD$
PORTNAME= libqrencode
-PORTVERSION= 3.4.4
-PORTREVISION= 1
+PORTVERSION= 3.9.0
CATEGORIES= graphics
-MASTER_SITES= http://fukuchi.org/works/qrencode/
DISTNAME= qrencode-${PORTVERSION}
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= pathfix pkgconfig libtool
+USE_GITHUB= yes
+GH_ACCOUNT= fukuchi
+GH_TAGNAME= e3410bf
+
+USES= cmake iconv pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
-INSTALL_TARGET= install-strip
-LDFLAGS+= -L${LOCALBASE}/lib
-CFLAGS+= -I${LOCALBASE}/include
+CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON
PLIST_FILES= bin/qrencode \
include/qrencode.h \
lib/libqrencode.so \
- lib/libqrencode.so.3 \
- lib/libqrencode.so.3.4.4 \
libdata/pkgconfig/libqrencode.pc \
man/man1/qrencode.1.gz
post-patch:
- @${REINPLACE_CMD} -e 's,libpng12,libpng,' ${WRKSRC}/configure
- @${REINPLACE_CMD} -e '9s|$$| -lpthread|' ${WRKSRC}/libqrencode.pc.in
+ @${SED} -i -e 's|share\/man\/man1|man\/man1|' \
+ ${WRKSRC}/CMakeLists.txt
.include <bsd.port.mk>
diff --git a/graphics/libqrencode/distinfo b/graphics/libqrencode/distinfo
index 3f6eb39b0f27..837340aa356b 100644
--- a/graphics/libqrencode/distinfo
+++ b/graphics/libqrencode/distinfo
@@ -1,2 +1,3 @@
-SHA256 (qrencode-3.4.4.tar.gz) = e794e26a96019013c0e3665cb06b18992668f352c5553d0a553f5d144f7f2a72
-SIZE (qrencode-3.4.4.tar.gz) = 468788
+TIMESTAMP = 1488428047
+SHA256 (qrencode-3.9.0_GH0.tar.gz) = 732ecb203b498107b3c6bac1a978a9a88e1eaacf04ae831712193623f9914fde
+SIZE (qrencode-3.9.0_GH0.tar.gz) = 182687