aboutsummaryrefslogtreecommitdiff
path: root/graphics/s10sh/Makefile
blob: fdd3bde12cecf3af2e83039ddc17e362b2164585 (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
38
39
40
# Created by: John Reynolds <johnjen@reynoldsnet.org>

PORTNAME=	s10sh
PORTVERSION=	0.2.2
PORTREVISION=	3
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

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

BROKEN_aarch64=	Fails to build: error: cannot find the byte order for this architecture, fix bytesex.h
BROKEN_armv6=	Fails to build: error: cannot find the byte order for this architecture, fix bytesex.h
BROKEN_armv7=	Fails to build: error: cannot find the byte order for this architecture, fix bytesex.h
BROKEN_riscv64=	Fails to build: error: cannot find the byte order for this architecture, fix bytesex.h

USES=		ncurses readline

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

MAKEFILE=	${FILESDIR}/Makefile.bsd

PORTDOCS=	README
PLIST_FILES=	bin/${PORTNAME}

OPTIONS_DEFINE=	DOCS

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

do-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>