aboutsummaryrefslogtreecommitdiff
path: root/graphics/dc20pack/Makefile
blob: d4d55895ad9da513cc50fed3926eb4b611d7ab42 (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
# Created by: Maurice Castro <maurice@serc.rmit.edu.au>

PORTNAME=	dc20pack
PORTVERSION=	1.0
CATEGORIES=	graphics
MASTER_SITES=	SUNSITE/apps/graphics/capture

MAINTAINER=	maurice@castro.aus.net
COMMENT=	Digital camera control and download tool for Kodak DC20/25 camera

USES=		tar:tgz

NO_WRKSUBDIR=	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 ${STAGEDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/dc20term ${STAGEDIR}${PREFIX}/bin
	${INSTALL_PROGRAM} ${WRKSRC}/dc2totga ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>