aboutsummaryrefslogtreecommitdiffstats
path: root/comms/dfu-util/Makefile
blob: 2e289a61208819b4e7555fc00487c3dd96d2e646 (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
# 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>