Files
ports/graphics/dcraw-m/Makefile
T
Baptiste Daroussin c5fe34636c Update jasper to 2.0.16
This is needed to be able to update gegl to latest version.
Bump revision of all consumer as the ABI is not 100% backward compatible.
Provide a patch for graphics/devil to properly build with latest jasper.
While here add a missing USES=xorg to graphics/devil
2019-12-27 13:43:00 +00:00

42 lines
933 B
Makefile

# Created by: "Waitman Gobble" <uzimac@da3m0n8t3r.com>
# $FreeBSD$
PORTNAME= dcraw-m
PORTVERSION= 9.22
PORTREVISION= 5
CATEGORIES= graphics
MAINTAINER= waitman@waitman.net
COMMENT= Modified Decoder for RAW files from digital cameras
LICENSE= GPLv2
LIB_DEPENDS= libjasper.so:graphics/jasper \
liblcms2.so:graphics/lcms2 \
libMagickWand-6.so:graphics/ImageMagick6
USE_GITHUB= yes
GH_ACCOUNT= waitman
GH_TAGNAME= 1392579
USES= jpeg pkgconfig
CFLAGS+= -Wall -I${LOCALBASE}/include \
`MagickWand-config --cflags --cppflags` \
-DMAGICKCORE_HDRI_ENABLE=0 \
-DMAGICKCORE_QUANTUM_DEPTH=16
LDFLAGS+= `MagickWand-config --ldflags --libs` -lm -llcms2 -ljpeg \
-ljasper
LIBS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/dcraw-m
do-build:
( cd ${WRKSRC} ; \
${CC} ${CFLAGS} ${LIBS} ${LDFLAGS} -o ${PORTNAME} ${PORTNAME}.c )
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>