1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/astro/libkgeomap/Makefile
Jason E. Hale c9f3415018 - Update Digikam SC to 2.9.0
- Add patch to fix Digikam crashes with large photo collections

Approved by:	makc (mentor)
2012-09-19 08:15:15 +00:00

36 lines
775 B
Makefile

# New ports collection makefile for: libkgeomap
# Date created: 2012-05-12
# Whom: Jason E. Hale <bsdkaffee@gmail.com>
#
# $FreeBSD$
#
PORTNAME= libkgeomap
PORTVERSION= ${DIGIKAM_VER}
CATEGORIES= astro kde
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE4 library for browsing photos on a map
.include "${.CURDIR}/../../graphics/digikam-kde4/Makefile.common"
USE_KDE4+= libkexiv2 marble
.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>