2013-04-29 18:43:05 +02:00
|
|
|
# Created by: Brian Dean <bsd@FreeBSD.org>
|
2003-04-08 23:59:14 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= avrdude
|
2016-11-24 12:22:44 +01:00
|
|
|
PORTVERSION= 6.3
|
2003-04-08 23:59:14 +02:00
|
|
|
CATEGORIES= devel
|
2015-04-22 13:06:18 +02:00
|
|
|
MASTER_SITES= SAVANNAH/avrdude
|
2003-04-08 23:59:14 +02:00
|
|
|
|
2009-02-27 13:22:56 +01:00
|
|
|
MAINTAINER= joerg@FreeBSD.org
|
2003-04-08 23:59:14 +02:00
|
|
|
COMMENT= Program for programming the on-chip memory of Atmel AVR CPUs
|
|
|
|
|
2011-12-14 21:31:10 +01:00
|
|
|
LICENSE= GPLv2
|
2015-04-22 13:06:18 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2011-12-14 21:31:10 +01:00
|
|
|
|
2009-02-27 13:33:59 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2016-11-24 12:22:44 +01:00
|
|
|
USES= libtool localbase readline
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
INSTALL_TARGET= install-strip
|
2009-11-19 23:07:43 +01:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2003-04-08 23:59:14 +02:00
|
|
|
|
2016-11-24 12:22:44 +01:00
|
|
|
OPTIONS_DEFINE= FTDI
|
2015-04-22 13:06:18 +02:00
|
|
|
OPTIONS_DEFAULT= FTDI
|
2016-11-24 12:22:44 +01:00
|
|
|
FTDI_DESC= libftdi support
|
2016-04-01 16:00:51 +02:00
|
|
|
FTDI_LIB_DEPENDS= libftdi1.so:devel/libftdi1
|
2015-04-22 13:06:18 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-lusb-1.0|-lusb|g' ${WRKSRC}/configure
|
2016-11-24 12:22:44 +01:00
|
|
|
|
|
|
|
post-patch-FTDI-off:
|
2015-04-22 13:06:18 +02:00
|
|
|
@${REINPLACE_CMD} -e '/LIBS=/ s|-lftdi1*|&-do-not-detect|' ${WRKSRC}/configure
|
|
|
|
|
2013-04-29 18:43:05 +02:00
|
|
|
.include <bsd.port.mk>
|