blob: d2e3dcb9c110da1cda528540be191bd0b4bdb860 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.9 2004/10/04 12:46:28 wiz Exp $
#
DISTNAME= dcraw
PKGNAME= dcraw-1.206
PKGREVISION= 1
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_DATA} ${WRKSRC}/dcraw.1 ${PREFIX}/man/man1
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|