aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/libstreams
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2013-03-26 23:43:09 +0800
committermakc <makc@FreeBSD.org>2013-03-26 23:43:09 +0800
commitd611a7818ed16541db9ac2147cb51c1a5193eb55 (patch)
tree66e5c2057d5b19663c2534bd995e9e4bd7e28a11 /deskutils/libstreams
parentea813f12b928c19a2d0f2a6dac17802d161ccca6 (diff)
downloadfreebsd-ports-gnome-d611a7818ed16541db9ac2147cb51c1a5193eb55.tar.gz
freebsd-ports-gnome-d611a7818ed16541db9ac2147cb51c1a5193eb55.tar.zst
freebsd-ports-gnome-d611a7818ed16541db9ac2147cb51c1a5193eb55.zip
- Split deskutils/strigi port on libraries, client, daemon and utilities.
deskutils/strigi is a meta port now - USE_KDE4= strigi now implies dependence on deskutils/libstreamanalyzer
Diffstat (limited to 'deskutils/libstreams')
-rw-r--r--deskutils/libstreams/Makefile21
-rw-r--r--deskutils/libstreams/files/patch-libstreams__CMakeLists.txt22
-rw-r--r--deskutils/libstreams/pkg-plist43
3 files changed, 86 insertions, 0 deletions
diff --git a/deskutils/libstreams/Makefile b/deskutils/libstreams/Makefile
new file mode 100644
index 000000000000..1d5178558067
--- /dev/null
+++ b/deskutils/libstreams/Makefile
@@ -0,0 +1,21 @@
+# $FreeBSD$
+
+PORTNAME= libstreams
+PORTVERSION= ${STRIGI_VERSION}
+CATEGORIES= deskutils
+MASTER_SITES= ${STRIGI_MASTER_SITES}
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Strigi desktop search: streams library
+
+USE_ICONV= yes
+USE_LDCONFIG= yes
+MAKE_JOBS_SAFE= yes
+
+post-patch:
+ ${REINPLACE_CMD} -e \
+ 's,$${LIB_DESTINATION}/pkgconfig,libdata/pkgconfig,' \
+ ${WRKSRC}/libstreams/CMakeLists.txt
+
+.include <${.CURDIR}/../strigi/Makefile.common>
+.include <bsd.port.mk>
diff --git a/deskutils/libstreams/files/patch-libstreams__CMakeLists.txt b/deskutils/libstreams/files/patch-libstreams__CMakeLists.txt
new file mode 100644
index 000000000000..652a79f97cfd
--- /dev/null
+++ b/deskutils/libstreams/files/patch-libstreams__CMakeLists.txt
@@ -0,0 +1,22 @@
+--- ./libstreams/CMakeLists.txt.orig 2013-02-05 21:34:57.000000000 +0000
++++ ./libstreams/CMakeLists.txt 2013-03-06 22:02:36.587664409 +0000
+@@ -46,9 +46,6 @@
+ # check for visibility support
+ macro_check_gcc_visibility(__STRIGI_HAVE_GCC_VISIBILITY)
+
+-# Generate include/strigi/strigiconfig.h and lib/config.h
+-include(ConfigureChecks.cmake)
+-
+ # check for required packages
+ find_package(ZLIB)
+ set_package_properties(ZLIB PROPERTIES
+@@ -75,6 +72,9 @@
+ TYPE REQUIRED
+ )
+
++# Generate include/strigi/strigiconfig.h and lib/config.h
++include(ConfigureChecks.cmake)
++
+ feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
+
+ ##### building and testing #####
diff --git a/deskutils/libstreams/pkg-plist b/deskutils/libstreams/pkg-plist
new file mode 100644
index 000000000000..ec4c35dad028
--- /dev/null
+++ b/deskutils/libstreams/pkg-plist
@@ -0,0 +1,43 @@
+include/strigi/archivereader.h
+include/strigi/arinputstream.h
+include/strigi/bufferedstream.h
+include/strigi/bz2inputstream.h
+include/strigi/cpioinputstream.h
+include/strigi/dataeventinputstream.h
+include/strigi/encodinginputstream.h
+include/strigi/fileinputstream.h
+include/strigi/gzipinputstream.h
+include/strigi/inputstream.h
+include/strigi/inputstreamreader.h
+include/strigi/kmpsearcher.h
+include/strigi/lzmainputstream.h
+include/strigi/mailinputstream.h
+include/strigi/oleinputstream.h
+include/strigi/processinputstream.h
+include/strigi/rpminputstream.h
+include/strigi/sdfinputstream.h
+include/strigi/streambase.h
+include/strigi/streambuffer.h
+include/strigi/strigiconfig.h
+include/strigi/stringstream.h
+include/strigi/stringterminatedsubstream.h
+include/strigi/subinputstream.h
+include/strigi/substreamprovider.h
+include/strigi/substreamproviderprovider.h
+include/strigi/tarinputstream.h
+include/strigi/textutils.h
+include/strigi/zipinputstream.h
+lib/cmake/LibStreams/LibStreamsConfig.cmake
+lib/cmake/LibStreams/LibStreamsConfigVersion.cmake
+lib/cmake/LibStreams/LibStreamsTargets-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/LibStreams/LibStreamsTargets.cmake
+lib/cmake/Strigi/StrigiConfig.cmake
+lib/cmake/Strigi/StrigiConfigVersion.cmake
+lib/libstreams.so
+lib/libstreams.so.0
+lib/libstreams.so.%%SHLIB_VER%%
+libdata/pkgconfig/libstreams.pc
+@dirrmtry lib/cmake/Strigi
+@dirrm lib/cmake/LibStreams
+@dirrmtry lib/cmake
+@dirrmtry include/strigi