53a5e3b93e
here. All hard update work done by Simon 'corecode' Schubert and minor modifications by me.
46 lines
1.4 KiB
Makefile
46 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.25 2009/08/27 15:34:48 hasso Exp $
|
|
|
|
DISTNAME= avrdude-5.8
|
|
CATEGORIES= cross
|
|
MASTER_SITES= http://download.savannah.gnu.org/releases/avrdude/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.bsdhome.com/avrdude/
|
|
COMMENT= Downloader/uploader for Atmel AVR 8-bit RISC microcontrollers
|
|
|
|
BUILD_DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_GNU_READLINE= yes
|
|
TEX_DEPMETHOD= build
|
|
TEX_ACCEPTED= teTeX3
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= autoconf automake autoreconf makeinfo texi2html yacc lex
|
|
INFO_FILES= yes
|
|
EGDIR= ${PREFIX}/share/examples/avrdude
|
|
CONF_FILES= ${EGDIR}/avrdude.conf ${PKG_SYSCONFDIR}/avrdude.conf
|
|
CONF_FILES_PERMS= ${EGDIR}/avrdude.conf ${PKG_SYSCONFDIR}/avrdude.conf \
|
|
${ROOT_USER} ${ROOT_GROUP} 644
|
|
|
|
CONFIGURE_ARGS+= --enable-doc
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
CONFIGURE_ENV+= DEFAULT_SER_PORT=${DEFAULT_SERIAL_DEVICE:Q}
|
|
PLIST_SUBST+= DISTNAME=${DISTNAME:Q}
|
|
|
|
# The autotools used by this pkg are older than what's in pkgsrc
|
|
# currently. This makes the diffs huge.
|
|
pre-configure:
|
|
cd ${WRKSRC} && autoreconf -vif
|
|
|
|
# DragonFly has stripped makeinfo in the base - without texi2dvi.
|
|
.if ${OPSYS} == "DragonFly"
|
|
BUILD_DEPENDS+= gtexinfo-[0-9]*:../../devel/gtexinfo
|
|
.endif
|
|
|
|
.include "../../devel/readline/buildlink3.mk"
|
|
.include "../../mk/tex.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|