Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2009 05:45:30 -0800 (PST)
From:      Jacula Modyun <jacula@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/142128: [new port]: haskell port devel/hs-StateVar
Message-ID:  <200912291345.nBTDjTm9014592@splork.wirewater.yow>
Resent-Message-ID: <200912291350.nBTDo3LY096054@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         142128
>Category:       ports
>Synopsis:       [new port]: haskell port devel/hs-StateVar
>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:   Tue Dec 29 13:50:03 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Jacula Modyun
>Release:        FreeBSD 7.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD splork.wirewater.yow 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Sat Oct 18 11:22:07 UTC 2008 root@splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386


	
>Description:

StateVar: This package contains state variables, which are references
in the IO monad, like IORefs or parts of the OpenGL state.

http://www.haskell.org/haskellwiki/Opengl

>How-To-Repeat:
	
>Fix:

	

--- hs-StateVar.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-StateVar
#	hs-StateVar/Makefile
#	hs-StateVar/distinfo
#	hs-StateVar/pkg-plist
#	hs-StateVar/pkg-descr
#
echo c - hs-StateVar
mkdir -p hs-StateVar > /dev/null 2>&1
echo x - hs-StateVar/Makefile
sed 's/^X//' >hs-StateVar/Makefile << 'cb567fd3a954e74a1ca79e60746d7089'
X# New ports collection makefile for: hs-StateVar
X# Date created:        December 20 2009
X# Whom:                Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
X#
X
XPORTNAME=	StateVar
XPORTVERSION=	1.0.0.0
XCATEGORIES=	devel haskell
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
XPKGNAMEPREFIX=	hs-
X
XMAINTAINER=	jacula@gmail.com
XCOMMENT=	State variables
X
XBUILD_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc
XRUN_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc
X
XGHC_VERSION=		6.10.4
XSTATEVAR_VERSION=	${PORTVERSION}
X
XGHC_CMD=	${LOCALBASE}/bin/ghc
XSETUP_CMD=	./setup
X
XDOCSDIR=		${PREFIX}/share/doc/${DISTNAME}
XSTATEVAR_LIBDIR_REL=	lib/${DISTNAME}
X
XPLIST_SUB=	GHC_VERSION=${GHC_VERSION} \
X		STATEVAR_VERSION=${STATEVAR_VERSION} \
X		STATEVAR_LIBDIR_REL=${STATEVAR_LIBDIR_REL}
X
X.if defined(NOPORTDOCS)
XPLIST_SUB+=		NOPORTDOCS=""
X.else
XPLIST_SUB+=		NOPORTDOCS="@comment "
X.endif
X
X.if !defined(NOPORTDOCS)
X
XPORT_HADDOCK!=	(cd  ${.CURDIR}/../../lang/ghc && ${MAKE} -V PORT_HADDOCK)
X.if !empty(PORT_HADDOCK:M?0)
XBUILD_DEPENDS+=	haddock:${PORTSDIR}/devel/hs-haddock
X.endif
XBUILD_DEPENDS+=	HsColour:${PORTSDIR}/print/hs-hscolour
X
XHSCOLOUR_VERSION=	1.15
XHSCOLOUR_DATADIR=	${PREFIX}/share/hscolour-${HSCOLOUR_VERSION}
X
XPORTDOCS=	*
X.endif
X
X.SILENT:
X
Xdo-configure:
X	cd ${WRKSRC} && ${GHC_CMD} --make Setup.hs -o setup -package Cabal \
X		     && ${SETUP_CMD} configure --haddock-options=-w --prefix=${PREFIX}
X
Xdo-build:
X	cd ${WRKSRC} && ${SETUP_CMD} build \
X		     && ${SETUP_CMD} register --gen-script
X
X.if !defined(NOPORTDOCS)
X	cd ${WRKSRC} && ${SETUP_CMD} haddock --hyperlink-source \
X					     --hscolour-css=${HSCOLOUR_DATADIR}/hscolour.css
X.endif
X
Xdo-install:
X	cd ${WRKSRC} && ${SETUP_CMD} install \
X		     && ${INSTALL_SCRIPT} register.sh ${PREFIX}/${STATEVAR_LIBDIR_REL}/register.sh
X
Xpost-install:
X	${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
X
X.include <bsd.port.mk>
cb567fd3a954e74a1ca79e60746d7089
echo x - hs-StateVar/distinfo
sed 's/^X//' >hs-StateVar/distinfo << '4886244417d0178e9ec85cd848d94b00'
XMD5 (StateVar-1.0.0.0.tar.gz) = 313aa364e9c41bdd87f4bd3710676d63
XSHA256 (StateVar-1.0.0.0.tar.gz) = 8445c998f79ef34105ffc928e50f1488505e8801f77f04d4b28d056b8d322bb0
XSIZE (StateVar-1.0.0.0.tar.gz) = 2728
4886244417d0178e9ec85cd848d94b00
echo x - hs-StateVar/pkg-plist
sed 's/^X//' >hs-StateVar/pkg-plist << 'c5800afc1e108f1899a6a66eb1115d90'
X%%STATEVAR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/StateVar.hi
X%%STATEVAR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSStateVar-%%STATEVAR_VERSION%%.o
X%%STATEVAR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSStateVar-%%STATEVAR_VERSION%%.a
X%%STATEVAR_LIBDIR_REL%%/register.sh
X%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
X@dirrm %%STATEVAR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data
X@dirrm %%STATEVAR_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
X@dirrm %%STATEVAR_LIBDIR_REL%%
X@exec /bin/sh %D/%%STATEVAR_LIBDIR_REL%%/register.sh
X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
X@unexec %D/bin/ghc-pkg unregister StateVar
X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
c5800afc1e108f1899a6a66eb1115d90
echo x - hs-StateVar/pkg-descr
sed 's/^X//' >hs-StateVar/pkg-descr << 'f08703b008d6199090d3ed666ead9be6'
XThis package contains state variables, which are references
Xin the IO monad, like IORefs or parts of the OpenGL state.
X
XWWW: http://www.haskell.org/HOpenGL/
f08703b008d6199090d3ed666ead9be6
exit
--- hs-StateVar.shar ends here ---


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912291345.nBTDjTm9014592>