aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/dc20pack/Makefile
blob: 018f0d4fc624658a3ac5fce06c8db81877b7f79f (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>
# $FreeBSD$

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

WRKSRC=         ${WRKDIR}
USES=           tar:tgz

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>