freebsd-ports/graphics/s10sh/Makefile
2004-03-13 06:04:36 +00:00

40 lines
953 B
Makefile

# 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.2
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
.include <bsd.port.pre.mk>
.if ${ARCH} == "ia64" || ${ARCH} == "amd64"
BROKEN= "Does not compile on ia64 or amd64"
.endif
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.post.mk>