Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2009 05:40:23 -0800 (PST)
From:      Jacula Modyun <jacula@gmail.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/142126: [new port]: haskell port x11-toolkits/hs-GLURaw-ghc
Message-ID:  <200912291340.nBTDeLd8013834@splork.wirewater.yow>
Resent-Message-ID: <200912291350.nBTDo1v7095977@freefall.freebsd.org>

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

>Number:         142126
>Category:       ports
>Synopsis:       [new port]: haskell port x11-toolkits/hs-GLURaw-ghc
>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:01 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:

GLURaw: A raw binding for the OpenGL graphics system. GLURaw is a raw Haskell
binding for the GLU 1.3 OpenGL utility library. It is basically a 1:1 mapping
of GLU's C API, intended as a basis for a nicer interface

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

>How-To-Repeat:
	
>Fix:

	

--- hs-GLURaw-ghc.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-GLURaw-ghc
#	hs-GLURaw-ghc/Makefile
#	hs-GLURaw-ghc/distinfo
#	hs-GLURaw-ghc/pkg-descr
#	hs-GLURaw-ghc/pkg-plist
#
echo c - hs-GLURaw-ghc
mkdir -p hs-GLURaw-ghc > /dev/null 2>&1
echo x - hs-GLURaw-ghc/Makefile
sed 's/^X//' >hs-GLURaw-ghc/Makefile << '384b7f0634e78c9d8c9e364337492427'
X# New ports collection makefile for: hs-GLURaw-ghc
X# Date created:        December 20 2009
X# Whom:                Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com>
X#
X
XPORTNAME=	GLURaw
XPORTVERSION=	1.1.0.0
XCATEGORIES=	x11-toolkits haskell
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
XPKGNAMEPREFIX=	hs-
XPKGNAMESUFFIX=	-ghc
X
XMAINTAINER=	jacula@gmail.com
XCOMMENT=	A raw Haskell binding for the OpenGL graphics system
X
XUSE_GL=		glu
X
XBUILD_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc \
X		hs-OpenGLRaw-ghc>=1.1.0.1:${PORTSDIR}/x11-toolkits/hs-OpenGLRaw-ghc
XRUN_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc \
X		hs-OpenGLRaw-ghc>=1.1.0.1:${PORTSDIR}/x11-toolkits/hs-OpenGLRaw-ghc
X
XGHC_VERSION=		6.10.4
XHSGLURAW_VERSION=	${PORTVERSION}
X
XGHC_CMD=	${LOCALBASE}/bin/ghc
XSETUP_CMD=	./setup
X
XDOCSDIR=		${PREFIX}/share/doc/${DISTNAME}
XHSGLURAW_LIBDIR_REL=	lib/${DISTNAME}
X
XPLIST_SUB=	GHC_VERSION=${GHC_VERSION} \
X		HSGLURAW_VERSION=${HSGLURAW_VERSION} \
X		HSGLURAW_LIBDIR_REL=${HSGLURAW_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		     				--extra-include-dirs=${LOCALBASE}/include \
X						--extra-lib-dirs=${LOCALBASE}/lib
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}/${HSGLURAW_LIBDIR_REL}/register.sh
X
Xpost-install:
X	${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
X
X.include <bsd.port.mk>
384b7f0634e78c9d8c9e364337492427
echo x - hs-GLURaw-ghc/distinfo
sed 's/^X//' >hs-GLURaw-ghc/distinfo << 'b87744bb05a11fc037d544f60d4adf7a'
XMD5 (GLURaw-1.1.0.0.tar.gz) = 3f195f73f5c58edc3dd32c5048c5b64e
XSHA256 (GLURaw-1.1.0.0.tar.gz) = 4ce5bb03bb7d7822554d4bafb8b82d05ff7379f97d41c4ed9a070bd8f1d49a0e
XSIZE (GLURaw-1.1.0.0.tar.gz) = 7670
b87744bb05a11fc037d544f60d4adf7a
echo x - hs-GLURaw-ghc/pkg-descr
sed 's/^X//' >hs-GLURaw-ghc/pkg-descr << '8277ddd7ba78f15e98cb27b566c7ea45'
X
XGLURaw is a raw Haskell binding for the GLU 1.3 OpenGL utility library.
XIt is basically a 1:1 mapping of GLU's C API, intended as a basis for a
Xnicer interface.
X
XWWW: http://www.haskell.org/HOpenGL/
8277ddd7ba78f15e98cb27b566c7ea45
echo x - hs-GLURaw-ghc/pkg-plist
sed 's/^X//' >hs-GLURaw-ghc/pkg-plist << 'c27809cf5dc6e1ce6fb013d4076a5b27'
X%%HSGLURAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/GLU/Raw.hi
X%%HSGLURAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/GLU/Raw/APIEntry.hi
X%%HSGLURAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/GLU/Raw/Callbacks.hi
X%%HSGLURAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/GLU/Raw/Functions.hi
X%%HSGLURAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/GLU/Raw/Tokens.hi
X%%HSGLURAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/GLU/Raw/Types.hi
X%%HSGLURAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/GLU/Raw/TypesInternal.hi
X%%HSGLURAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSGLURaw-%%HSGLURAW_VERSION%%.o
X%%HSGLURAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSGLURaw-%%HSGLURAW_VERSION%%.a
X%%HSGLURAW_LIBDIR_REL%%/register.sh
X%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
X@dirrm %%HSGLURAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/GLU/Raw
X@dirrm %%HSGLURAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering/GLU
X@dirrm %%HSGLURAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics/Rendering
X@dirrm %%HSGLURAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Graphics
X@dirrm %%HSGLURAW_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
X@dirrm %%HSGLURAW_LIBDIR_REL%%
X@exec /bin/sh %D/%%HSGLURAW_LIBDIR_REL%%/register.sh
X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
X@unexec %D/bin/ghc-pkg unregister GLURaw
X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
c27809cf5dc6e1ce6fb013d4076a5b27
exit
--- hs-GLURaw-ghc.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?200912291340.nBTDeLd8013834>