summaryrefslogtreecommitdiffstats
path: root/textproc/hevea/Makefile
blob: 92e5662fc73043d807ab7c3e39caa3705db282d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:	hevea
# Date created:		November 28 1999
# Whom:			Stephen Montgomery-Smith <stephen@math.missouri.edu>
#
# $FreeBSD$
#

PORTNAME=		hevea
PORTVERSION=		1.05
CATEGORIES=		textproc
MASTER_SITES=		ftp://ftp.inria.fr/INRIA/Projects/para/hevea/
DISTFILES=		${PORTNAME}-${PORTVERSION}.tar.gz \
			${PORTNAME}-${PORTVERSION}-manual-dvi.tar.gz \
			${PORTNAME}-${PORTVERSION}-manual.pdf \
			${PORTNAME}-${PORTVERSION}-manual.ps.gz \
			${PORTNAME}-${PORTVERSION}-manual.tar.gz
EXTRACT_ONLY=		${PORTNAME}-${PORTVERSION}.tar.gz

MAINTAINER=		stephen@math.missouri.edu

BUILD_DEPENDS=		ocamlc:${PORTSDIR}/lang/ocaml

TEX_DIR=		${PREFIX}/share/texmf/tex/latex
TEXHASH=		${PREFIX}/bin/texhash

post-install:
	strip ${PREFIX}/bin/hevea
	strip ${PREFIX}/bin/hacha
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/hevea
	${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-${PORTVERSION}-manual.pdf ${PREFIX}/share/doc/hevea
	${INSTALL_DATA} ${DISTDIR}/${PORTNAME}-${PORTVERSION}-manual.ps.gz ${PREFIX}/share/doc/hevea
	(cd ${PREFIX}/share/doc/hevea; ${TAR} xvfz ${DISTDIR}/${PORTNAME}-${PORTVERSION}-manual.tar.gz)
	(cd ${PREFIX}/share/doc/hevea; ${TAR} xvfz ${DISTDIR}/${PORTNAME}-${PORTVERSION}-manual-dvi.tar.gz)
.endif
	${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud