From llwang@infor.ck.tp.edu.tw  Fri May 19 03:42:55 2006
Return-Path: <llwang@infor.ck.tp.edu.tw>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5E49616A420
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 May 2006 03:42:55 +0000 (UTC)
	(envelope-from llwang@infor.ck.tp.edu.tw)
Received: from infor.ck.tp.edu.tw (infor.ck.tp.edu.tw [203.64.26.200])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E82E043D45
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 19 May 2006 03:42:54 +0000 (GMT)
	(envelope-from llwang@infor.ck.tp.edu.tw)
Received: by infor.ck.tp.edu.tw (Postfix, from userid 1001)
	id 7372A17150; Fri, 19 May 2006 11:42:53 +0800 (CST)
Message-Id: <20060519034253.7372A17150@infor.ck.tp.edu.tw>
Date: Fri, 19 May 2006 11:42:53 +0800 (CST)
From: Li-Lun Wang (Leland Wang) <llwang@infor.org>
Reply-To: Li-Lun Wang (Leland Wang) <llwang@infor.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port: lang/whitespace an interpreter for the Whitespace programming language
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         97479
>Category:       ports
>Synopsis:       New port: lang/whitespace an interpreter for the Whitespace programming language
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    aaron
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 19 03:50:14 GMT 2006
>Closed-Date:    Tue May 30 20:05:54 GMT 2006
>Last-Modified:  Tue May 30 20:05:54 GMT 2006
>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@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@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@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@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:
Responsible-Changed-From-To: freebsd-ports-bugs->aaron 
Responsible-Changed-By: aaron 
Responsible-Changed-When: Fri May 19 05:04:05 UTC 2006 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97479 
State-Changed-From-To: open->analyzed 
State-Changed-By: aaron 
State-Changed-When: Fri May 19 07:57:53 UTC 2006 
State-Changed-Why:  
On hold until problems with lang/ghc are resolved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97479 
State-Changed-From-To: analyzed->closed 
State-Changed-By: aaron 
State-Changed-When: Tue May 30 20:05:49 UTC 2006 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97479 
>Unformatted:
