openbsd-ports/devel/avrdude/Makefile

43 lines
1.0 KiB
Makefile
Raw Normal View History

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