diff options
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}) |