mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
3ed27ed6f9
Major changes: * OCaml 5.0 compatibility * Some petty optimisation in text output (replace ' '+ '\n' by '\n') * Correct bug in text mode Full changelog: https://github.com/maranget/hevea/blob/master/CHANGES Port changes: * Reorder variables to make linter happy
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
PORTNAME= hevea
|
|
PORTVERSION= 2.36
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://para.inria.fr/~maranget/hevea/distri/ \
|
|
ftp://ftp.inria.fr/INRIA/moscova/hevea/
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Convert LaTeX to HTML
|
|
WWW= http://para.inria.fr/~maranget/hevea/
|
|
|
|
BUILD_DEPENDS= ocamlbuild:devel/ocaml-ocamlbuild
|
|
|
|
PLIST_SUB= HEVEAVERSION=${PORTVERSION}
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DOCS_DISTFILES+= ${PORTNAME}-${PORTVERSION}-manual.pdf \
|
|
${PORTNAME}-${PORTVERSION}-manual.tar.gz
|
|
|
|
post-install:
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/esponja
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bibhva
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hevea
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hacha
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/hevea
|
|
${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-${PORTVERSION}-manual.pdf ${STAGEDIR}${PREFIX}/share/doc/hevea
|
|
(cd ${STAGEDIR}${PREFIX}/share/doc/hevea; ${TAR} xvfz ${DISTDIR}/${PORTNAME}-${PORTVERSION}-manual.tar.gz)
|
|
|
|
.include <bsd.port.mk>
|