diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2009-12-09 01:14:54 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2009-12-09 01:14:54 +0800 |
commit | a0c67c2c82631005f779b996d93b8d40e72eff3c (patch) | |
tree | ed984f7caca5e7515847692a2eec3ac1d407c13d /comms | |
parent | fe3ee89acf10e238bdabd3ba31822b63d212fa7a (diff) | |
download | freebsd-ports-gnome-a0c67c2c82631005f779b996d93b8d40e72eff3c.tar.gz freebsd-ports-gnome-a0c67c2c82631005f779b996d93b8d40e72eff3c.tar.zst freebsd-ports-gnome-a0c67c2c82631005f779b996d93b8d40e72eff3c.zip |
dfu-programmer is a Device Firmware Update based USB programmer
for Atmel chips with a USB bootloader.
WWW: http://dfu-programmer.sourceforge.net/
PR: 137020
Submitted by: Emmanuel Vadot <elbarto@arcadebsd.org>
Diffstat (limited to 'comms')
-rw-r--r-- | comms/Makefile | 1 | ||||
-rw-r--r-- | comms/dfu-programmer/Makefile | 39 | ||||
-rw-r--r-- | comms/dfu-programmer/distinfo | 3 | ||||
-rw-r--r-- | comms/dfu-programmer/pkg-descr | 4 |
4 files changed, 47 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile index 0c080efdd12c..72bc63a55da4 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -24,6 +24,7 @@ SUBDIR += conserver-com SUBDIR += cutecom SUBDIR += cwdaemon + SUBDIR += dfu-programmer SUBDIR += dfu-util SUBDIR += ebook2cw SUBDIR += echolinux diff --git a/comms/dfu-programmer/Makefile b/comms/dfu-programmer/Makefile new file mode 100644 index 000000000000..ee2253772839 --- /dev/null +++ b/comms/dfu-programmer/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: dfu-programmer +# Date created: 16 July 2009 +# Whom: elbarto@ArcadeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= dfu-programmer +PORTVERSION= 0.5.1 +CATEGORIES= comms +MASTER_SITES= SF + +MAINTAINER= elbarto@ArcadeBSD.org +COMMENT= Device Firmware Update based USB programmer for Atmel chips + +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" +MAKE_JOBS_SAFE= yes + +PLIST_FILES= bin/dfu-programmer + +MAN1= dfu-programmer.1 +PORTDOCS= * + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 800069 +LIB_DEPENDS+= usb-0.1.8:${PORTSDIR}/devel/libusb +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 ${MAN1PREFIX}/man/man1 +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include <bsd.port.post.mk> diff --git a/comms/dfu-programmer/distinfo b/comms/dfu-programmer/distinfo new file mode 100644 index 000000000000..816fb375279e --- /dev/null +++ b/comms/dfu-programmer/distinfo @@ -0,0 +1,3 @@ +MD5 (dfu-programmer-0.5.1.tar.gz) = 2c653fcb0aac1c52b0a5ab8a7ecd60ba +SHA256 (dfu-programmer-0.5.1.tar.gz) = 3c875a0ed7a38302fc2fa956c0170851c4cce4dc82110c1fd5210b26cc4a8088 +SIZE (dfu-programmer-0.5.1.tar.gz) = 112283 diff --git a/comms/dfu-programmer/pkg-descr b/comms/dfu-programmer/pkg-descr new file mode 100644 index 000000000000..8c2397d85e08 --- /dev/null +++ b/comms/dfu-programmer/pkg-descr @@ -0,0 +1,4 @@ +dfu-programmer is a Device Firmware Update based USB programmer +for Atmel chips with a USB bootloader. + +WWW: http://dfu-programmer.sourceforge.net/ |