Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / cross / avrdude / Makefile
blob72ce57f0bf1356c85e14d5931fcd38fbefae6c33
1 # $NetBSD: Makefile,v 1.34 2012/10/03 00:10:29 asau Exp $
3 DISTNAME= avrdude-5.11
4 PKGREVISION= 1
5 CATEGORIES= cross
6 MASTER_SITES= http://download.savannah.gnu.org/releases/avrdude/
8 MAINTAINER= pkgsrc-users@NetBSD.org
9 HOMEPAGE= http://www.nongnu.org/avrdude/
10 COMMENT= Downloader/uploader for Atmel AVR 8-bit RISC microcontrollers
11 LICENSE= gnu-gpl-v2
13 BUILD_DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
14 BUILD_DEPENDS+= tex-latex-fonts-[0-9]*:../../fonts/tex-latex-fonts
15 BUILD_DEPENDS+= tex-pdftex-[0-9]*:../../print/tex-pdftex
17 MAKE_JOBS_SAFE= no
19 USE_GNU_READLINE= yes
21 .include "../../mk/bsd.prefs.mk"
23 GNU_CONFIGURE= yes
24 TEXINFO_REQD= 4.9
25 USE_TOOLS+= autoconf automake autoreconf makeinfo texi2html yacc lex
26 INFO_FILES= yes
27 EGDIR= ${PREFIX}/share/examples/avrdude
28 CONF_FILES= ${EGDIR}/avrdude.conf ${PKG_SYSCONFDIR}/avrdude.conf
29 CONF_FILES_PERMS= ${EGDIR}/avrdude.conf ${PKG_SYSCONFDIR}/avrdude.conf \
30 ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 644
32 CONFIGURE_ARGS+= --enable-doc
33 CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
34 CONFIGURE_ENV+= DEFAULT_SER_PORT=${DEFAULT_SERIAL_DEVICE:Q}
35 PLIST_SUBST+= DISTNAME=${DISTNAME}
37 # The autotools used by this pkg are older than what's in pkgsrc
38 # currently. This makes the diffs huge.
39 pre-configure:
40 cd ${WRKSRC} && autoreconf -vif
42 # DragonFly has stripped makeinfo in the base - without texi2dvi.
43 .if ${OPSYS} == "DragonFly"
44 BUILD_DEPENDS+= gtexinfo-[0-9]*:../../devel/gtexinfo
45 .endif
47 .include "../../devel/libftdi/buildlink3.mk"
48 .include "../../devel/libusb/buildlink3.mk"
49 .include "../../devel/readline/buildlink3.mk"
50 .include "../../mk/bsd.pkg.mk"