# $OpenBSD: Makefile,v 1.1.1.1 2011/03/08 06:22:16 matthew Exp $ COMMENT = Device Firmware Update-based programmer for Atmel chips V = 0.5.4 DISTNAME = dfu-programmer-${V} CATEGORIES = devel HOMEPAGE = http://dfu-programmer.sourceforge.net/ # GPLv2+ PERMIT_PACKAGE_CDROM = Yes PERMIT_PACKAGE_FTP = Yes PERMIT_DISTFILES_CDROM =Yes PERMIT_DISTFILES_FTP = Yes WANTLIB = c usb LIB_DEPENDS = devel/libusb MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=dfu-programmer/} CONFIGURE_STYLE = gnu CONFIGURE_ENV = CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \ CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ LDFLAGS="${CFLAGS} -L${LOCALBASE}/lib" .include