svn commit: r435212 - head/graphics/libqrencode
Vanilla I. Shu
vanilla at FreeBSD.org
Thu Mar 2 08:00:56 UTC 2017
Author: vanilla
Date: Thu Mar 2 08:00:55 2017
New Revision: 435212
URL: https://svnweb.freebsd.org/changeset/ports/435212
Log:
1: Update to 3.9.0
2: add LICENSE_FILE.
3: switch to github.
Modified:
head/graphics/libqrencode/Makefile
head/graphics/libqrencode/distinfo
Modified: head/graphics/libqrencode/Makefile
==============================================================================
--- head/graphics/libqrencode/Makefile Thu Mar 2 07:49:53 2017 (r435211)
+++ head/graphics/libqrencode/Makefile Thu Mar 2 08:00:55 2017 (r435212)
@@ -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 at 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>
Modified: head/graphics/libqrencode/distinfo
==============================================================================
--- head/graphics/libqrencode/distinfo Thu Mar 2 07:49:53 2017 (r435211)
+++ head/graphics/libqrencode/distinfo Thu Mar 2 08:00:55 2017 (r435212)
@@ -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
More information about the svn-ports-all
mailing list