2005-06-18 14:14:49 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.3 2005/06/18 18:14:49 sturm Exp $
|
2005-04-07 17:36:31 -04:00
|
|
|
|
|
|
|
COMMENT= "digital camera RAW format conversion tool"
|
|
|
|
|
2005-06-18 14:14:49 -04:00
|
|
|
PKGNAME= dcraw-7.30
|
2005-04-07 17:36:31 -04:00
|
|
|
CATEGORIES= graphics
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.cybercom.net/~dcoffin/dcraw/
|
|
|
|
|
|
|
|
MASTER_SITES= ${HOMEPAGE} \
|
|
|
|
http://bruno.rohee.free.fr/dcraw/${PKGNAME}/
|
|
|
|
DISTFILES= dcraw.c dcraw.1
|
|
|
|
DIST_SUBDIR= ${PKGNAME}
|
|
|
|
|
|
|
|
LIB_DEPENDS= jpeg.6.::graphics/jpeg
|
|
|
|
|
|
|
|
MAINTAINER= Bruno Rohee <rohee@openbsd.org>
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
cp ${DISTDIR}/${DIST_SUBDIR}/dcraw.c ${WRKSRC}
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
${CC} ${CFLAGS} -c -o ${WRKBUILD}/dcraw.o -I${PREFIX}/include \
|
|
|
|
${WRKSRC}/dcraw.c
|
|
|
|
${CC} ${CFLAGS} -o ${WRKBUILD}/dcraw -ljpeg -lm -L${PREFIX}/lib \
|
|
|
|
${WRKBUILD}/dcraw.o
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKBUILD}/dcraw ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${DISTDIR}/${DIST_SUBDIR}/dcraw.1 ${PREFIX}/man/man1
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|