diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-04-22 11:06:18 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-04-22 11:06:18 +0000 |
commit | edb6a9d7af5183537e061d306b50c955c0824b5d (patch) | |
tree | 9337dcfb392ba9568b177bc8fbcdb04ebfe4822c /devel/avrdude | |
parent | ddd4ffe1b7eb940fc16c52aab79fab63ba5bce71 (diff) |
Notes
Diffstat (limited to 'devel/avrdude')
-rw-r--r-- | devel/avrdude/Makefile | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/devel/avrdude/Makefile b/devel/avrdude/Makefile index 2116c84109d3..a09a3fa4bf49 100644 --- a/devel/avrdude/Makefile +++ b/devel/avrdude/Makefile @@ -3,18 +3,32 @@ PORTNAME= avrdude PORTVERSION= 6.1 +PORTREVISION= 1 CATEGORIES= devel -MASTER_SITES= ${MASTER_SITE_SAVANNAH} -MASTER_SITE_SUBDIR= avrdude +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 LDFLAGS+= -L${LOCALBASE}/lib CFLAGS+= -I${LOCALBASE}/include MAKE_JOBS_UNSAFE= yes +OPTIONS_DEFINE= FTDI +OPTIONS_DEFAULT= FTDI +FTDI_DESC= libftdi support +FTDI_LIB_DEPENDS= libftdi1.so:${PORTSDIR}/devel/libftdi1 + +.include <bsd.port.options.mk> + +post-patch: + @${REINPLACE_CMD} -e 's|-lusb-1.0|-lusb|g' ${WRKSRC}/configure +.if ! ${PORT_OPTIONS:MFTDI} + @${REINPLACE_CMD} -e '/LIBS=/ s|-lftdi1*|&-do-not-detect|' ${WRKSRC}/configure +.endif + .include <bsd.port.mk> |