pkgsrc/misc/libkgeomap/Makefile
2018-01-01 21:18:06 +00:00

37 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.36 2018/01/01 21:18:10 adam Exp $
#
PKGNAME= libkgeomap-4.13.0
PKGREVISION= 6
DISTNAME= digikam-4.13.0
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_KDE:=digikam/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://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* ${WRKSRC}/po/*/libkipi*
.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"