2006-09-16 14:20:32 +02:00
|
|
|
# $NetBSD: Makefile,v 1.32 2006/09/16 12:20:37 jmmv Exp $
|
2005-02-02 22:22:10 +01:00
|
|
|
|
2006-08-14 15:15:15 +02:00
|
|
|
DISTNAME= ufraw-0.9.1
|
2005-09-27 02:31:18 +02:00
|
|
|
PKGNAME= gimp-${DISTNAME}
|
2006-09-16 14:20:32 +02:00
|
|
|
PKGREVISION= 2
|
2005-02-02 22:22:10 +01:00
|
|
|
CATEGORIES= graphics
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ufraw/}
|
|
|
|
|
2005-08-10 21:01:23 +02:00
|
|
|
MAINTAINER= gdt@NetBSD.org
|
2005-02-02 22:22:10 +01:00
|
|
|
HOMEPAGE= http://ufraw.sourceforge.net/
|
|
|
|
COMMENT= GIMP plug-in for raw digicam import
|
|
|
|
|
2005-09-27 02:31:18 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2005-08-10 22:56:10 +02:00
|
|
|
USE_TOOLS+= gmake pkg-config
|
2005-09-27 02:31:18 +02:00
|
|
|
USE_TOOLS+= perl:run pod2man
|
2006-05-16 10:27:08 +02:00
|
|
|
USE_DIRS+= xdg-1.1
|
2006-07-22 06:46:13 +02:00
|
|
|
USE_LANGUAGES= c c++
|
2005-02-02 22:22:10 +01:00
|
|
|
|
2005-10-10 11:07:22 +02:00
|
|
|
# This package uses too much C99 code to be patched.
|
|
|
|
GCC_REQD+= 3.0
|
2005-04-13 18:49:57 +02:00
|
|
|
BUILDLINK_TRANSFORM+= rm:-std=gnu99
|
|
|
|
|
2006-06-11 02:19:04 +02:00
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.gimp-ufraw
|
|
|
|
PKG_SUPPORTED_OPTIONS= exiv2 libexif
|
|
|
|
PKG_SUGGESTED_OPTIONS= exiv2
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mexiv2)
|
2006-08-15 02:25:27 +02:00
|
|
|
CONFIGURE_ARGS+= --with-exiv2
|
2006-06-11 02:19:04 +02:00
|
|
|
.include "../../graphics/exiv2/buildlink3.mk"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# libexif has been reported to cause crashes with ufraw. It is needed for Fuji RAF.
|
|
|
|
.if !empty(PKG_OPTIONS:Mlibexif)
|
|
|
|
CONFIGURE_ARGS+= --with-libexif
|
2006-06-11 02:46:50 +02:00
|
|
|
.include "../../graphics/libexif/buildlink3.mk"
|
2006-06-11 02:19:04 +02:00
|
|
|
.endif
|
|
|
|
|
2005-09-27 02:31:18 +02:00
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
2006-02-20 17:31:45 +01:00
|
|
|
.include "../../graphics/lcms/buildlink3.mk"
|
2005-09-27 02:31:18 +02:00
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
2005-02-02 22:22:10 +01:00
|
|
|
.include "../../graphics/gimp/buildlink3.mk"
|
2006-08-15 02:25:27 +02:00
|
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
2005-02-02 22:22:10 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|