summaryrefslogtreecommitdiff
path: root/graphics/libkdcraw/Makefile
blob: 6e4ce1a28fc9e2d9f1caadbd90b58e30490cee98 (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
# New ports collection makefile for:	libkdcraw
# Date created:			22 June 2007
# Whom:				Alex Dupre <ale@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=	libkdcraw
PORTVERSION=	0.1.5
CATEGORIES=	graphics devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	kipi

MAINTAINER=	ale@FreeBSD.org
COMMENT=	A C++ interface around a dcraw binary program

LIB_DEPENDS=	lcms.1:${PORTSDIR}/graphics/lcms

USE_BZIP2=	yes
USE_GETTEXT=	yes
USE_KDELIBS_VER=3
USE_GNOME=	gnomehack pkgconfig
USE_GMAKE=	yes
USE_AUTOTOOLS=	libtool:15
USE_LDCONFIG=	yes
INSTALLS_ICONS=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|-O2||g;s|-fno-schedule-insns -fno-inline||g' \
		${WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.mk>