summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/dcraw/Makefile29
-rw-r--r--graphics/dcraw/distinfo10
2 files changed, 21 insertions, 18 deletions
diff --git a/graphics/dcraw/Makefile b/graphics/dcraw/Makefile
index 35f0872ef17..c5487094524 100644
--- a/graphics/dcraw/Makefile
+++ b/graphics/dcraw/Makefile
@@ -1,30 +1,33 @@
-# $NetBSD: Makefile,v 1.3 2004/04/25 00:43:31 snj Exp $
+# $NetBSD: Makefile,v 1.4 2004/06/09 23:48:56 xtraeme Exp $
#
-DISTNAME= dcraw
-PKGNAME= dcraw-1.175
-CATEGORIES= graphics
+DISTNAME= dcraw
+PKGNAME= dcraw-1.175
+PKGREVISION= 1
+CATEGORIES= graphics
# distfile changes frequently, use copy on ftp.NetBSD.org
-#MASTER_SITES= http://www.cybercom.net/~dcoffin/dcraw/
-MASTER_SITES= ${MASTER_SITE_BACKUP:=${PKGNAME}/}
-DISTFILES= dcraw.c dcraw.1
-DIST_SUBDIR= ${PKGNAME}
+#MASTER_SITES= http://www.cybercom.net/~dcoffin/dcraw/
+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
+MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.cybercom.net/~dcoffin/dcraw/
+COMMENT= Raw digital camera decoder
WRKSRC= ${WRKDIR}
-USE_BUILDLINK3= yes
+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} -lm)
+ (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"
diff --git a/graphics/dcraw/distinfo b/graphics/dcraw/distinfo
index d2066d7a0b8..a17bc9f3e7e 100644
--- a/graphics/dcraw/distinfo
+++ b/graphics/dcraw/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2004/02/25 10:39:18 drochner Exp $
+$NetBSD: distinfo,v 1.3 2004/06/09 23:48:56 xtraeme Exp $
-SHA1 (dcraw-1.175/dcraw.c) = ef705b83f1fd4da7114efe2a7e805151fdb915f1
-Size (dcraw-1.175/dcraw.c) = 89839 bytes
-SHA1 (dcraw-1.175/dcraw.1) = fc91c9282ff44a1597894b456fd02c6538a29ad7
-Size (dcraw-1.175/dcraw.1) = 3237 bytes
+SHA1 (dcraw-1.175/dcraw.c) = b3506ad02ac650d6980ec5ba021bdf2c34185af5
+Size (dcraw-1.175/dcraw.c) = 103263 bytes
+SHA1 (dcraw-1.175/dcraw.1) = 0b81ef14e77579dd3f7a25244d75c7a0561c630e
+Size (dcraw-1.175/dcraw.1) = 3381 bytes