aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/s10sh/Makefile
blob: 0f8bcdae9a2dd1767d908f01acaf4a4d8f9b415b (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
33
34
35
36
37
# Created by: John Reynolds <johnjen@reynoldsnet.org>
# $FreeBSD$

PORTNAME=   s10sh
PORTVERSION=    0.2.2
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   http://www.reynoldsnet.org/s10sh/ \
        http://www.edwinh.org/s10sh/

MAINTAINER= ports@FreeBSD.org
COMMENT=    USB/serial userspace driver for the Canon PowerShot digital cameras

NO_STAGE=   yes
# Don't extract the libusb bundled with s10sh:
EXTRACT_AFTER_ARGS= --exclude '*/libusb*'

MAKEFILE=   ${FILESDIR}/Makefile.bsd

PLIST_FILES=    bin/${PORTNAME}

PORTDOCS=   README

OPTIONS_DEFINE= USB

.include <bsd.port.pre.mk>

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
.endif

.include <bsd.port.post.mk>