mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
- Add LICENSE
- Pet portlint - Merge REINPLACE_CMD into patch - Regenerate patches with `make makepatch`
This commit is contained in:
parent
dbafd1388b
commit
60eea50c4a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=397840
@ -10,15 +10,15 @@ MASTER_SITES= SF/wvware/
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Library providing routines to access Microsoft Word files
|
||||
|
||||
LICENSE= LGPL20
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
|
||||
|
||||
USE_GNOME= libgsf
|
||||
GNU_CONFIGURE= yes
|
||||
USES= cmake:outsource iconv pkgconfig libtool tar:bzip2
|
||||
USES= cmake:outsource iconv libtool pkgconfig tar:bzip2
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|LIBGSF_INCLUDE_DIR|PC_LIBGSF_INCLUDE_DIRS|g' \
|
||||
-e 's|LIBGSF_LIBRARIES|PC_LIBGSF_LIBRARIES|g' \
|
||||
${WRKSRC}/CMakeLists.txt
|
||||
@${REINPLACE_CMD} -e 's|glib/giochannel.h|glib.h|g' \
|
||||
${WRKSRC}/src/olestream.h
|
||||
|
||||
|
@ -1,6 +1,15 @@
|
||||
--- CMakeLists.txt
|
||||
--- CMakeLists.txt.orig 2009-10-31 18:22:43 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -59,7 +59,9 @@
|
||||
@@ -34,7 +34,7 @@ IF( WITH_ZLIB )
|
||||
FIND_PACKAGE( ZLIB REQUIRED )
|
||||
ENDIF( WITH_ZLIB )
|
||||
|
||||
-INCLUDE_DIRECTORIES( ${GLIB2_INCLUDE_DIR} ${LIBGSF_INCLUDE_DIR} ${ICONV_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} )
|
||||
+INCLUDE_DIRECTORIES( ${GLIB2_INCLUDE_DIR} ${PC_LIBGSF_INCLUDE_DIRS} ${ICONV_INCLUDE_DIR} ${ZLIB_INCLUDE_DIR} )
|
||||
|
||||
#
|
||||
# Iconv checks
|
||||
@@ -59,7 +59,9 @@ IF( HAVE_SYS_ICONV_H )
|
||||
SET( ICONV_COMPILE_DEFINITIONS ${ICONV_COMPILE_DEFINITIONS} "-DHAVE_SYS_ICONV_H" )
|
||||
ENDIF( HAVE_SYS_ICONV_H )
|
||||
|
||||
@ -11,3 +20,14 @@
|
||||
|
||||
IF( MODERN_ICONV_RUN GREATER 0 OR NOT MODERN_ICONV_COMPILE )
|
||||
MESSAGE( STATUS "wv2 depends on a modern iconv installation, supporting UNICODELITTLE and" )
|
||||
@@ -143,8 +145,8 @@ IF( ZLIB_FOUND )
|
||||
ENDIF( ZLIB_FOUND )
|
||||
|
||||
IF( LIBGSF_FOUND )
|
||||
- SET( _WV2_LDFLAGS ${_WV2_LDFLAGS} ${LIBGSF_LIBRARIES} )
|
||||
- SET( _WV2_CFLAGS ${_WV2_CFLAGS} ${LIBGSF_INCLUDE_DIR} )
|
||||
+ SET( _WV2_LDFLAGS ${_WV2_LDFLAGS} ${PC_LIBGSF_LIBRARIES} )
|
||||
+ SET( _WV2_CFLAGS ${_WV2_CFLAGS} ${PC_LIBGSF_INCLUDE_DIRS} )
|
||||
ENDIF( LIBGSF_FOUND )
|
||||
|
||||
IF( ICONV_FOUND )
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- ./cmake/MacroCreateLibtoolFile.cmake.orig 2009-08-27 08:46:40.000000000 +1100
|
||||
+++ ./cmake/MacroCreateLibtoolFile.cmake 2009-09-18 00:46:35.000000000 +1100
|
||||
@@ -16,17 +16,18 @@
|
||||
--- cmake/MacroCreateLibtoolFile.cmake.orig 2009-10-31 18:22:43 UTC
|
||||
+++ cmake/MacroCreateLibtoolFile.cmake
|
||||
@@ -16,17 +16,18 @@ MACRO(CREATE_LIBTOOL_FILE _target _insta
|
||||
GET_TARGET_PROPERTY_WITH_DEFAULT(_target_age ${_target} LT_VERSION_AGE 0)
|
||||
GET_TARGET_PROPERTY_WITH_DEFAULT(_target_revision ${_target} LT_VERSION_REVISION 0)
|
||||
GET_TARGET_PROPERTY_WITH_DEFAULT(_target_installed ${_target} LT_INSTALLED yes)
|
||||
@ -24,7 +24,7 @@
|
||||
FILE(APPEND ${_laname} "# Names of this library.\n")
|
||||
FILE(APPEND ${_laname} "library_names='${_soname}.${_target_current}.${_target_age}.${_target_revision} ${_soname}.${_target_current} ${_soname}'\n\n")
|
||||
FILE(APPEND ${_laname} "# The name of the static archive.\n")
|
||||
@@ -35,7 +36,7 @@
|
||||
@@ -35,7 +36,7 @@ MACRO(CREATE_LIBTOOL_FILE _target _insta
|
||||
FILE(APPEND ${_laname} "dependency_libs='${_target_dependency_libs}'\n\n")
|
||||
FILE(APPEND ${_laname} "# Names of additional weak libraries provided by this library\n")
|
||||
FILE(APPEND ${_laname} "weak_library_names=''\n\n")
|
||||
|
Loading…
Reference in New Issue
Block a user