1 # Created by: "Waitman Gobble" <uzimac@da3m0n8t3r.com>
10 MAINTAINER= waitman@waitman.net
11 COMMENT= Modified Decoder for RAW files from digital cameras
15 LIB_DEPENDS= libjasper.so:${PORTSDIR}/graphics/jasper \
16 libjpeg.so:${PORTSDIR}/graphics/jpeg \
17 liblcms2.so:${PORTSDIR}/graphics/lcms2 \
18 libMagickWand-6.so:${PORTSDIR}/graphics/ImageMagick
23 GH_TAGNAME= ${GH_COMMIT}
28 CFLAGS += -Wall -I${LOCALBASE}/include \
29 `MagickWand-config --cflags --cppflags` \
30 -DMAGICKCORE_HDRI_ENABLE=0 \
31 -DMAGICKCORE_QUANTUM_DEPTH=16
32 LDFLAGS += `MagickWand-config --ldflags --libs` -lm -llcms2 -ljpeg \
34 LIBS += -L${LOCALBASE}/lib
36 PLIST_FILES= bin/dcraw-m
40 ${CC} ${CFLAGS} ${LIBS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c )
43 ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
45 .include <bsd.port.mk>