2011-11-13 08:54:04 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.2 2011/11/13 13:54:04 ajacoutot Exp $
|
2011-03-08 01:22:16 -05:00
|
|
|
|
|
|
|
COMMENT = Device Firmware Update-based programmer for Atmel chips
|
|
|
|
|
|
|
|
V = 0.5.4
|
|
|
|
DISTNAME = dfu-programmer-${V}
|
2011-11-13 08:54:04 -05:00
|
|
|
REVISION = 0
|
2011-03-08 01:22:16 -05:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2011-11-13 08:54:04 -05:00
|
|
|
WANTLIB = c pthread usb-1.0
|
2011-03-08 01:22:16 -05:00
|
|
|
|
2011-11-13 08:54:04 -05:00
|
|
|
LIB_DEPENDS = devel/libusb1
|
2011-03-08 01:22:16 -05:00
|
|
|
|
|
|
|
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 <bsd.port.mk>
|