aboutsummaryrefslogtreecommitdiff
path: root/graphics/s10sh/Makefile
blob: 65c2de73993bc7fc791b772f6d932867eba1adca (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
# New ports collection makefile for:	s10sh
# Date created:				Tue Feb 27 00:16:34 MST 2001
# Whom:					John Reynolds <johnjen@reynoldsnet.org>
#
# $FreeBSD$
#

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

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

.if defined(NOUSB) || defined(WITHOUT_USB)
MAKE_ENV+=	WITHOUT_USB=YES
.else
LIB_DEPENDS=	usb-0.1.7:${PORTSDIR}/devel/libusb
.endif

# Don't extract the libusb bundled with s10sh:
EXTRACT_AFTER_ARGS=     | ${TAR} -xf - --exclude '*/libusb*'

MAKEFILE=	${FILESDIR}/Makefile.bsd

.if !defined(NOPORTDOCS)
post-install:
	@${MKDIR} ${DOCSDIR}
	@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif

.include <bsd.port.mk>