2013-01-14 09:45:25 +01:00
|
|
|
# Created by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
|
1999-12-25 17:17:04 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2006-05-24 03:27:01 +02:00
|
|
|
PORTNAME= hevea
|
2016-01-12 03:52:44 +01:00
|
|
|
PORTVERSION= 2.28
|
2006-05-24 03:27:01 +02:00
|
|
|
CATEGORIES= textproc
|
2006-12-03 17:23:54 +01:00
|
|
|
MASTER_SITES= http://para.inria.fr/~maranget/hevea/distri/ \
|
|
|
|
ftp://ftp.inria.fr/INRIA/moscova/hevea/
|
2014-12-19 19:11:45 +01:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
|
|
|
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
|
1999-12-25 17:17:04 +01:00
|
|
|
|
2014-12-19 13:55:12 +01:00
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
2006-05-24 03:27:01 +02:00
|
|
|
COMMENT= Convert LaTeX to HTML
|
1999-12-25 17:17:04 +01:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
BUILD_DEPENDS= ocamlc:lang/ocaml
|
1999-12-25 17:17:04 +01:00
|
|
|
|
2014-12-19 13:55:12 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
1999-12-25 17:17:04 +01:00
|
|
|
|
2014-12-19 13:55:12 +01:00
|
|
|
PLIST_SUB= HEVEAVERSION=${PORTVERSION}
|
2013-01-29 14:42:29 +01:00
|
|
|
|
2014-04-22 18:02:03 +02:00
|
|
|
PORTDOCS= *
|
2014-12-19 13:55:12 +01:00
|
|
|
DOCS_DISTFILES+= ${PORTNAME}-${PORTVERSION}-manual.pdf \
|
|
|
|
${PORTNAME}-${PORTVERSION}-manual.tar.gz
|
2013-08-21 16:48:34 +02:00
|
|
|
|
2013-02-13 12:12:43 +01:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/^PREFIX=/s|/usr/local|${PREFIX}|' \
|
2008-04-14 23:50:20 +02:00
|
|
|
${WRKSRC}/Makefile
|
|
|
|
|
1999-12-25 17:17:04 +01:00
|
|
|
post-install:
|
2014-01-08 09:50:25 +01:00
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/esponja
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/bibhva
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hevea
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/hacha
|
2015-09-03 16:09:17 +02:00
|
|
|
|
|
|
|
post-install-DOCS-on:
|
2014-09-04 12:24:31 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/doc/hevea
|
2014-01-08 09:50:25 +01:00
|
|
|
${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)
|
1999-12-25 17:17:04 +01:00
|
|
|
|
2010-06-23 16:29:10 +02:00
|
|
|
.include <bsd.port.mk>
|