aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/digikam-kde4/Makefile
blob: 7fd76a230dbbc368f22ecb10cd0315a37112b2f1 (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
# New ports collection makefile for:    digikam
# Date created:             3 February 2003
# Whom:                 Arjan van Leeuwen <avleeuwen@piwebs.com>
#
# $FreeBSD$
#

PORTNAME=   digikam
PORTVERSION=    0.8.1
PORTREVISION=   4
CATEGORIES= graphics kde
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Photo album manager for KDE with gphoto2 backend

LIB_DEPENDS=    kexif.1:${PORTSDIR}/graphics/libkexif \
        kipi.1:${PORTSDIR}/graphics/libkipi \
        gphoto2.2:${PORTSDIR}/graphics/libgphoto2 \
        Imlib2.3:${PORTSDIR}/graphics/imlib2 \
        sqlite3.8:${PORTSDIR}/databases/sqlite3
RUN_DEPENDS=    dcraw:${PORTSDIR}/graphics/dcraw

USE_BZIP2=  yes
USE_AUTOTOOLS=  libtool:15
USE_GMAKE=  yes
USE_KDELIBS_VER=3
USE_GETTEXT=    yes
CONFIGURE_ARGS+=--program-prefix=''
USE_LDCONFIG=   yes

post-patch:
    @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
    @${REINPLACE_CMD} -e 's@-lpthread@${PTHREAD_LIBS}@g' ${WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.mk>