ba7d4f30c7
Macintosh mktime() chokes on "TZ=". Better to use "TZ=UTC".
30 lines
759 B
Makefile
30 lines
759 B
Makefile
# $NetBSD: Makefile,v 1.14 2004/10/28 11:37:42 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= dcraw
|
|
PKGNAME= dcraw-1.214
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://www.cybercom.net/~dcoffin/dcraw/
|
|
DISTFILES= dcraw.c dcraw.1
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
HOMEPAGE= http://www.cybercom.net/~dcoffin/dcraw/
|
|
COMMENT= Raw digital camera decoder
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
|
USE_BUILDLINK3= yes
|
|
LIBS+= -lm -ljpeg
|
|
|
|
do-extract:
|
|
(cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC})
|
|
|
|
do-build:
|
|
(cd ${WRKSRC} && ${CC} ${CFLAGS} dcraw.c -o dcraw ${LDFLAGS} ${LIBS})
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/dcraw ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/dcraw.1 ${PREFIX}/man/man1
|
|
|
|
.include "../../graphics/jpeg/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|