diff options
author | drochner <drochner> | 2006-02-09 10:58:20 +0000 |
---|---|---|
committer | drochner <drochner> | 2006-02-09 10:58:20 +0000 |
commit | 750947688d027aac007d5e6fbe0b2ccfa37ab8df (patch) | |
tree | 14fc7ee772b250549fe9cff8e99525405b944000 /graphics/dcraw/Makefile | |
parent | 34c061920388bd149186cb0ffabf4c2de863f13d (diff) | |
download | pkgsrc-750947688d027aac007d5e6fbe0b2ccfa37ab8df.tar.gz |
update to 8.05 (RCS rev 1.315)
this adds color management
(I've made this optional for now, enabled per default, just in case
some platform has problems with lcms)
Diffstat (limited to 'graphics/dcraw/Makefile')
-rw-r--r-- | graphics/dcraw/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/graphics/dcraw/Makefile b/graphics/dcraw/Makefile index e943ecd4b2e..abea3a6784c 100644 --- a/graphics/dcraw/Makefile +++ b/graphics/dcraw/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.23 2006/01/05 04:37:33 uebayasi Exp $ +# $NetBSD: Makefile,v 1.24 2006/02/09 10:58:20 drochner Exp $ # DISTNAME= dcraw -PKGNAME= dcraw-7.94 +PKGNAME= dcraw-8.05 CATEGORIES= graphics MASTER_SITES= http://www.cybercom.net/~dcoffin/dcraw/ DISTFILES= dcraw.c dcraw.1 @@ -17,6 +17,19 @@ LIBS+= -lm -ljpeg INSTALLATION_DIRS= bin man/man1 +PKG_OPTIONS_VAR= PKG_OPTIONS.dcraw +PKG_SUPPORTED_OPTIONS= lcms +PKG_SUGGESTED_OPTIONS= lcms + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mlcms) +LIBS+= -llcms +.include "../../graphics/lcms/buildlink3.mk" +.else +CFLAGS+= -DNO_LCMS +.endif + do-extract: (cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC}) |