mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
Add whitespace 0.3, an interpreter for the Whitespace programming
language. PR: ports/97479 Submitted by: Li-Lun Wang <llwang@infor.org> Approved by: tobez
This commit is contained in:
parent
311e60699d
commit
4136ed975a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163999
@ -303,6 +303,7 @@
|
||||
SUBDIR += twelf
|
||||
SUBDIR += visualworks
|
||||
SUBDIR += wamcc
|
||||
SUBDIR += whitespace
|
||||
SUBDIR += xsb
|
||||
SUBDIR += yabasic
|
||||
SUBDIR += yap
|
||||
|
36
lang/whitespace/Makefile
Normal file
36
lang/whitespace/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# New ports collection makefile for: whitespace
|
||||
# Date created: 18 May 2006
|
||||
# Whom: Li-Lun Wang <llwang@infor.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= whitespace
|
||||
PORTVERSION= 0.3
|
||||
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.7:${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>
|
3
lang/whitespace/distinfo
Normal file
3
lang/whitespace/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (wspace-0.3.tgz) = fda72d6e3e5a0e5af2f0a42829f031e5
|
||||
SHA256 (wspace-0.3.tgz) = 53e47bf05df991c1d0f88a75cf5208bfc42d42b87f8fe3e8ee6a05ac78544a73
|
||||
SIZE (wspace-0.3.tgz) = 15471
|
13
lang/whitespace/pkg-descr
Normal file
13
lang/whitespace/pkg-descr
Normal file
@ -0,0 +1,13 @@
|
||||
Whitespace is a imperative stack-based programming language that,
|
||||
contrary to most languages, ignores any non-whitespace characters.
|
||||
Only spaces, tabs, and newlines are considered syntax in Whitespace.
|
||||
|
||||
This port is a prototype interpreter for the Whitespace programming
|
||||
language written in Haskell.
|
||||
|
||||
Author: Edwin Brady
|
||||
Chris Morris
|
||||
WWW: http://compsoc.dur.ac.uk/whitespace/
|
||||
|
||||
- Li-Lun Wang
|
||||
llwang@infor.org
|
11
lang/whitespace/pkg-plist
Normal file
11
lang/whitespace/pkg-plist
Normal file
@ -0,0 +1,11 @@
|
||||
bin/wspace
|
||||
%%PORTDOCS%%%%DOCSDIR%%/tutorial.html
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/calc.ws
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/count.ws
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/fact.ws
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/hanoi.ws
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/hworld.ws
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/loctest.ws
|
||||
%%PORTDOCS%%%%EXAMPLESDIR%%/name.ws
|
||||
%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
Loading…
Reference in New Issue
Block a user