Update games/scummvm to version 1.7.0
[dports.git] / textproc / texi2html / Makefile
1 # Created by: Ian Vaudrey <i.vaudrey@bigfoot.com>
2 # $FreeBSD$
3
4 PORTNAME=       texi2html
5 PORTVERSION=    5.0
6 PORTREVISION=   1
7 PORTEPOCH=      1
8 CATEGORIES=     textproc
9 MASTER_SITES=   SAVANNAH
10
11 MAINTAINER=     johans@FreeBSD.org
12 COMMENT=        Texinfo to HTML converter
13
14 GNU_CONFIGURE=  yes
15 CONFIGURE_ENV=  PERL=${PERL}
16 CONFIGURE_ARGS= --disable-multiplatform
17 USES=           gmake perl5 shebangfix tar:bzip2
18 SHEBANG_FILES=  *.pl
19
20 OPTIONS_DEFINE= NLS DOCS
21 OPTIONS_SUB=    yes
22 NLS_USES=       gettext
23 NLS_CONFIGURE_ENABLE=nls translations
24
25 PROGRAM_PREFIX?=
26 PLIST_SUB=      PROGRAM_PREFIX=${PROGRAM_PREFIX} \
27                 TEXINFODIR=share/texinfo
28
29 .if !empty(PROGRAM_PREFIX)
30 CONFIGURE_ARGS= --program-prefix="${PROGRAM_PREFIX}"
31 .endif
32
33 INFO=           texi2html
34
35 pre-everything::
36         @${ECHO} ""
37         @${ECHO} "You can define the PROGRAM_PREFIX variable to change the name that"
38         @${ECHO} "the texi2html program is installed as."
39         @${ECHO} ""
40
41 post-patch:
42         @${REINPLACE_CMD} -e 's/^translations.pl/_&/' \
43                 -e '/^install-data/s|i18n|&/en.thl|' ${WRKSRC}/Makefile.in
44         @${CHMOD} +x ${WRKSRC}/install-sh
45
46 .include <bsd.port.mk>