aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/wbxml2
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2009-09-03 00:44:02 +0800
committermiwi <miwi@FreeBSD.org>2009-09-03 00:44:02 +0800
commit13041b3c4a081a876e0774f0d1fe7adc8f8239de (patch)
tree0d8dc84f7ab4e3713bf8a56b80c42cdee8c4a9da /textproc/wbxml2
parent67096abc3380a8c94cbacfe02014f50cfff675de (diff)
downloadfreebsd-ports-gnome-13041b3c4a081a876e0774f0d1fe7adc8f8239de.tar.gz
freebsd-ports-gnome-13041b3c4a081a876e0774f0d1fe7adc8f8239de.tar.zst
freebsd-ports-gnome-13041b3c4a081a876e0774f0d1fe7adc8f8239de.zip
- Update to 0.10.7
PR: 138458 Submitted by: Ports Fury
Diffstat (limited to 'textproc/wbxml2')
-rw-r--r--textproc/wbxml2/Makefile31
-rw-r--r--textproc/wbxml2/distinfo6
-rw-r--r--textproc/wbxml2/files/patch-CMakeLists.txt29
-rw-r--r--textproc/wbxml2/pkg-plist25
4 files changed, 52 insertions, 39 deletions
diff --git a/textproc/wbxml2/Makefile b/textproc/wbxml2/Makefile
index 15236ad8964c..6a56ae09cfdd 100644
--- a/textproc/wbxml2/Makefile
+++ b/textproc/wbxml2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= wbxml2
-PORTVERSION= 0.10.6
+PORTVERSION= 0.10.7
CATEGORIES= textproc devel
MASTER_SITES= SF/libwbxml/libwbxml/${PORTVERSION}
DISTNAME= libwbxml-${PORTVERSION}
@@ -16,20 +16,27 @@ COMMENT= Library & tools for converting wbxml<->xml
LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
-USE_BZIP2= YES
-USE_CMAKE= YES
+WRKSRC= ${WRKDIR}/libwbxml-${PORTVERSION}
+CONFIGURE_WRKSRC= ${WRKDIR}/libwbxml-${PORTVERSION}/build
+BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
+INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
-WRKSRC= ${WRKDIR}/libwbxml-${PORTVERSION}/build
-CMAKE_SOURCE_PATH=..
-PATCH_WRKSRC= ${WRKDIR}/libwbxml-${PORTVERSION}
-.if defined(NOPORTDOCS)
-EXTRA_PATCHES= ${FILESDIR}/noportdocs-CMakeLists.txt.diff
-.endif
+USE_BZIP2= yes
+USE_CMAKE= yes
+CMAKE_SOURCE_PATH= ..
+USE_LDCONFIG= yes
-pre-patch:
- @cd ${PATCH_WRKSRC}
+DOCSDIR= ${PREFIX}/share/doc/libwbxml
post-extract:
- ${MKDIR} ${WRKSRC}
+ @${MKDIR} ${CONFIGURE_WRKSRC}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for file in AUTHORS BUGS ChangeLog NEWS README References THANKS TODO
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
+.endfor
+.endif
.include <bsd.port.mk>
diff --git a/textproc/wbxml2/distinfo b/textproc/wbxml2/distinfo
index e286af43eb20..a5ae626ae670 100644
--- a/textproc/wbxml2/distinfo
+++ b/textproc/wbxml2/distinfo
@@ -1,3 +1,3 @@
-MD5 (libwbxml-0.10.6.tar.bz2) = 2befb9116a82915f7ed4af0820d80a44
-SHA256 (libwbxml-0.10.6.tar.bz2) = 5cb7b5d63c88e6baf4a57e5e6157591de815d9582ee110f85a744c705571aab1
-SIZE (libwbxml-0.10.6.tar.bz2) = 349749
+MD5 (libwbxml-0.10.7.tar.bz2) = 1f65a3f836df395a7839f3d331b0c6e7
+SHA256 (libwbxml-0.10.7.tar.bz2) = a584a8fbc7dd5c6fa2561c35dda95147fa590bc0c19342c080f9c8253d56ddd6
+SIZE (libwbxml-0.10.7.tar.bz2) = 349840
diff --git a/textproc/wbxml2/files/patch-CMakeLists.txt b/textproc/wbxml2/files/patch-CMakeLists.txt
index ddfc3a10b857..9a73f40b8c2f 100644
--- a/textproc/wbxml2/files/patch-CMakeLists.txt
+++ b/textproc/wbxml2/files/patch-CMakeLists.txt
@@ -1,11 +1,20 @@
---- CMakeLists.txt.orig 2009-04-24 14:49:51.000000000 +0000
-+++ CMakeLists.txt 2009-04-26 09:57:23.953012704 +0000
-@@ -174,7 +174,7 @@
- ENDIF( ENABLE_INSTALL_DOC )
+--- CMakeLists.txt.orig 2009-05-12 20:43:10.000000000 +0900
++++ CMakeLists.txt 2009-08-12 05:53:35.000000000 +0900
+@@ -36,7 +36,7 @@
- # todo: add requires in pc file
--INSTALL( FILES "${CMAKE_CURRENT_BINARY_DIR}/libwbxml2.pc" DESTINATION "${LIBDATA_INSTALL_DIR}/pkgconfig/" )
-+INSTALL( FILES "${CMAKE_CURRENT_BINARY_DIR}/libwbxml2.pc" DESTINATION "${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig/" )
- # status output
- INCLUDE( ShowStatus )
- MESSAGE( STATUS "==================================================" )
+ SET( LIB_SUFFIX "" CACHE STRING "The library directory suffix. 32bit empty string, 64 for 64bit." )
+ SET( LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE INTERNAL "libary location" )
+-SET( LIBDATA_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}" CACHE PATH "The library data directory" )
++SET( LIBDATA_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/libdata" CACHE PATH "The library data directory" )
+ SET( BIN_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE INTERNAL "binary location" )
+ SET( SHARE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/share" CACHE INTERNAL "data location" )
+ SET( INCLUDE_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/include" CACHE INTERNAL "headers location" )
+@@ -176,7 +176,7 @@
+ # ADD_CUSTOM_TARGET( DoxygenDoc )
+ # ADD_DEPENDENCIES( DoxygenDoc DoxygenDocLibrary DoxygenDocTools )
+ #ENDIF ( BUILD_DOCUMENTATION )
+-OPTION( ENABLE_INSTALL_DOC "install documentation" ON )
++OPTION( ENABLE_INSTALL_DOC "install documentation" OFF )
+ IF( ENABLE_INSTALL_DOC )
+ ADD_DOCUMENTATION( TEXT FILE ${CMAKE_SOURCE_DIR}/AUTHORS )
+ ADD_DOCUMENTATION( TEXT FILE ${CMAKE_SOURCE_DIR}/BUGS )
diff --git a/textproc/wbxml2/pkg-plist b/textproc/wbxml2/pkg-plist
index 673f5a04eaab..b81300192500 100644
--- a/textproc/wbxml2/pkg-plist
+++ b/textproc/wbxml2/pkg-plist
@@ -4,6 +4,7 @@ include/wbxml.h
include/wbxml_base64.h
include/wbxml_buffers.h
include/wbxml_charset.h
+include/wbxml_config.h
include/wbxml_conv.h
include/wbxml_elt.h
include/wbxml_encoder.h
@@ -17,20 +18,16 @@ include/wbxml_tables.h
include/wbxml_tree.h
include/wbxml_tree_clb_wbxml.h
include/wbxml_tree_clb_xml.h
-include/wbxml_config.h
lib/libwbxml2.so
lib/libwbxml2.so.0
-lib/libwbxml2.so.0.0.15
+lib/libwbxml2.so.0.0.16
libdata/pkgconfig/libwbxml2.pc
-%%PORTDOCS%%share/doc/libwbxml/AUTHORS
-%%PORTDOCS%%share/doc/libwbxml/BUGS
-%%PORTDOCS%%share/doc/libwbxml/COPYING
-%%PORTDOCS%%share/doc/libwbxml/ChangeLog
-%%PORTDOCS%%share/doc/libwbxml/GNU-LGPL
-%%PORTDOCS%%share/doc/libwbxml/INSTALL
-%%PORTDOCS%%share/doc/libwbxml/NEWS
-%%PORTDOCS%%share/doc/libwbxml/README
-%%PORTDOCS%%share/doc/libwbxml/References
-%%PORTDOCS%%share/doc/libwbxml/THANKS
-%%PORTDOCS%%share/doc/libwbxml/TODO
-%%PORTDOCS%%@dirrm share/doc/libwbxml
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/BUGS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/References
+%%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+%%PORTDOCS%%@dirrm %%DOCSDIR%%