from these ports. Other changes: - convert Makefile header - convert to optionsNG - remove indefinite article from comment - drop support for FreeBSD < 8.0 - pet portlint (leave library ABI versions in LIB_DEPENDS) - net-mgmt/spectools: change option name from GTK to GTK2 to use default description from bsd.options.desc.mk Approved by: portmgr (bapt)
32 lines
704 B
Makefile
32 lines
704 B
Makefile
# Created by: elbarto@ArcadeBSD.org
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= dfu-programmer
|
|
PORTVERSION= 0.5.5
|
|
CATEGORIES= comms
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= byu17@uclive.ac.nz
|
|
COMMENT= Device Firmware Update based USB programmer for Atmel chips
|
|
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lusb
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
PLIST_FILES= bin/dfu-programmer
|
|
|
|
MAN1= dfu-programmer.1
|
|
PORTDOCS= *
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|