# New ports collection makefile for:	dc20pack
# Date created:		Jul 31 1999
# Whom:			Maurice Castro <maurice@serc.rmit.edu.au>
#
# $FreeBSD: ports/graphics/dc20pack/Makefile,v 1.5 2003/02/21 12:15:09 knu Exp $
#

PORTNAME=		dc20pack
PORTVERSION=		1.0
CATEGORIES=		graphics
MASTER_SITES=		${MASTER_SITE_SUNSITE}
MASTER_SITE_SUBDIR=	apps/graphics/capture
EXTRACT_SUFX=		.tgz

MAINTAINER=		maurice@serc.rmit.edu.au
COMMENT=	Digital camera control and download tool for Kodak DC20/25 camera

WRKSRC=			${WRKDIR}
USE_REINPLACE=		yes

post-extract:
	for file in `/usr/bin/find ${WRKSRC} -type f`; do ${TR} -d '\015' < $${file} > $${file}.new; mv $${file}.new $${file}; done

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/dc20dump ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/dc20term ${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/dc2totga ${PREFIX}/bin

.include <bsd.port.mk>
