Import avrdude - a utility for programming Atmel AVR microcontrollers

supporting a number of different types of programming hardware and MCUs
This commit is contained in:
ckuethe 2008-08-21 14:05:21 +00:00
parent 7e19152b63
commit 60ef9a979f
4 changed files with 55 additions and 0 deletions

37
devel/avrdude/Makefile Normal file
View File

@ -0,0 +1,37 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/08/21 14:05:21 ckuethe Exp $
COMMENT= AVR microcontroller hardware in-system programmer
V= 5.5
DISTNAME= avrdude-${V}
DISTFILES+= avrdude-doc-${V}.pdf
CATEGORIES= devel
HOMEPAGE= http://www.nongnu.org/avrdude/
MAINTAINER= Chris Kuethe <ckuethe@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= c ncurses readline termcap
MASTER_SITES= http://savannah.nongnu.org/download/avrdude/
EXTRACT_ONLY= avrdude-${V}${EXTRACT_SUFX}
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= CPPFLAGS=-I${LOCALBASE}/include \
LDFLAGS=-L${LOCALBASE}/lib
LIB_DEPENDS= usb.>=1::devel/libusb
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/avrdude
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/avrdude
${INSTALL_DATA} ${WRKSRC}/avrdude.conf ${PREFIX}/share/examples/avrdude
${INSTALL_DATA} ${FULLDISTDIR}/avrdude-doc-${V}.pdf \
${PREFIX}/share/doc/avrdude
.include <bsd.port.mk>

5
devel/avrdude/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (avrdude-doc-5.5.pdf) = iB4ups1H1EYLOaZHMBOM5g==
RMD160 (avrdude-doc-5.5.pdf) = QlIm6GKeTlwgmHvDifCH1mnm+KQ=
SHA1 (avrdude-doc-5.5.pdf) = tqWkHcamzbxZDbDl5Auj0Ms1pG0=
SHA256 (avrdude-doc-5.5.pdf) = hRxGK59WC+YyOL77Db9L2ysPEbnScsLg1/BuY+N80no=
SIZE (avrdude-doc-5.5.pdf) = 199919

6
devel/avrdude/pkg/DESCR Normal file
View File

@ -0,0 +1,6 @@
AVRDUDE is a full featured BSD Unix program for programming Atmel's AVR
CPU's. It can program the Flash and EEPROM, and where supported by the
serial programming protocol, it can program fuse and lock bits. AVRDUDE
also supplies a direct instruction mode allowing one to issue any
programming instruction to the AVR chip regardless of whether AVRDUDE
implements that specific feature of a particular chip.

7
devel/avrdude/pkg/PLIST Normal file
View File

@ -0,0 +1,7 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2008/08/21 14:05:21 ckuethe Exp $
@bin bin/avrdude
@man man/man1/avrdude.1
share/doc/avrdude/
share/doc/avrdude/avrdude-doc-5.5.pdf
share/examples/avrdude/
@sample share/examples/avrdude/avrdude.conf