1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/devel/avrdude/Makefile
2021-04-06 16:31:07 +02:00

33 lines
738 B
Makefile

# Created by: Brian Dean <bsd@FreeBSD.org>
PORTNAME= avrdude
PORTVERSION= 6.3
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= SAVANNAH/avrdude
MAINTAINER= joerg@FreeBSD.org
COMMENT= Program for programming the on-chip memory of Atmel AVR CPUs
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
USES= libtool localbase readline
USE_LDCONFIG= yes
INSTALL_TARGET= install-strip
MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= FTDI
OPTIONS_DEFAULT= FTDI
FTDI_DESC= libftdi support
FTDI_LIB_DEPENDS= libftdi1.so:devel/libftdi1
post-patch:
@${REINPLACE_CMD} -e 's|-lusb-1.0|-lusb|g' ${WRKSRC}/configure
post-patch-FTDI-off:
@${REINPLACE_CMD} -e '/LIBS=/ s|-lftdi1*|&-do-not-detect|' ${WRKSRC}/configure
.include <bsd.port.mk>