1 # $NetBSD: Makefile,v 1.34 2012/10/03 00:10:29 asau Exp $
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
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
21 .
include "../../mk/bsd.prefs.mk"
25 USE_TOOLS
+= autoconf automake autoreconf
makeinfo texi2html
yacc lex
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.
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
47 .
include "../../devel/libftdi/buildlink3.mk"
48 .
include "../../devel/libusb/buildlink3.mk"
49 .
include "../../devel/readline/buildlink3.mk"
50 .
include "../../mk/bsd.pkg.mk"