summaryrefslogblamecommitdiff
path: root/lang/hope/Makefile
blob: f235fd6fa4923100a946b132d466e55ec7e4e22b (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                      
           

                    
                   



                                                     
                               
                                                                      

                      
                           
                                                          









                             
                   

                          










                                                                        
                           
# Created by: Lev Serebryakov <lev@serebryakov.spb.ru>
# $FreeBSD$

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

MAINTAINER=	lev@FreeBSD.org
COMMENT=	Hope is lazy interpreter for HOPE applicative language

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

GNU_CONFIGURE=	yes
USE_GMAKE=	yes

MAN1=		hope.1

NO_STAGE=	yes
.include <bsd.port.pre.mk>

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>