ports/121151: [NEW PORT]: devel/hs-uulib

Jacula Modyun jacula at gmail.com
Wed Feb 27 19:30:02 UTC 2008


>Number:         121151
>Category:       ports
>Synopsis:       [NEW PORT]: devel/hs-uulib
>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:   Wed Feb 27 19:30:02 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Jacula Modyun
>Release:        FreeBSD 7.0-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD splork.wirewater.yow 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #0: Sat Jan 19 15:48:03 UTC 2008 root at splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386


	
>Description:

Hi,

I think that one of the most intriguing aspect of modern theories
of language is the interconnection between computer science and
philosophy of language, in particular way when the problem is the
semantic. An interesting point of view is given by the
context-free grammars.

Context-free grammars are of great importance in the studies of
of programming languages, natural languages and the attribute
grammars are an extension of this approach; then UUAGC.

>From the web page:

UUAG is the Utrecht University Attribute Grammar system.
Generates Haskell files from an attribute grammar specification

It is a preprocessor for Haskell which makes it easy to write catamorphisms
(that is, functions that do to any datatype what foldr does to lists).
You can define tree walks using the intuitive concepts of inherited and
synthesized attributes, while keeping the full expressive power of Haskell.

These are the libraries, in a next pr devel/uuagc.

>How-To-Repeat:
	
>Fix:

	

