2011-06-02 09:41:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2011/06/02 13:41:38 ajacoutot Exp $
|
2008-08-21 10:05:21 -04:00
|
|
|
|
|
|
|
COMMENT= AVR microcontroller hardware in-system programmer
|
|
|
|
|
2010-06-27 16:39:33 -04:00
|
|
|
V= 5.10
|
2008-08-21 10:05:21 -04:00
|
|
|
DISTNAME= avrdude-${V}
|
2011-06-02 09:41:36 -04:00
|
|
|
REVISION= 2
|
2008-08-28 23:58:43 -04:00
|
|
|
DISTFILES+= avrdude-${V}.tar.gz avrdude-doc-${V}.pdf
|
2008-08-21 10:05:21 -04:00
|
|
|
CATEGORIES= devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.nongnu.org/avrdude/
|
|
|
|
|
|
|
|
MAINTAINER= Chris Kuethe <ckuethe@openbsd.org>
|
|
|
|
|
2008-08-21 10:20:12 -04:00
|
|
|
# GPLv2+
|
2008-08-21 10:05:21 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2009-03-05 15:25:32 -05:00
|
|
|
WANTLIB= c m ncurses readline termcap
|
2008-08-21 10:05:21 -04:00
|
|
|
|
2009-02-16 10:28:57 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH:=avrdude/}
|
2008-08-21 10:05:21 -04:00
|
|
|
EXTRACT_ONLY= avrdude-${V}${EXTRACT_SUFX}
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu
|
|
|
|
CONFIGURE_ARGS+= CPPFLAGS=-I${LOCALBASE}/include \
|
|
|
|
LDFLAGS=-L${LOCALBASE}/lib
|
2010-11-15 14:45:56 -05:00
|
|
|
USE_GROFF = Yes
|
2008-08-21 10:05:21 -04:00
|
|
|
|
2010-11-15 14:45:56 -05:00
|
|
|
LIB_DEPENDS= devel/libusb
|
|
|
|
WANTLIB += usb>=1
|
2008-08-21 10:05:21 -04:00
|
|
|
|
|
|
|
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>
|