diff options
author | makc <makc@FreeBSD.org> | 2012-06-09 21:33:29 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2012-06-09 21:33:29 +0800 |
commit | a7466b069098397da4d8a9f945ba38c03d5851cc (patch) | |
tree | 315f01bd2f90c0670e9278757ec287b5a7b7d5a9 /astro | |
parent | 7eacfcccf64a2652c642c85251af56b7c22a7608 (diff) | |
download | freebsd-ports-gnome-a7466b069098397da4d8a9f945ba38c03d5851cc.tar.gz freebsd-ports-gnome-a7466b069098397da4d8a9f945ba38c03d5851cc.tar.zst freebsd-ports-gnome-a7466b069098397da4d8a9f945ba38c03d5851cc.zip |
Add new port astro/libkgeomap:
Libkgeomap is a KDE4 C++ wrapper around world map components such as Marble,
OpenstreetMap, and GoogleMap, for browsing and arranging photos on such maps.
WWW: http://www.digikam.org
Submitted by: Jason E. Hale <bsdkaffee at gmail.com> via area51 commit
Diffstat (limited to 'astro')
-rw-r--r-- | astro/Makefile | 1 | ||||
-rw-r--r-- | astro/libkgeomap/Makefile | 46 | ||||
-rw-r--r-- | astro/libkgeomap/distinfo | 2 | ||||
-rw-r--r-- | astro/libkgeomap/files/patch-CMakeLists.txt | 27 | ||||
-rw-r--r-- | astro/libkgeomap/pkg-descr | 4 | ||||
-rw-r--r-- | astro/libkgeomap/pkg-plist | 84 |
6 files changed, 164 insertions, 0 deletions
diff --git a/astro/Makefile b/astro/Makefile index 2fe3871c4b4a..23362dce7a06 100644 --- a/astro/Makefile +++ b/astro/Makefile @@ -33,6 +33,7 @@ SUBDIR += josm SUBDIR += kstars SUBDIR += libgal + SUBDIR += libkgeomap SUBDIR += libnova SUBDIR += libroadnav SUBDIR += luna diff --git a/astro/libkgeomap/Makefile b/astro/libkgeomap/Makefile new file mode 100644 index 000000000000..97be74de0c48 --- /dev/null +++ b/astro/libkgeomap/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: libkgeomap +# Date created: 2012-05-12 +# Whom: Jason E. Hale <bsdkaffee@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= libkgeomap +PORTVERSION= 2.6.0 +CATEGORIES= astro kde +MASTER_SITES= SF/digikam/digikam/${PORTVERSION} +DISTNAME= digikam-${PORTVERSION} + +MAINTAINER= kde@FreeBSD.org +COMMENT= KDE4 library for browsing photos on a map + +LICENSE= GPLv2 + +OPTIONS_DEFINE= NLS + +USE_BZIP2= yes +USE_CMAKE= yes +USE_KDE4= automoc4 kdehier kdeprefix kdelibs libkexiv2 marble +USE_QT4= qmake_build moc_build rcc_build uic_build +USE_LDCONFIG= yes +MAKE_JOBS_SAFE= yes + +WRKSRC= ${WRKDIR}/${DISTNAME}/extra/${PORTNAME} + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MNLS} +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +.else +CMAKE_ARGS+= -DWITH_NLS:BOOL=OFF +PLIST_SUB+= NLS="@comment " +.endif + +post-patch: + ${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \ + ${WRKSRC}/CMakeLists.txt + ${LN} -s ../../po ${WRKSRC}/po + ${RM} ${WRKSRC}/po/*/digikam.po ${WRKSRC}/po/*/kipi* + +.include <bsd.port.mk> diff --git a/astro/libkgeomap/distinfo b/astro/libkgeomap/distinfo new file mode 100644 index 000000000000..afb200f08f48 --- /dev/null +++ b/astro/libkgeomap/distinfo @@ -0,0 +1,2 @@ +SHA256 (digikam-2.6.0.tar.bz2) = 411ceaa3a489d9c9a5566d43c167927a07fb08fb4f613b0dbf1dec65b95736df +SIZE (digikam-2.6.0.tar.bz2) = 55362029 diff --git a/astro/libkgeomap/files/patch-CMakeLists.txt b/astro/libkgeomap/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..6477b530df69 --- /dev/null +++ b/astro/libkgeomap/files/patch-CMakeLists.txt @@ -0,0 +1,27 @@ +--- ./CMakeLists.txt.orig 2012-06-08 00:20:53.000000000 -0400 ++++ ./CMakeLists.txt 2012-06-08 00:23:05.000000000 -0400 +@@ -94,15 +94,22 @@ + + SUBDIRS(libkgeomap) + SUBDIRS(test) +-#SUBDIRS(calibrator) ++SUBDIRS(calibrator) + IF(KEXIV2_FOUND) +-# SUBDIRS(demo) ++ SUBDIRS(demo) + MESSAGE(STATUS "kexiv2 found, the demo application will be compiled.") + ELSE(KEXIV2_FOUND) + MESSAGE(STATUS "kexiv2 NOT found, the demo application will NOT be compiled.") + ENDIF(KEXIV2_FOUND) + SUBDIRS(data) + ++OPTION(WITH_NLS "NLS Support" ON) ++IF(WITH_NLS) ++ FIND_PACKAGE(Msgfmt REQUIRED) ++ FIND_PACKAGE(Gettext REQUIRED) ++ ADD_SUBDIRECTORY(po) ++ENDIF(WITH_NLS) ++ + IF(NOT WIN32) + CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libkgeomap.pc.cmake ${CMAKE_CURRENT_BINARY_DIR}/libkgeomap.pc) + CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/libkgeomap.lsm.cmake ${CMAKE_CURRENT_BINARY_DIR}/libkgeomap.lsm) diff --git a/astro/libkgeomap/pkg-descr b/astro/libkgeomap/pkg-descr new file mode 100644 index 000000000000..05831648d49f --- /dev/null +++ b/astro/libkgeomap/pkg-descr @@ -0,0 +1,4 @@ +Libkgeomap is a KDE4 C++ wrapper around world map components such as Marble, +OpenstreetMap, and GoogleMap, for browsing and arranging photos on such maps. + +WWW: http://www.digikam.org diff --git a/astro/libkgeomap/pkg-plist b/astro/libkgeomap/pkg-plist new file mode 100644 index 000000000000..ba30f3395e4f --- /dev/null +++ b/astro/libkgeomap/pkg-plist @@ -0,0 +1,84 @@ +bin/libkgeomap_demo +include/libkgeomap/abstractmarkertiler.h +include/libkgeomap/dragdrophandler.h +include/libkgeomap/geocoordinates.h +include/libkgeomap/itemmarkertiler.h +include/libkgeomap/kgeomap_primitives.h +include/libkgeomap/kgeomap_widget.h +include/libkgeomap/libkgeomap_export.h +include/libkgeomap/lookup_altitude.h +include/libkgeomap/lookup_factory.h +include/libkgeomap/modelhelper.h +include/libkgeomap/tileindex.h +include/libkgeomap/version.h +lib/libkgeomap.so +lib/libkgeomap.so.1 +lib/libkgeomap.so.1.0.0 +libdata/pkgconfig/libkgeomap.pc +share/apps/cmake/modules/FindKGeoMap.cmake +share/apps/libkgeomap/backend-googlemaps-js.js +share/apps/libkgeomap/backend-googlemaps.html +share/apps/libkgeomap/backend-osm-js.js +share/apps/libkgeomap/backend-osm.html +share/apps/libkgeomap/cluster-circle-00ff00-selected.png +share/apps/libkgeomap/cluster-circle-00ff00-someselected.png +share/apps/libkgeomap/cluster-circle-00ff00.png +share/apps/libkgeomap/cluster-circle-00ffff-selected.png +share/apps/libkgeomap/cluster-circle-00ffff-someselected.png +share/apps/libkgeomap/cluster-circle-00ffff.png +share/apps/libkgeomap/cluster-circle-ff0000-selected.png +share/apps/libkgeomap/cluster-circle-ff0000-someselected.png +share/apps/libkgeomap/cluster-circle-ff0000.png +share/apps/libkgeomap/cluster-circle-ff7f00-selected.png +share/apps/libkgeomap/cluster-circle-ff7f00-someselected.png +share/apps/libkgeomap/cluster-circle-ff7f00.png +share/apps/libkgeomap/cluster-circle-ffff00-selected.png +share/apps/libkgeomap/cluster-circle-ffff00-someselected.png +share/apps/libkgeomap/cluster-circle-ffff00.png +share/apps/libkgeomap/marker-00ff00-selected.png +share/apps/libkgeomap/marker-00ff00-someselected.png +share/apps/libkgeomap/marker-00ff00.png +share/apps/libkgeomap/marker-00ffff-selected.png +share/apps/libkgeomap/marker-00ffff-someselected.png +share/apps/libkgeomap/marker-00ffff.png +share/apps/libkgeomap/marker-ff0000-selected.png +share/apps/libkgeomap/marker-ff0000-someselected.png +share/apps/libkgeomap/marker-ff0000.png +share/apps/libkgeomap/marker-ff7f00-selected.png +share/apps/libkgeomap/marker-ff7f00-someselected.png +share/apps/libkgeomap/marker-ff7f00.png +share/apps/libkgeomap/marker-ffff00-selected.png +share/apps/libkgeomap/marker-ffff00-someselected.png +share/apps/libkgeomap/marker-ffff00.png +share/apps/libkgeomap/marker-icon-16x16.png +%%NLS%%share/locale/bg/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/bs/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/ca/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/cs/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/da/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/de/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/el/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/en_GB/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/es/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/et/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/fi/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/fr/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/ga/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/it/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/ja/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/lt/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/nb/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/nds/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/nl/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/nn/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/pl/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/pt/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/ro/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/sk/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/sv/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/uk/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/libkgeomap.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/libkgeomap.mo +@dirrm share/apps/libkgeomap +@dirrm include/libkgeomap |