aboutsummaryrefslogtreecommitdiffstats
path: root/lang/hope/Makefile
blob: 6d578a8382b3a3dec5d18d83df8e49095a3ff987 (plain) (blame)
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
39
40
41
42
43
44
45
46
47
# New ports collection makefile for:    hope
# Date created:             24 September 2001
# Whom:                 Lev Serebryakov <lev@serebryakov.spb.ru>
#
# $FreeBSD$
#

PORTNAME=   hope
PORTVERSION=    0.0
CATEGORIES= lang
MASTER_SITES=   http://www.soi.city.ac.uk/~ross/Hope/
DISTNAME=   ${PORTNAME}

MAINTAINER= lev@serebryakov.spb.ru
COMMENT=    Hope is lazy interpriter for HOPE applicative language

.if defined(WITH_DOCS)
BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX \
        latex2html:${PORTSDIR}/textproc/latex2html
MAKE_ARGS+= WITH_DOCS=yes
.else
NOPORTDOCS= yes
.endif

GNU_CONFIGURE=  yes
USE_GMAKE=  yes

MAN1=       hope.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 500113
BROKEN=         "Does not install"
.endif

pre-fetch:
.if !defined(WITH_DOCS)
    @${ECHO} ""
    @${ECHO} "      If you want to build and install documentation"
    @${ECHO} "      you should use WITH_DOCS build option"
    @${ECHO} ""
    @${ECHO} "      Documentation is not builded by default because"
    @${ECHO} "      it needs latex and latex2html"
    @${ECHO} ""
.endif

.include <bsd.port.post.mk>