diff --git a/devel/avrdude/Makefile b/devel/avrdude/Makefile new file mode 100644 index 00000000000..080826187e8 --- /dev/null +++ b/devel/avrdude/Makefile @@ -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 + +# 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 diff --git a/devel/avrdude/distinfo b/devel/avrdude/distinfo new file mode 100644 index 00000000000..95595eee72e --- /dev/null +++ b/devel/avrdude/distinfo @@ -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 diff --git a/devel/avrdude/pkg/DESCR b/devel/avrdude/pkg/DESCR new file mode 100644 index 00000000000..fcf8cb2ffde --- /dev/null +++ b/devel/avrdude/pkg/DESCR @@ -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. diff --git a/devel/avrdude/pkg/PLIST b/devel/avrdude/pkg/PLIST new file mode 100644 index 00000000000..35fa6ec97c1 --- /dev/null +++ b/devel/avrdude/pkg/PLIST @@ -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