2004-04-25 02:43:31 +02:00
|
|
|
# $NetBSD: Makefile,v 1.3 2004/04/25 00:43:31 snj Exp $
|
2004-02-20 14:43:28 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= dcraw
|
2004-02-25 11:39:18 +01:00
|
|
|
PKGNAME= dcraw-1.175
|
2004-02-20 14:43:28 +01:00
|
|
|
CATEGORIES= graphics
|
2004-02-25 11:39:18 +01:00
|
|
|
# distfile changes frequently, use copy on ftp.NetBSD.org
|
|
|
|
#MASTER_SITES= http://www.cybercom.net/~dcoffin/dcraw/
|
|
|
|
MASTER_SITES= ${MASTER_SITE_BACKUP:=${PKGNAME}/}
|
2004-02-20 14:43:28 +01:00
|
|
|
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}
|
2004-04-25 02:43:31 +02:00
|
|
|
USE_BUILDLINK3= yes
|
2004-02-20 14:43:28 +01:00
|
|
|
|
|
|
|
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"
|