openbsd-ports/graphics/libkdcraw/Makefile
2008-01-12 14:52:28 +00:00

44 lines
1019 B
Makefile

# $OpenBSD: Makefile,v 1.3 2008/01/12 14:52:28 espie Exp $
COMMENT= grab raw data from digital cameras
DISTNAME= libkdcraw-0.1.3
PKGNAME= ${DISTNAME}
CATEGORIES= graphics devel
HOMEPAGE= http://www.kipi-plugins.org/drupal/
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=kipi/}
EXTRACT_SUFX= .tar.bz2
SHARED_LIBS += kdcraw 1.0 # .1.0
MODULES= x11/kde
MODKDE_VERSION= 3.5.8
SHARED_ONLY= Yes
CONFIGURE_STYLE=autoconf
AUTOCONF_VERSION=2.61
CONFIGURE_ARGS= ${MODKDE_CONFIGURE_ARGS}
CONFIGURE_ENV+= ${MODKDE_CONFIGURE_ENV} \
CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
MAKE_FLAGS+= ${MODKDE_MAKE_FLAGS}
USE_GMAKE= Yes
SEPARATE_BUILD= simple
LIB_DEPENDS+= lcms::graphics/lcms \
DCOP,kdecore,kdefx,kdeui::x11/kde/libs3
RUN_DEPENDS= ::graphics/dcraw
WANTLIB += ICE SM X11 Xau Xdmcp Xext Xrender c jpeg m png
WANTLIB += util z art_lgpl_2 iconv intl idn
# GPL
PERMIT_DISTFILES_CDROM=Yes
PERMIT_PACKAGE_CDROM=Yes
PERMIT_DISTFILES_FTP=Yes
PERMIT_PACKAGE_FTP=Yes
.include <bsd.port.mk>