openbsd-ports/graphics/dcraw/Makefile
sthen fe1aabc94e update dcraw to 8.81, supporting newer cameras.
ok okan (and also for a previous 8.80 update which I slacked on)
2008-02-14 23:06:19 +00:00

39 lines
913 B
Makefile

# $OpenBSD: Makefile,v 1.10 2008/02/14 23:06:19 sthen Exp $
COMMENT = digital camera RAW format conversion tool
DISTNAME = dcraw-8.81
CATEGORIES = graphics
HOMEPAGE = http://www.cybercom.net/~dcoffin/dcraw/
MASTER_SITES = http://cybercom.net/~dcoffin/dcraw/archive/
LIB_DEPENDS = jpeg.>=6::graphics/jpeg \
lcms::graphics/lcms
# Some code is completely free, some is under the GPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB = c m
NO_REGRESS = Yes
SEPARATE_BUILD =simple
WRKDIST = ${WRKDIR}/dcraw
do-build:
${CC} ${CFLAGS} -c -o ${WRKBUILD}/dcraw.o -I${PREFIX}/include \
${WRKSRC}/dcraw.c
${CC} ${CFLAGS} -o ${WRKBUILD}/dcraw -ljpeg -lm -llcms -L${PREFIX}/lib \
${WRKBUILD}/dcraw.o
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/dcraw ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/dcraw.1 ${PREFIX}/man/man1
.include <bsd.port.mk>