1 # Created by: "Waitman Gobble" <uzimac@da3m0n8t3r.com>
9 MAINTAINER= waitman@waitman.net
10 COMMENT= Modified Decoder for RAW files from digital cameras
14 LIB_DEPENDS= libjasper.so:graphics/jasper \
15 liblcms2.so:graphics/lcms2 \
16 libMagickWand-6.so:graphics/ImageMagick
24 CFLAGS += -Wall -I${LOCALBASE}/include \
25 `MagickWand-config --cflags --cppflags` \
26 -DMAGICKCORE_HDRI_ENABLE=0 \
27 -DMAGICKCORE_QUANTUM_DEPTH=16
28 LDFLAGS += `MagickWand-config --ldflags --libs` -lm -llcms2 -ljpeg \
30 LIBS += -L${LOCALBASE}/lib
32 PLIST_FILES= bin/dcraw-m
36 ${CC} ${CFLAGS} ${LIBS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c )
39 ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
41 .include <bsd.port.mk>