be547a7411
Pietro Cerutti's patch from the PR, but preserving the support for a user-specified PROGRAM_PREFIX to keep PR 62607 still fixed :) - update to 1.82 - support NOPORTDOCS properly - fix DOCSDIR - use the Savannah MASTER_SITES now that we're using a stock upstream version While I'm here, refresh the single patch and add a descriptive comment. PR: 136303 Submitted by: gahr
46 lines
1 KiB
Makefile
46 lines
1 KiB
Makefile
# New ports collection makefile for: texi2html
|
|
# Date created: 5 Nov 1997
|
|
# Whom: Ian Vaudrey <i.vaudrey@bigfoot.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= texi2html
|
|
PORTVERSION= 1.82
|
|
PORTEPOCH= 1
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
|
|
MAINTAINER= roam@FreeBSD.org
|
|
COMMENT= Texinfo to HTML converter
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= PERL=${PERL}
|
|
CONFIGURE_ARGS= --disable-multiplatform
|
|
USE_PERL5_RUN= yes
|
|
USE_GMAKE= yes
|
|
|
|
PROGRAM_PREFIX?=
|
|
PLIST_SUB= PROGRAM_PREFIX=${PROGRAM_PREFIX}
|
|
|
|
.if !empty(PROGRAM_PREFIX)
|
|
CONFIGURE_ARGS= --program-prefix="${PROGRAM_PREFIX}"
|
|
.endif
|
|
|
|
MAN1= ${PROGRAM_PREFIX}texi2html.1
|
|
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:
|
|
${TOUCH} ${WRKSRC}/translations.pl
|
|
.if defined(NOPORTDOCS)
|
|
${REINPLACE_CMD} -e 's| install-texinfohtmlDATA||g' ${WRKSRC}/doc/Makefile.in
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|