66ac27a2a6
EOS 60D, NIKON D3100/D7000, PENTAX K-r/K-5/645D
40 lines
923 B
Makefile
40 lines
923 B
Makefile
# $OpenBSD: Makefile,v 1.15 2011/03/06 11:42:36 sthen Exp $
|
|
|
|
COMMENT = digital camera RAW format conversion tool
|
|
|
|
DISTNAME = dcraw-9.06
|
|
CATEGORIES = graphics
|
|
|
|
HOMEPAGE = http://www.cybercom.net/~dcoffin/dcraw/
|
|
|
|
MASTER_SITES = http://cybercom.net/~dcoffin/dcraw/archive/
|
|
|
|
# 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 jpeg lcms m
|
|
|
|
LIB_DEPENDS = graphics/jpeg \
|
|
graphics/lcms
|
|
|
|
NO_REGRESS = Yes
|
|
SEPARATE_BUILD = simple
|
|
USE_GROFF = Yes
|
|
|
|
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>
|