2015-04-25 16:22:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.28 2015/04/25 14:23:35 tnn Exp $
|
2012-03-21 21:43:12 +01:00
|
|
|
#
|
|
|
|
|
2014-11-15 21:53:48 +01:00
|
|
|
PKGNAME= libkgeomap-4.4.0
|
2015-04-25 16:22:51 +02:00
|
|
|
PKGREVISION= 2
|
2014-11-15 21:53:48 +01:00
|
|
|
DISTNAME= digikam-4.4.0
|
2012-03-21 21:43:12 +01:00
|
|
|
CATEGORIES= misc
|
2013-05-21 15:04:09 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE:=digikam/}
|
2012-03-21 21:43:12 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.digikam.org/
|
|
|
|
COMMENT= World-Map Library interface for KDE
|
|
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= automoc4>=0.9.83:../../devel/automoc4
|
|
|
|
|
|
|
|
USE_PKGLOCALEDIR= yes
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
USE_TOOLS+= msgfmt pkg-config
|
|
|
|
|
|
|
|
PKGCONFIG_OVERRIDE+= libkgeomap.pc.cmake
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/extra/libkgeomap
|
|
|
|
|
|
|
|
post-patch:
|
2013-04-06 16:58:18 +02:00
|
|
|
${ECHO} "FIND_PACKAGE(Msgfmt REQUIRED)" >> ${WRKSRC}/CMakeLists.txt
|
|
|
|
${ECHO} "FIND_PACKAGE(Gettext REQUIRED)" >> ${WRKSRC}/CMakeLists.txt
|
|
|
|
${ECHO} "ADD_SUBDIRECTORY(po)" >> ${WRKSRC}/CMakeLists.txt
|
2012-03-21 21:43:12 +01:00
|
|
|
ln -s ../../po ${WRKSRC}/po
|
2013-04-03 14:34:52 +02:00
|
|
|
rm ${WRKSRC}/po/*/digikam.po ${WRKSRC}/po/*/kipiplug* ${WRKSRC}/po/*/libkipi*
|
2012-03-21 21:43:12 +01:00
|
|
|
|
|
|
|
.include "../../meta-pkgs/kde4/kde4.mk"
|
|
|
|
.include "../../graphics/libkexiv2/buildlink3.mk"
|
|
|
|
.include "../../misc/marble/buildlink3.mk"
|
|
|
|
.include "../../x11/kdelibs4/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|