Date: Sun, 03 Jan 2010 14:45:28 -0800 (PST) From: Jacula Modyun <jacula@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/142278: [new port]: haskell port lang/hs-unlambda Message-ID: <201001032245.o03MjQjO012428@splork.wirewater.yow> Resent-Message-ID: <201001032250.o03Mo1WG081971@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 142278 >Category: ports >Synopsis: [new port]: haskell port lang/hs-unlambda >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: Sun Jan 03 22:50:01 UTC 2010 >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: This is an interpreter of the Unlambda language, written in the pure, lazy, functional language Haskell. http://hackage.haskell.org/package/unlambda >How-To-Repeat: >Fix: --- hs-unlambda.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-unlambda # hs-unlambda/Makefile # hs-unlambda/distinfo # hs-unlambda/pkg-plist # hs-unlambda/pkg-descr # echo c - hs-unlambda mkdir -p hs-unlambda > /dev/null 2>&1 echo x - hs-unlambda/Makefile sed 's/^X//' >hs-unlambda/Makefile << 'cc90893bd2347c1445110bd10a302de8' X# New ports collection makefile for: hs-unlambda X# Date created: December 20 2009 X# Whom: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com> X# X XPORTNAME= unlambda XPORTVERSION= 0.1 XCATEGORIES= lang haskell XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ XPKGNAMEPREFIX= hs- X XMAINTAINER= jacula@gmail.com XCOMMENT= Unlambda interpreter X XBUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc XRUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc XLIB_DEPENDS= gmp.8:${PORTSDIR}/math/libgmp4 X XGHC_VERSION= 6.10.4 XUNLAMBDA_VERSION= ${PORTVERSION} X XGHC_CMD= ${LOCALBASE}/bin/ghc XSETUP_CMD= ./setup X XDOCSDIR= ${PREFIX}/share/doc/${DISTNAME} XUNLAMBDA_LIBDIR_REL= lib/${DISTNAME} X XPLIST_SUB= GHC_VERSION=${GHC_VERSION} \ X UNLAMBDA_VERSION=${UNLAMBDA_VERSION} \ X UNLAMBDA_LIBDIR_REL=${UNLAMBDA_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 --executables --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}/${UNLAMBDA_LIBDIR_REL}/register.sh X Xpost-install: X ${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old X X.include <bsd.port.mk> cc90893bd2347c1445110bd10a302de8 echo x - hs-unlambda/distinfo sed 's/^X//' >hs-unlambda/distinfo << 'dd13c27d9fd0c9faaefafdc5480dfe36' XMD5 (unlambda-0.1.tar.gz) = 2d31c90b3888043b8de77bb87f88bfcb XSHA256 (unlambda-0.1.tar.gz) = f1ede8570bd18c4947d776c68d429a9e86559f141b0aed4614dfa8bf0b2fb676 XSIZE (unlambda-0.1.tar.gz) = 9275 dd13c27d9fd0c9faaefafdc5480dfe36 echo x - hs-unlambda/pkg-plist sed 's/^X//' >hs-unlambda/pkg-plist << 'f7a253223575a9c1f5e3b8c3999bb1fe' Xbin/unlambda X%%UNLAMBDA_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSunlambda-%%UNLAMBDA_VERSION%%.o X%%UNLAMBDA_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language/Unlambda.hi X%%UNLAMBDA_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSunlambda-%%UNLAMBDA_VERSION%%.a X%%UNLAMBDA_LIBDIR_REL%%/register.sh X%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%% X@dirrm %%UNLAMBDA_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Language X@dirrm %%UNLAMBDA_LIBDIR_REL%%/ghc-%%GHC_VERSION%% X@dirrm %%UNLAMBDA_LIBDIR_REL%% X@exec /bin/sh %D/%%UNLAMBDA_LIBDIR_REL%%/register.sh X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old X@unexec %D/bin/ghc-pkg unregister unlambda X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old f7a253223575a9c1f5e3b8c3999bb1fe echo x - hs-unlambda/pkg-descr sed 's/^X//' >hs-unlambda/pkg-descr << '83d435f2fb4e4f3e19226d911ae6e92c' XThis is an interpreter of the Unlambda language, Xwritten in the pure, lazy, functional language Haskell. X XWWW: http://hackage.haskell.org/package/unlambda 83d435f2fb4e4f3e19226d911ae6e92c exit --- hs-unlambda.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?201001032245.o03MjQjO012428>