aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-02-07 23:14:08 +0800
committermiwi <miwi@FreeBSD.org>2008-02-07 23:14:08 +0800
commit4f2ce1f743a6e5c972a505a56a405de49049e655 (patch)
treeba4b2da10eda8bf8f217dc8a7a7a3d9258635ee4
parente710c0cfea2f6b30f29f35d1d8ef7dc6b3d790b0 (diff)
downloadfreebsd-ports-gnome-4f2ce1f743a6e5c972a505a56a405de49049e655.tar.gz
freebsd-ports-gnome-4f2ce1f743a6e5c972a505a56a405de49049e655.tar.zst
freebsd-ports-gnome-4f2ce1f743a6e5c972a505a56a405de49049e655.zip
- Update to 4.0
PR: 119726 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
-rw-r--r--misc/katalog/Makefile26
-rw-r--r--misc/katalog/distinfo9
-rw-r--r--misc/katalog/pkg-plist33
3 files changed, 49 insertions, 19 deletions
diff --git a/misc/katalog/Makefile b/misc/katalog/Makefile
index 6690471b9311..5fe04b665ed4 100644
--- a/misc/katalog/Makefile
+++ b/misc/katalog/Makefile
@@ -6,19 +6,33 @@
#
PORTNAME= katalog
-PORTVERSION= 0.3
-PORTREVISION= 4
+PORTVERSION= 0.4
CATEGORIES= misc kde
MASTER_SITES= http://salvaste.altervista.org/files/
+PATCH_SITES= http://www.realtime.sk/~stromek/kde/katalog/
+PATCHFILES= katalog.cmake.diff
+PATCH_DIST_STRIP= -p1
+
MAINTAINER= ports@FreeBSD.org
COMMENT= CD organizer for KDE
-USE_KDEBASE_VER=3
-USE_GMAKE= yes
-USE_AUTOTOOLS= libtool:15
+BUILD_DEPENDS= cmake:${PORTSDIR}/devel/cmake
+
+USE_KDEBASE_VER= 3
+USE_SQLITE= yes
post-patch:
- @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' \
+ ${WRKSRC}/cmake/modules/FindSQLite3.cmake
+ @${REINPLACE_CMD} -e 's|$${LIB_INSTALL_DIR}/qt3/|lib/|g' \
+ ${WRKSRC}/libqsqlite3/CMakeLists.txt
+ @${ECHO_CMD} 'macro_add_compile_flags( katalog "-fPIC" )' \
+ >> ${WRKSRC}/libkatalog/CMakeLists.txt
+ @${ECHO_CMD} 'macro_add_compile_flags( katalogxml "-fPIC" )' \
+ >> ${WRKSRC}/xml_backend/libkatalogxml/CMakeLists.txt
+
+do-configure:
+ @cd ${CONFIGURE_WRKSRC} && ${LOCALBASE}/bin/cmake .
.include <bsd.port.mk>
diff --git a/misc/katalog/distinfo b/misc/katalog/distinfo
index 0c1dbe153ef3..f6628eb6c346 100644
--- a/misc/katalog/distinfo
+++ b/misc/katalog/distinfo
@@ -1,3 +1,6 @@
-MD5 (katalog-0.3.tar.gz) = 3e6edf5fb5fb68696bd4db07277bfb55
-SHA256 (katalog-0.3.tar.gz) = 9b2f9915bc8774ab33fdc35795442973a57537d5e9e30102b619ad64ce96af50
-SIZE (katalog-0.3.tar.gz) = 700657
+MD5 (katalog-0.4.tar.gz) = c65c1edb10be4c6db06d56d73837619d
+SHA256 (katalog-0.4.tar.gz) = d12e1ec864415ea26a27497d2512a1e36891e8ae6040474b5e2d1b6259da28ea
+SIZE (katalog-0.4.tar.gz) = 209439
+MD5 (katalog.cmake.diff) = 2f5afe25abfc93be3d815721ad53744d
+SHA256 (katalog.cmake.diff) = c4e446615a47e48c923c4615d6226807c8953c26b56ba673364c1fc2e5690fb3
+SIZE (katalog.cmake.diff) = 18384
diff --git a/misc/katalog/pkg-plist b/misc/katalog/pkg-plist
index 84150eba61e6..74e88031901a 100644
--- a/misc/katalog/pkg-plist
+++ b/misc/katalog/pkg-plist
@@ -1,17 +1,23 @@
-bin/katalogdcop
+bin/katalog_export_html
+bin/katalog_export_xml
+bin/katalog_export_xml_script
+bin/katalog_import_xml
bin/katalogservice
-include/katalogdcopinterface.h
-lib/kde3/kfile_katalog.a
lib/kde3/kfile_katalog.la
lib/kde3/kfile_katalog.so
-lib/kde3/kio_katalogslave.a
+lib/kde3/kfile_katalogxml.la
+lib/kde3/kfile_katalogxml.so
lib/kde3/kio_katalogslave.la
lib/kde3/kio_katalogslave.so
-lib/libkatalog.a
-lib/libkatalog.la
-lib/libkatalog.so
-lib/libkatalog.so.0
+lib/kde3/kio_katalogxmlslave.la
+lib/kde3/kio_katalogxmlslave.so
+lib/plugins/sqldrivers/libqsqlite3.so
+share/apps/katalog/katalog-xslt.xml
+share/apps/katalog/katalog_info.css
+share/apps/konqsidebartng/virtual_folders/services/katalog_service.desktop
share/apps/konqueror/servicemenus/katalog.desktop
+share/apps/konqueror/servicemenus/katalog_export.desktop
+share/apps/konqueror/servicemenus/katalog_import.desktop
share/icons/crystalsvg/16x16/mimetypes/katalog.png
share/icons/crystalsvg/16x16/mimetypes/katalogfolder.png
share/icons/crystalsvg/16x16/mimetypes/katalogitem.png
@@ -27,12 +33,15 @@ share/icons/crystalsvg/48x48/mimetypes/katalogitem.png
share/icons/crystalsvg/64x64/mimetypes/katalog.png
share/icons/crystalsvg/64x64/mimetypes/katalogfolder.png
share/icons/crystalsvg/64x64/mimetypes/katalogitem.png
-share/mimelnk/application/x-katalog.desktop
share/mimelnk/application/x-katalogitem.desktop
+share/mimelnk/application/x-katalogxml.desktop
+share/mimelnk/application/x-katalogxmlitem.desktop
share/mimelnk/inode/katalog-directory.desktop
-share/services/katalogdcop.desktop
+share/mimelnk/inode/katalogxml-directory.desktop
share/services/katalogslave.protocol
+share/services/katalogxmlslave.protocol
share/services/kfile_katalog.desktop
+share/services/kfile_katalogxml.desktop
@dirrmtry share/services
@dirrmtry share/mimelnk/inode
@dirrmtry share/mimelnk/application
@@ -51,4 +60,8 @@ share/services/kfile_katalog.desktop
@dirrmtry share/icons
@dirrmtry share/apps/konqueror/servicemenus
@dirrmtry share/apps/konqueror
+@dirrm share/apps/katalog
@dirrmtry share/apps
+@dirrmtry lib/plugins/sqldrivers
+@dirrmtry lib/plugins
+@dirrmtry lib/kde3