mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- Add CONFLICTS with ja-latex2html[*].
- Use TEXMFDIR instead of TEXMFLOCAL. - Use pkg-message.in to replace %%DATADIR%% string. - Bump PORTREVISION. PR: ports/107728 [*] Submitted by: Koji Yokota [*]
This commit is contained in:
parent
7f26c21995
commit
43aedc80a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=182688
3 changed files with 27 additions and 33 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= latex2html
|
||||
PORTVERSION= 2002.2.1
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
|
||||
MASTER_SITE_SUBDIR= support/${PORTNAME}
|
||||
|
@ -21,22 +21,23 @@ BUILD_DEPENDS= ${LOCALBASE}/bin/latex:${PORTSDIR}/print/teTeX-base \
|
|||
${LOCALBASE}/bin/anytopnm:${PORTSDIR}/graphics/netpbm
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
CONFLICTS= ja-latex2html-[0-9]*
|
||||
|
||||
USE_PERL5= yes
|
||||
USE_GHOSTSCRIPT= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-perl=${PERL} \
|
||||
--disable-gif \
|
||||
--shlibdir=${DATADIR} \
|
||||
--with-texpath=${PREFIX}/${TEXMFLOCAL}/tex/latex/html
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
PKGMESSAGE_IN= ${PKGDIR}/pkg-message
|
||||
PLIST_SUB= TEXMFLOCAL=${TEXMFLOCAL} MKTEXLSR=${MKTEXLSR}
|
||||
--with-texpath=${PREFIX}/${TEXMFDIR}/tex/latex/html
|
||||
SUB_FILES= pkg-message
|
||||
PLIST_SUB= TEXMFDIR=${TEXMFDIR} MKTEXLSR=${MKTEXLSR}
|
||||
|
||||
MAN1= latex2html.1
|
||||
|
||||
TEXMFLOCAL= share/texmf-local
|
||||
TEXMFDIR= share/texmf
|
||||
MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
|
||||
DOC_FILES= FAQ INSTALL LICENSE README
|
||||
PORTDOCS= FAQ INSTALL LICENSE README
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
|
@ -48,18 +49,15 @@ pre-everything::
|
|||
@${ECHO_MSG} ""
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${SED} 's|%%PREFIX%%|${PREFIX}|g' ${PKGMESSAGE_IN} > ${PKGMESSAGE}
|
||||
|
||||
post-install:
|
||||
${INSTALL_MAN} ${FILESDIR}/latex2html.1 ${MANPREFIX}/man/man1
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for file in ${DOC_FILES}
|
||||
.for file in ${PORTDOCS}
|
||||
@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
||||
.endfor
|
||||
.endif
|
||||
@${MKTEXLSR}
|
||||
@${MKTEXLSR} ${PREFIX}/${TEXMFDIR}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
**** Individual user configurations can be accomplished by placing a copy
|
||||
of %%PREFIX%%/share/latex2html/dot.latex2html-init in the user's home
|
||||
of %%DATADIR%%/dot.latex2html-init in the user's home
|
||||
directory and editing to preference.
|
|
@ -1,12 +1,9 @@
|
|||
@comment $FreeBSD$
|
||||
bin/latex2html
|
||||
bin/pstoimg
|
||||
bin/texexpand
|
||||
lib/latex2html/cfgcache.pm
|
||||
lib/latex2html/l2hconf.pm
|
||||
%%PORTDOCS%%%%DOCSDIR%%/FAQ
|
||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%DATADIR%%/IndicTeX-HTML/README
|
||||
%%DATADIR%%/IndicTeX-HTML/bengali.perl
|
||||
%%DATADIR%%/IndicTeX-HTML/bengali.sty
|
||||
|
@ -306,22 +303,21 @@ lib/latex2html/l2hconf.pm
|
|||
%%DATADIR%%/versions/techexpl.pl
|
||||
%%DATADIR%%/versions/unicode.pl
|
||||
%%DATADIR%%/versions/utf8.pl
|
||||
%%TEXMFLOCAL%%/tex/latex/html/floatflt.ins
|
||||
%%TEXMFLOCAL%%/tex/latex/html/frames.sty
|
||||
%%TEXMFLOCAL%%/tex/latex/html/heqn.sty
|
||||
%%TEXMFLOCAL%%/tex/latex/html/hthtml.sty
|
||||
%%TEXMFLOCAL%%/tex/latex/html/html.sty
|
||||
%%TEXMFLOCAL%%/tex/latex/html/htmllist.sty
|
||||
%%TEXMFLOCAL%%/tex/latex/html/justify.sty
|
||||
%%TEXMFLOCAL%%/tex/latex/html/latin9.def
|
||||
%%TEXMFLOCAL%%/tex/latex/html/ldump.sty
|
||||
%%TEXMFLOCAL%%/tex/latex/html/techexplHTML.tex
|
||||
%%TEXMFLOCAL%%/tex/latex/html/url.sty
|
||||
%%TEXMFLOCAL%%/tex/latex/html/verbatimfiles.sty
|
||||
@exec %%MKTEXLSR%%
|
||||
@unexec %%MKTEXLSR%%
|
||||
%%TEXMFDIR%%/tex/latex/html/floatflt.ins
|
||||
%%TEXMFDIR%%/tex/latex/html/frames.sty
|
||||
%%TEXMFDIR%%/tex/latex/html/heqn.sty
|
||||
%%TEXMFDIR%%/tex/latex/html/hthtml.sty
|
||||
%%TEXMFDIR%%/tex/latex/html/html.sty
|
||||
%%TEXMFDIR%%/tex/latex/html/htmllist.sty
|
||||
%%TEXMFDIR%%/tex/latex/html/justify.sty
|
||||
%%TEXMFDIR%%/tex/latex/html/latin9.def
|
||||
%%TEXMFDIR%%/tex/latex/html/ldump.sty
|
||||
%%TEXMFDIR%%/tex/latex/html/techexplHTML.tex
|
||||
%%TEXMFDIR%%/tex/latex/html/url.sty
|
||||
%%TEXMFDIR%%/tex/latex/html/verbatimfiles.sty
|
||||
@exec %%MKTEXLSR%% %D/%%TEXMFDIR%%
|
||||
@unexec %%MKTEXLSR%% %D/%%TEXMFDIR%%
|
||||
@dirrm lib/latex2html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm %%DATADIR%%/IndicTeX-HTML
|
||||
@dirrm %%DATADIR%%/L2hos
|
||||
@dirrm %%DATADIR%%/XyMTeX-HTML
|
||||
|
@ -338,4 +334,4 @@ lib/latex2html/l2hconf.pm
|
|||
@dirrm %%DATADIR%%/texinputs
|
||||
@dirrm %%DATADIR%%/versions
|
||||
@dirrm %%DATADIR%%
|
||||
@dirrm %%TEXMFLOCAL%%/tex/latex/html
|
||||
@dirrm %%TEXMFDIR%%/tex/latex/html
|
||||
|
|
Loading…
Add table
Reference in a new issue