aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/kphotoalbum-kde4/Makefile
blob: 2bd768034545dd8c76b2ab5771a54a62cfe1c213 (plain) (blame)
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
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:    kimdaba
# Date created:         Sat Dec 13 16:09:29 CET 2003
# Whom:             Markus Brueffer <brueffer@phoenix-systems.de>
#
# $FreeBSD$

PORTNAME=   kphotoalbum
PORTVERSION=    ${APP_VER}.${EXTRA_VER}
CATEGORIES= graphics kde
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${EXTRA_VER}/src/extragear
DISTNAME=   ${PORTNAME}-${APP_VER}-kde${EXTRA_VER}
DIST_SUBDIR=    KDE/extragear

MAINTAINER= kde@FreeBSD.org
COMMENT=    Image viewer and organizer for KDE

LIB_DEPENDS=    kipi.7:${PORTSDIR}/graphics/kdegraphics4

USE_BZIP2=  yes
USE_KDE4=   kdelibs kdeprefix kdehier automoc4
USE_QT_VER= 4
QT_COMPONENTS=  qmake_build moc_build rcc_build uic_build
USE_CMAKE=  yes
MAKE_JOBS_SAFE= yes

LATEST_LINK=    ${PORTNAME}-kde4

APP_VER=    4.1.1
EXTRA_VER=  4.4.0

OPTIONS=    MARBLE "Geolocation support (requires astro/marble)" off

.include <bsd.port.options.mk>

.if defined(WITH_MARBLE)
LIB_DEPENDS+=   marblewidget.5:${PORTSDIR}/astro/marble
.endif

pre-configure:
.if !defined(WITH_MARBLE)
    ${REINPLACE_CMD} -e '/macro_optional_find_package(Marble)/d' \
        ${WRKSRC}/CMakeLists.txt
.endif

.include <bsd.port.mk>