ports/97479: New port: lang/whitespace an interpreter for the Whitespace programming language

Li-Lun Wang (Leland Wang) llwang at infor.org
Fri May 19 03:50:16 UTC 2006


>Number:         97479
>Category:       ports
>Synopsis:       New port: lang/whitespace an interpreter for the Whitespace programming language
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 19 03:50:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Li-Lun Wang (Leland Wang)
>Release:        FreeBSD 6.0-RELEASE-p4 i386
>Organization:
>Environment:
System: FreeBSD Athena.infor.org 6.0-RELEASE-p4 FreeBSD 6.0-RELEASE-p4 #3: Thu Jan 26 23:44:20 CST 2006 root at Athena.infor.org:/usr/obj/usr/src/sys/Athena i386


	
>Description:
This is an interpreter for the Whitespace programming language, which ignores
any non-whitespace characters and only consider spaces, tabs, and newlines as
syntax.

Added files:
  lang/whitespace	Makefile distinfo pkg-descr pkg-plist
	
>How-To-Repeat:
	
>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	whitespace
#	whitespace/Makefile
#	whitespace/distinfo
#	whitespace/pkg-descr
#	whitespace/pkg-plist
#
echo c - whitespace
mkdir -p whitespace > /dev/null 2>&1
echo x - whitespace/Makefile
sed 's/^X//' >whitespace/Makefile << 'END-of-whitespace/Makefile'
X# New ports collection makefile for:	whitespace
X# Date created:        18 May 2006
X# Whom:                Li-Lun Wang <llwang at infor.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	whitespace
XPORTVERSION=	0.3
XCATEGORIES=	lang
XMASTER_SITES=	http://compsoc.dur.ac.uk/whitespace/downloads/
XDISTNAME=	wspace-${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	llwang at infor.org
XCOMMENT=	An interpreter for the Whitespace programming language
X
XBUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc
XLIB_DEPENDS=	gmp.7:${PORTSDIR}/math/libgmp4
X
XWRKSRC=	${WRKDIR}/WSpace
XUSE_GMAKE=	yes
XALL_TARGET=	${TARGET}
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/wspace ${PREFIX}/bin
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${EXAMPLESDIR}
X	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
X	${MKDIR} ${DOCSDIR}
X	${INSTALL_DATA} ${WRKSRC}/docs/tutorial.html ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-whitespace/Makefile
echo x - whitespace/distinfo
sed 's/^X//' >whitespace/distinfo << 'END-of-whitespace/distinfo'
XMD5 (wspace-0.3.tgz) = fda72d6e3e5a0e5af2f0a42829f031e5
XSHA256 (wspace-0.3.tgz) = 53e47bf05df991c1d0f88a75cf5208bfc42d42b87f8fe3e8ee6a05ac78544a73
XSIZE (wspace-0.3.tgz) = 15471
END-of-whitespace/distinfo
echo x - whitespace/pkg-descr
sed 's/^X//' >whitespace/pkg-descr << 'END-of-whitespace/pkg-descr'
XWhitespace is a imperative stack-based programming language that,
Xcontrary to most languages, ignores any non-whitespace characters.
XOnly spaces, tabs, and newlines are considered syntax in Whitespace.
X
XThis port is a prototype interpreter for the Whitespace programming
Xlanguage written in Haskell.
X
XAuthor:	Edwin Brady
X	Chris Morris
XWWW: http://compsoc.dur.ac.uk/whitespace/
X
X- Li-Lun Wang
Xllwang at infor.org
END-of-whitespace/pkg-descr
echo x - whitespace/pkg-plist
sed 's/^X//' >whitespace/pkg-plist << 'END-of-whitespace/pkg-plist'
Xbin/wspace
X%%PORTDOCS%%%%DOCSDIR%%/tutorial.html
X%%PORTDOCS%%%%EXAMPLESDIR%%/calc.ws
X%%PORTDOCS%%%%EXAMPLESDIR%%/count.ws
X%%PORTDOCS%%%%EXAMPLESDIR%%/fact.ws
X%%PORTDOCS%%%%EXAMPLESDIR%%/hanoi.ws
X%%PORTDOCS%%%%EXAMPLESDIR%%/hworld.ws
X%%PORTDOCS%%%%EXAMPLESDIR%%/loctest.ws
X%%PORTDOCS%%%%EXAMPLESDIR%%/name.ws
X%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
X%%PORTDOCS%%@dirrm %%DOCSDIR%%
END-of-whitespace/pkg-plist
exit


	


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list