View | Details | Raw Unified | Return to bug 201138
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 1-7 Link Here
1
# $FreeBSD$
1
# $FreeBSD$
2
2
3
PORTNAME=	pugixml
3
PORTNAME=	pugixml
4
PORTVERSION=	1.4
4
PORTVERSION=	1.6
5
CATEGORIES=	textproc
5
CATEGORIES=	textproc
6
MASTER_SITES=	http://github.com/zeux/pugixml/releases/download/v${PORTVERSION}/
6
MASTER_SITES=	http://github.com/zeux/pugixml/releases/download/v${PORTVERSION}/
7
7
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (pugixml-1.4.tar.gz) = 9c8802269cee1a48ab269d4055b910216bdf878cccde286dcae9c25813e6fa87
1
SHA256 (pugixml-1.6.tar.gz) = 473705c496d45ee6a74f73622b175dfb5dde0de372c4dc61a5acb964516cd9de
2
SIZE (pugixml-1.4.tar.gz) = 369290
2
SIZE (pugixml-1.6.tar.gz) = 346616
(-)files/patch-scripts_CMakeLists.txt (-9 / +15 lines)
Lines 1-8 Link Here
1
--- ./scripts/CMakeLists.txt.orig	2014-08-23 08:28:21.562183999 -0400
1
--- scripts/CMakeLists.txt.orig	2015-03-25 03:19:09 UTC
2
+++ ./scripts/CMakeLists.txt	2014-08-23 08:41:29.301439998 -0400
2
+++ scripts/CMakeLists.txt
3
@@ -10,13 +10,11 @@
3
@@ -16,19 +16,16 @@ if(DEFINED BUILD_DEFINES)
4
 set(HEADERS ../src/pugixml.hpp ../src/pugiconfig.hpp)
4
 	add_definitions(${BUILD_DEFINES})
5
 set(SOURCES ${HEADERS} ../src/pugixml.cpp)
5
 endif()
6
 
6
 
7
-if(BUILD_SHARED_LIBS)
7
-if(BUILD_SHARED_LIBS)
8
-    add_library(pugixml SHARED ${SOURCES})
8
-    add_library(pugixml SHARED ${SOURCES})
Lines 12-20 Link Here
12
+add_library(pugixml SHARED ${SOURCES})
12
+add_library(pugixml SHARED ${SOURCES})
13
+add_library(pugixml_static STATIC ${SOURCES})
13
+add_library(pugixml_static STATIC ${SOURCES})
14
 
14
 
15
 set_target_properties(pugixml PROPERTIES VERSION 1.4 SOVERSION 1)
15
 set_target_properties(pugixml PROPERTIES VERSION 1.6 SOVERSION 1)
16
+set_target_properties(pugixml_static PROPERTIES OUTPUT_NAME pugixml)
16
+set_target_properties(pugixml_static PROPERTIES OUTPUT_NAME pugixml)
17
 
17
 
18
-install(TARGETS pugixml LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
18
-install(TARGETS pugixml EXPORT pugixml-config 
19
+install(TARGETS pugixml pugixml_static LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
19
+install(TARGETS pugixml pugixml_static
20
 install(FILES ${HEADERS} DESTINATION include)
20
 	ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
21
 	LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
22
 	RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
23
 )
24
 
25
 install(FILES ${HEADERS} DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
26
-install(EXPORT pugixml-config DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/pugixml)
(-)pkg-descr (-1 / +1 lines)
Lines 7-10 Link Here
7
* Full Unicode support with Unicode interface variants and automatic encoding
7
* Full Unicode support with Unicode interface variants and automatic encoding
8
  conversions
8
  conversions
9
9
10
WWW: http://pugixml.com/
10
WWW: http://pugixml.org/
(-)pkg-plist (-1 / +1 lines)
Lines 3-6 Link Here
3
lib/libpugixml.a
3
lib/libpugixml.a
4
lib/libpugixml.so
4
lib/libpugixml.so
5
lib/libpugixml.so.1
5
lib/libpugixml.so.1
6
lib/libpugixml.so.1.4
6
lib/libpugixml.so.1.6

Return to bug 201138