1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-13 07:34:50 +00:00
freebsd-ports/graphics/s10sh/Makefile
Baptiste Daroussin 5271da855f Rely on bsdtar to autodetermine the format of the distfiles when possible
For a while now bsdtar is able to autotermine compression and archive format.
Let's then use tar directly instead of piping to tar.

Now USE_BZIP2 and USE_XZ only set EXTRACT_SUFX to the right format
2013-04-29 08:57:12 +00:00

37 lines
776 B
Makefile

# 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
# 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>