diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2011-09-14 07:38:20 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2011-09-14 07:38:20 +0000 |
commit | 89583e1a3f8c3106f1ac6a7cc75d2b68592637c4 (patch) | |
tree | 6672a21ac51d5ae8eb31bddd7a5210fb77c32687 /textproc/zorba/files/patch-swig-java_CMakeLists.txt | |
parent | - Update to 7.11 (diff) |
- New port: textproc/zorba
Zorba is a general purpose XQuery processor implementing in C++ the W3C
family of specifications. The query processor has been designed to be
embeddable in a variety of environments such as other programming languages
extended with XML processing capabilities, browsers, database servers, XML
message dispatchers, or smartphones. Zorba can be accessed through APIs from
C, C++, Ruby, Python, Java, and PHP. Zorba runs on most platforms and is
available under the Apache license v2.
WWW: http://www.zorba-xquery.com
Diffstat (limited to 'textproc/zorba/files/patch-swig-java_CMakeLists.txt')
-rw-r--r-- | textproc/zorba/files/patch-swig-java_CMakeLists.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/textproc/zorba/files/patch-swig-java_CMakeLists.txt b/textproc/zorba/files/patch-swig-java_CMakeLists.txt new file mode 100644 index 000000000000..b9fd4e831052 --- /dev/null +++ b/textproc/zorba/files/patch-swig-java_CMakeLists.txt @@ -0,0 +1,28 @@ +--- swig/java/CMakeLists.txt.orig 2011-08-23 09:11:30.000000000 +0200 ++++ swig/java/CMakeLists.txt 2011-08-23 09:17:55.000000000 +0200 +@@ -12,6 +12,8 @@ + # See the License for the specific language governing permissions and + # limitations under the License. + ++IF (WITH_JAVA) ++ + FIND_PACKAGE ( Java ) + include ( FindJNI ) + +@@ -62,8 +64,8 @@ + INSTALL(FILES ${JAVA_SWIG_FILES} DESTINATION ${JAVA_SITEARCH_DIR}) + ELSE ( APPLE ) + IF(NOT WIN32) +- INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libzorba_api.so DESTINATION ${JAVA_SITEARCH_DIR}) +- INSTALL(FILES ${JAVA_SWIG_FILES} DESTINATION ${JAVA_SITEARCH_DIR}) ++ INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libzorba_api.so DESTINATION ${JAVA_LIBDIR}) ++ INSTALL(FILES ${JAVA_SWIG_FILES} DESTINATION ${JAVA_LIBDIR}) + ELSE(NOT WIN32) + INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/libzorba_api.dll DESTINATION bin/java/org/zorbaxquery/api ) + INSTALL(FILES ${JAVA_SWIG_FILES} DESTINATION bin/java/org/zorbaxquery/api ) +@@ -73,3 +75,5 @@ + ELSE (JAVA_INCLUDE_PATH) + MESSAGE ( STATUS "SWIG Java: not generating JAVA API because jni headers not found.") + ENDIF (JAVA_INCLUDE_PATH) ++ ++ENDIF (WITH_JAVA) |