openbsd-ports/devel/avrdude/Makefile
ajacoutot fcbe5f3ae2 Sync dependencies after move from libusb to libusb-compat and fix a
couple of fallouts. Note that these ports are only the ones that used to
have a direct dependency on devel/libusb so there may be some other
hidden ports that may break because of the switch. If that's the case,
no need to start ranting all over but instead tell me which one(s)
break. Thanks.

Note: sysutils/nut hasn't been fixed yet but will be today.
2011-11-13 13:54:04 +00:00

41 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.17 2011/11/13 13:54:04 ajacoutot Exp $
COMMENT= AVR microcontroller hardware in-system programmer
V= 5.10
DISTNAME= avrdude-${V}
REVISION= 3
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"
USE_GROFF = Yes
LIB_DEPENDS= devel/libusb-compat
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>