blob: 7886e507d7a08bb86860b5f32b44c79105023786 (
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
|
# $NetBSD: Makefile,v 1.1.1.1 2004/02/20 13:43:28 drochner Exp $
#
DISTNAME= dcraw
PKGNAME= dcraw-1.169
CATEGORIES= graphics
MASTER_SITES= http://www.cybercom.net/~dcoffin/dcraw/
DISTFILES= dcraw.c dcraw.1
DIST_SUBDIR= ${PKGNAME}
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://www.cybercom.net/~dcoffin/dcraw/
COMMENT= Raw digital camera decoder
WRKSRC= ${WRKDIR}
USE_BUILDLINK2= yes
do-extract:
(cd ${DISTDIR}/${DIST_SUBDIR} && ${CP} ${DISTFILES} ${WRKSRC})
do-build:
(cd ${WRKSRC} && ${CC} ${CFLAGS} dcraw.c -o dcraw ${LDFLAGS} -lm)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/dcraw ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/dcraw.1 ${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"
|