1 # Created by: Ian Vaudrey <i.vaudrey@bigfoot.com>
11 MAINTAINER= johans@FreeBSD.org
12 COMMENT= Texinfo to HTML converter
15 CONFIGURE_ENV= PERL=${PERL}
16 CONFIGURE_ARGS= --disable-multiplatform
17 USES= gmake perl5 shebangfix tar:bzip2
20 OPTIONS_DEFINE= NLS DOCS
23 NLS_CONFIGURE_ENABLE=nls translations
26 PLIST_SUB= PROGRAM_PREFIX=${PROGRAM_PREFIX} \
27 TEXINFODIR=share/texinfo
29 .if !empty(PROGRAM_PREFIX)
30 CONFIGURE_ARGS= --program-prefix="${PROGRAM_PREFIX}"
37 @${ECHO} "You can define the PROGRAM_PREFIX variable to change the name that"
38 @${ECHO} "the texi2html program is installed as."
42 @${REINPLACE_CMD} -e 's/^translations.pl/_&/' \
43 -e '/^install-data/s|i18n|&/en.thl|' ${WRKSRC}/Makefile.in
44 @${CHMOD} +x ${WRKSRC}/install-sh
46 .include <bsd.port.mk>