Index: head/graphics/libqrencode/Makefile =================================================================== --- head/graphics/libqrencode/Makefile (revision 435387) +++ head/graphics/libqrencode/Makefile (revision 435388) @@ -1,36 +1,39 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= libqrencode PORTVERSION= 3.9.0 +PORTREVISION= 1 CATEGORIES= graphics 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 USE_GITHUB= yes GH_ACCOUNT= fukuchi GH_TAGNAME= e3410bf 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.3 \ + lib/libqrencode.so.3.9.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 Index: head/graphics/libqrencode/files/patch-CMakeLists.txt =================================================================== --- head/graphics/libqrencode/files/patch-CMakeLists.txt (nonexistent) +++ head/graphics/libqrencode/files/patch-CMakeLists.txt (revision 435388) @@ -0,0 +1,27 @@ +--- 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 "------------------------------------------------------------ ") Property changes on: head/graphics/libqrencode/files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property