blob: 1f8518575a568320f4a41b03e44bb6f93a28288d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.7 2012/10/08 23:01:04 adam Exp $
#
PKGNAME= libkgeomap-2.5.0
DISTNAME= digikam-2.5.0
PKGREVISION= 5
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=digikam/}
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:
echo "FIND_PACKAGE(Msgfmt REQUIRED)" >> ${WRKSRC}/CMakeLists.txt
echo "FIND_PACKAGE(Gettext REQUIRED)" >> ${WRKSRC}/CMakeLists.txt
echo "ADD_SUBDIRECTORY(po)" >> ${WRKSRC}/CMakeLists.txt
ln -s ../../po ${WRKSRC}/po
rm ${WRKSRC}/po/*/digikam.po ${WRKSRC}/po/*/kipiplug*
.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"
|