aboutsummaryrefslogtreecommitdiffstats
path: root/lang/whitespace/Makefile
blob: 9561e9579515b69dfd88e51adc26176e0bd06dcf (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
# New ports collection makefile for:    whitespace
# Date created:        18 May 2006
# Whom:                Li-Lun Wang <llwang@infor.org>
#
# $FreeBSD$
#

PORTNAME=   whitespace
PORTVERSION=    0.3
PORTREVISION=   2
CATEGORIES= lang
MASTER_SITES=   http://compsoc.dur.ac.uk/whitespace/downloads/
DISTNAME=   wspace-${PORTVERSION}
EXTRACT_SUFX=   .tgz

MAINTAINER= llwang@infor.org
COMMENT=    An interpreter for the Whitespace programming language

BUILD_DEPENDS=  ghc:${PORTSDIR}/lang/ghc
LIB_DEPENDS=    gmp.8:${PORTSDIR}/math/libgmp4

WRKSRC= ${WRKDIR}/WSpace
USE_GMAKE=  yes
ALL_TARGET= ${TARGET}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/wspace ${PREFIX}/bin

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/docs/tutorial.html ${DOCSDIR}
.endif

.include <bsd.port.mk>