blob: ee18c1ea31366d46fa9f4065fe2548b76cc4f10b (
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
|
# Created by: Li-Lun Wang <llwang@infor.org>
# $FreeBSD$
PORTNAME= whitespace
PORTVERSION= 0.3
PORTREVISION= 7
CATEGORIES= lang
MASTER_SITES= http://compsoc.dur.ac.uk/whitespace/downloads/
DISTNAME= wspace-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Interpreter for the Whitespace programming language
LICENSE= GPLv2
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
libffi.so.6:${PORTSDIR}/devel/libffi
USES= perl5 gmake tar:tgz
USE_PERL5= build
WRKSRC= ${WRKDIR}/WSpace
ALL_TARGET= ${TARGET}
PLIST_FILES= bin/wspace
PORTEXAMPLES= *
PORTDOCS= *
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/wspace ${STAGEDIR}${PREFIX}/bin
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/tutorial.html ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|