mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
10ee67da73
Changes in 2.16 * Patchy: change fnsymbol from '%' to '$' Changes in 2.15 * Correct definition of \@addstyle as '%' can now occur in attr -> inline definition of \@printnostyle * Correct bug : define \% as \char037 not as * \@print{\char045} !
47 lines
1.4 KiB
Makefile
47 lines
1.4 KiB
Makefile
# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= hevea
|
|
PORTVERSION= 2.16
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://para.inria.fr/~maranget/hevea/distri/ \
|
|
ftp://ftp.inria.fr/INRIA/moscova/hevea/
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz
|
|
EXTRACT_ONLY= ${PORTNAME}-${PORTVERSION}.tar.gz
|
|
|
|
MAINTAINER= gahr@FreeBSD.org
|
|
COMMENT= Convert LaTeX to HTML
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml
|
|
|
|
PLIST_SUB= HEVEAVERSION=${PORTVERSION}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
PORTDOCS= *
|
|
DISTFILES+= ${PORTNAME}-${PORTVERSION}-manual.pdf \
|
|
${PORTNAME}-${PORTVERSION}-manual.tar.gz
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^PREFIX=/s|/usr/local|${PREFIX}|' \
|
|
${WRKSRC}/Makefile
|
|
|
|
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
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/hevea
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${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)
|
|
#@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${PREFIX}/share/doc/hevea
|
|
.endif
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.mk>
|