freebsd-ports/graphics/digikam/Makefile
2010-12-04 07:34:27 +00:00

48 lines
1.3 KiB
Makefile

# New ports collection makefile for: digikam
# Date created: 3 February 2003
# Whom: Arjan van Leeuwen <avleeuwen@piwebs.com>
#
# $FreeBSD$
#
PORTNAME= digikam
DISTVERSION= 0.9.6
PORTREVISION= 3
CATEGORIES= graphics kde
MASTER_SITES= SF
MAINTAINER= ale@FreeBSD.org
COMMENT= An advanced digital photo management application for KDE
LIB_DEPENDS= tiff.4:${PORTSDIR}/graphics/tiff \
kipi.2:${PORTSDIR}/graphics/libkipi \
gphoto2.2:${PORTSDIR}/graphics/libgphoto2 \
kexiv2.5:${PORTSDIR}/graphics/libkexiv2 \
lcms.1:${PORTSDIR}/graphics/lcms \
kdcraw.4:${PORTSDIR}/graphics/libkdcraw \
png.6:${PORTSDIR}/graphics/png \
sqlite3.8:${PORTSDIR}/databases/sqlite3 \
jasper.4:${PORTSDIR}/graphics/jasper
PORTSCOUT= limit:^0\.9\.
USE_BZIP2= yes
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
USE_KDELIBS_VER=3
USE_GETTEXT= yes
USE_LDCONFIG= yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --without-included-sqlite3
MAN1= digitaglinktree.1
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g;s|-fno-schedule-insns -fno-inline||g' \
${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's@-lpthread@${PTHREAD_LIBS}@g' ${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} 's/install-data-local: install-apidox/install-data-local:/' \
${WRKSRC}/digikam/Makefile.in ${WRKSRC}/digikam/digikam/Makefile.in
.include <bsd.port.mk>