--- hs-uulib.shar begins here ---
# 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:
#
#	hs-uulib
#	hs-uulib/pkg-plist
#	hs-uulib/pkg-descr
#	hs-uulib/distinfo
#	hs-uulib/Makefile
#
echo c - hs-uulib
mkdir -p hs-uulib > /dev/null 2>&1
echo x - hs-uulib/pkg-plist
sed 's/^X//' >hs-uulib/pkg-plist << 'END-of-hs-uulib/pkg-plist'
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSuulib-%%UULIB_VERSION%%.o
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/DData/IntBag.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/DData/IntMap.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/DData/IntSet.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/DData/Map.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/DData/MultiSet.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/DData/Queue.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/DData/Scc.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/DData/Seq.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/DData/Set.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/PPrint.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Parsing.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Parsing/CharParser.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Parsing/Derived.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Parsing/Interface.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Parsing/Machine.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Parsing/MachineInterface.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Parsing/Merge.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Parsing/Offside.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Parsing/Perms.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Parsing/StateParser.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Pretty.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Pretty/Basic.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Pretty/Ext.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Scanner.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Scanner/GenToken.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Scanner/GenTokenOrd.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Scanner/GenTokenParser.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Scanner/GenTokenSymbol.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Scanner/Position.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Scanner/Scanner.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Scanner/Token.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Scanner/TokenParser.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Scanner/TokenShow.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Util/BinaryTrees.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Util/PermTree.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Util/Utils.hi
X%%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSuulib-%%UULIB_VERSION%%.a
X%%UULIB_LIBDIR_REL%%/register.sh
X%%DOCSDIR%%/COPYRIGHT
X at dirrm %%DOCSDIR%%
X at dirrm %%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Util
X at dirrm %%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Scanner
X at dirrm %%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Pretty
X at dirrm %%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/Parsing
X at dirrm %%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU/DData
X at dirrm %%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/UU
X at dirrm %%UULIB_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
X at dirrm %%UULIB_LIBDIR_REL%%
X at exec /bin/sh %D/%%UULIB_LIBDIR_REL%%/register.sh
X at exec rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
X at unexec if [ -x %D/bin/ghc-pkg ]; then %D/bin/ghc-pkg unregister uulib || /usr/bin/true; fi
X at unexec if [ -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old ]; then rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old || /usr/bin/true; fi
END-of-hs-uulib/pkg-plist
echo x - hs-uulib/pkg-descr
sed 's/^X//' >hs-uulib/pkg-descr << 'END-of-hs-uulib/pkg-descr'
XFast Parser Combinators and Pretty Printing Combinators
Xlibraries by the Utrecht University.
X
Xauthor:
Xmaintainer:	Arie Middelkoop <ariem at cs.uu.nl>
Xlicense:	LGPL-2.1
Xhomepage:	http://www.cs.uu.nl/wiki/HUT/AttributeGrammarSystem
Xpackage-url:	http://nix.cs.uu.nl/dist/hut/
X
Xexposed-modules:
X
X	UU.Parsing.CharParser UU.Parsing.Derived
X	UU.Parsing.Interface UU.Parsing.MachineInterface
X	UU.Parsing.Merge UU.Parsing.Offside UU.Parsing.Perms
X	UU.Parsing.StateParser UU.Parsing UU.DData.IntBag 
X	UU.DData.Map UU.DData.MultiSet UU.DData.Queue
X	UU.DData.Scc UU.DData.Seq UU.DData.Set UU.PPrint
X	UU.Pretty.Ext UU.Pretty UU.Scanner.GenToken UU.Scanner.GenTokenOrd
X	UU.Scanner.GenTokenParser UU.Scanner.GenTokenSymbol
X	UU.Scanner.Position UU.Scanner.Scanner
X	UU.Scanner.Token UU.Scanner.TokenParser UU.Scanner.TokenShow
X	UU.Scanner UU.Util.BinaryTrees UU.Util.PermTree UU.Util.Utils
X	UU.Pretty.Basic UU.Parsing.Machine    
X	UU.DData.IntMap  
X	UU.DData.IntSet        
END-of-hs-uulib/pkg-descr
echo x - hs-uulib/distinfo
sed 's/^X//' >hs-uulib/distinfo << 'END-of-hs-uulib/distinfo'
XMD5 (uulib-0.9.5.tar.gz) = 606dec3a8ea8797421e795336392f02f
XSHA256 (uulib-0.9.5.tar.gz) = 38415725133af464de582dadc7d7e60b1aeb96344b18b239d176bf2181f98563
XSIZE (uulib-0.9.5.tar.gz) =  93618
END-of-hs-uulib/distinfo
echo x - hs-uulib/Makefile
sed 's/^X//' >hs-uulib/Makefile << 'END-of-hs-uulib/Makefile'
X# New ports collection makefile for: hs-uulib
X# Date created:        February 27 2008
X# Whom:                Giuseppe Pilichi aka Jacula Modyun <jacula at gmail.com>
X#
X# $FreeBSD
X#
X
XPORTNAME=	uulib
XPORTVERSION=	0.9.5
XCATEGORIES=	devel haskell
XPKGNAMEPREFIX=	hs-
X
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
XMAINTAINER=	jacula at gmail.com
XCOMMENT=	Haskell Utrecht Tools Library
X
XBUILD_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc
X
XGHC_VERSION=	6.8.2
XUULIB_VERSION=	${PORTVERSION}
X
XGHC_CMD=	${LOCALBASE}/bin/ghc
XSETUP_CMD=	./setup
X
XDOCSDIR=	${PREFIX}/share/doc/${DISTNAME}
XUULIB_LIBDIR_REL=	lib/${DISTNAME}
X
XPLIST_SUB=	GHC_VERSION=${GHC_VERSION} \
X		UULIB_VERSION=${UULIB_VERSION} \
X		UULIB_LIBDIR_REL=${UULIB_LIBDIR_REL}
X
X.SILENT:
X
Xdo-configure:
X	cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
X		     && ${SETUP_CMD} configure --prefix=${PREFIX}
X
Xdo-build:
X	cd ${WRKSRC} && ${SETUP_CMD} build \
X		     && ${SETUP_CMD} register --gen-script
X
Xdo-install:
X	cd ${WRKSRC} && ./setup install \
X		     && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${UULIB_LIBDIR_REL}/register.sh
X
X.include <bsd.port.mk>
END-of-hs-uulib/Makefile
exit
--- hs-uulib.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list