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
This commit is contained in:
Max Brazhnikov 2012-06-09 13:33:29 +00:00
parent eada5a6c8f
commit dd70ca02d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=298855
6 changed files with 164 additions and 0 deletions

View File

@ -33,6 +33,7 @@
SUBDIR += josm
SUBDIR += kstars
SUBDIR += libgal
SUBDIR += libkgeomap
SUBDIR += libnova
SUBDIR += libroadnav
SUBDIR += luna

46
astro/libkgeomap/Makefile Normal file
View File

@ -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>

View File

@ -0,0 +1,2 @@
SHA256 (digikam-2.6.0.tar.bz2) = 411ceaa3a489d9c9a5566d43c167927a07fb08fb4f613b0dbf1dec65b95736df
SIZE (digikam-2.6.0.tar.bz2) = 55362029

View File

@ -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)

View File

@ -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

View File

@ -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