mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
Makefile
# Created by: Ian Vaudrey <i.vaudrey@bigfoot.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= texi2html
|
|
PORTVERSION= 5.0
|
|
PORTREVISION= 1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SAVANNAH
|
|
|
|
MAINTAINER= johans@FreeBSD.org
|
|
COMMENT= Texinfo to HTML converter
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= PERL=${PERL}
|
|
CONFIGURE_ARGS= --disable-multiplatform
|
|
USES= gmake perl5 shebangfix
|
|
USE_BZIP2= yes
|
|
SHEBANG_FILES= *.pl
|
|
|
|
OPTIONS_DEFINE= NLS DOCS
|
|
OPTIONS_SUB= yes
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE=nls translations
|
|
|
|
PROGRAM_PREFIX?=
|
|
PLIST_SUB= PROGRAM_PREFIX=${PROGRAM_PREFIX} \
|
|
TEXINFODIR=share/texinfo
|
|
|
|
.if !empty(PROGRAM_PREFIX)
|
|
CONFIGURE_ARGS= --program-prefix="${PROGRAM_PREFIX}"
|
|
.endif
|
|
|
|
INFO= texi2html
|
|
|
|
pre-everything::
|
|
@${ECHO} ""
|
|
@${ECHO} "You can define the PROGRAM_PREFIX variable to change the name that"
|
|
@${ECHO} "the texi2html program is installed as."
|
|
@${ECHO} ""
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's/^translations.pl/_&/' \
|
|
-e '/^install-data/s|i18n|&/en.thl|' ${WRKSRC}/Makefile.in
|
|
@${CHMOD} +x ${WRKSRC}/install-sh
|
|
|
|
.include <bsd.port.mk>
|