aboutsummaryrefslogtreecommitdiff
path: root/graphics/libqrencode
diff options
context:
space:
mode:
authorVanilla I. Shu <vanilla@FreeBSD.org>2017-09-23 02:59:07 +0000
committerVanilla I. Shu <vanilla@FreeBSD.org>2017-09-23 02:59:07 +0000
commit9a000af85bd980141a9f4eff36545cdd801d7dfe (patch)
tree9cc694b61d31251f5000cae16df808c22d29b05e /graphics/libqrencode
parent5e26479a64a1aeaf7957a39b68b6ec6d63ae10a7 (diff)
downloadports-9a000af85bd980141a9f4eff36545cdd801d7dfe.tar.gz
ports-9a000af85bd980141a9f4eff36545cdd801d7dfe.zip
Notes
Diffstat (limited to 'graphics/libqrencode')
-rw-r--r--graphics/libqrencode/Makefile9
-rw-r--r--graphics/libqrencode/distinfo6
-rw-r--r--graphics/libqrencode/files/patch-CMakeLists.txt27
3 files changed, 7 insertions, 35 deletions
diff --git a/graphics/libqrencode/Makefile b/graphics/libqrencode/Makefile
index 839edb41af9b..2c8e3f0387bf 100644
--- a/graphics/libqrencode/Makefile
+++ b/graphics/libqrencode/Makefile
@@ -2,8 +2,8 @@
# $FreeBSD$
PORTNAME= libqrencode
-PORTVERSION= 3.9.0
-PORTREVISION= 1
+DISTVERSION= 4.0.0
+DISTVERSIONPREFIX= v
CATEGORIES= graphics
MAINTAINER= vanilla@FreeBSD.org
@@ -16,7 +16,6 @@ LIB_DEPENDS= libpng.so:graphics/png
USE_GITHUB= yes
GH_ACCOUNT= fukuchi
-GH_TAGNAME= e3410bf
USES= cmake iconv pathfix pkgconfig
USE_LDCONFIG= yes
@@ -26,8 +25,8 @@ CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON
PLIST_FILES= bin/qrencode \
include/qrencode.h \
lib/libqrencode.so \
- lib/libqrencode.so.3 \
- lib/libqrencode.so.3.9.0 \
+ lib/libqrencode.so.4 \
+ lib/libqrencode.so.4.0.0 \
libdata/pkgconfig/libqrencode.pc \
man/man1/qrencode.1.gz
diff --git a/graphics/libqrencode/distinfo b/graphics/libqrencode/distinfo
index 394801b75575..24ef49a4ed5a 100644
--- a/graphics/libqrencode/distinfo
+++ b/graphics/libqrencode/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1488428047
-SHA256 (fukuchi-libqrencode-3.9.0-e3410bf_GH0.tar.gz) = 732ecb203b498107b3c6bac1a978a9a88e1eaacf04ae831712193623f9914fde
-SIZE (fukuchi-libqrencode-3.9.0-e3410bf_GH0.tar.gz) = 182687
+TIMESTAMP = 1506064797
+SHA256 (fukuchi-libqrencode-v4.0.0_GH0.tar.gz) = c2c8a8110354463a3332cb48abf8581c8d94136af4dc1418f891cc9c7719e3c1
+SIZE (fukuchi-libqrencode-v4.0.0_GH0.tar.gz) = 182791
diff --git a/graphics/libqrencode/files/patch-CMakeLists.txt b/graphics/libqrencode/files/patch-CMakeLists.txt
deleted file mode 100644
index b1d5d2a954b4..000000000000
--- a/graphics/libqrencode/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,27 +0,0 @@
---- CMakeLists.txt.orig 2017-02-05 05:47:23 UTC
-+++ CMakeLists.txt
-@@ -101,10 +101,17 @@ if(BUILD_SHARED_LIBS)
- set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON)
- endif()
- add_library(qrencode SHARED ${QRENCODE_SRCS} ${QRENCODE_HDRS})
-+ set_target_properties(qrencode PROPERTIES VERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH} SOVERSION ${PROJECT_VERSION_MAJOR})
- else()
- add_library(qrencode ${QRENCODE_SRCS} ${QRENCODE_HDRS})
- endif()
-
-+set(prefix "${CMAKE_INSTALL_PREFIX}")
-+set(exec_prefix "${CMAKE_INSTALL_PREFIX}/bin")
-+set(libdir "${CMAKE_INSTALL_PREFIX}/lib")
-+set(includedir "${CMAKE_INSTALL_PREFIX}/include")
-+set(VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
-+
- configure_file(qrencode.1.in qrencode.1 @ONLY)
- configure_file(libqrencode.pc.in libqrencode.pc @ONLY)
-
-@@ -166,4 +173,4 @@ message(STATUS " Project configuration:"
- message(STATUS " .. Build test programs ........ = ${WITH_TESTS}" )
- message(STATUS " .. Build utility tools ........ = ${WITH_TOOLS}" )
- message(STATUS " .. Installation prefix ......... = ${CMAKE_INSTALL_PREFIX}" )
--message(STATUS "------------------------------------------------------------ ")
-\ No newline at end of file
-+message(STATUS "------------------------------------------------------------ ")