freebsd-ports/comms/dfu-util/Makefile

35 lines
800 B
Makefile

# New ports collection makefile for: dfu-util
# Date created: 2008-02-04
# Whom: Bruce Cran <bruce@cran.org.uk>
#
# $FreeBSD$
#
PORTNAME= dfu-util
DISTVERSION= 0.1.snap${SNAPDATE}
PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= http://www.cran.org.uk/~brucec/software/
MAINTAINER= ports@freebsd.org
COMMENT= Device firmware update (DFU) USB programmer
MAN1= dfu-util.1
PLIST_FILES= bin/dfu-util
USE_AUTOTOOLS= aclocal automake autoheader
AUTOMAKE_ARGS= --add-missing --foreign --copy
SNAPDATE= 20090212
GNU_CONFIGURE= yes
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 800069
IGNORE= requires new USB stack in FreeBSD 8
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/dfu-util ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/dfu-util.1 ${MAN1PREFIX}/man/man1
.include <bsd.port.post.mk>