summaryrefslogtreecommitdiff
path: root/graphics/dc20pack/Makefile
blob: 11e3485b6296b35b025261a809738472ba5b22a6 (plain) (blame)
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
32
# New ports collection makefile for:	dc20pack
# Date created:		Jul 31 1999
# Whom:			Maurice Castro <maurice@serc.rmit.edu.au>
#
# $FreeBSD$
#

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 `${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>