ports/142284: [new port]: haskell port math/hs-erf
Jacula Modyun
jacula at gmail.com
Sun Jan 3 23:20:02 UTC 2010
>Number: 142284
>Category: ports
>Synopsis: [new port]: haskell port math/hs-erf
>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 23:20:02 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 at splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386
>Description:
A type class for the error function, erf, and related functions.
Instances for Float and Double.
http://hackage.haskell.org/package/erf
>How-To-Repeat:
>Fix:
--- hs-erf.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-erf
# hs-erf/Makefile
# hs-erf/distinfo
# hs-erf/pkg-plist
# hs-erf/pkg-descr
#
echo c - hs-erf
mkdir -p hs-erf > /dev/null 2>&1
echo x - hs-erf/Makefile
sed 's/^X//' >hs-erf/Makefile << 'baf13c212ed19d63333acd776f839848'
X# New ports collection makefile for: hs-erf
X# Date created: December 20 2009
X# Whom: Giuseppe Pilichi aka Jacula Modyun <jacula at gmail.com>
X#
X
XPORTNAME= erf
XPORTVERSION= 1.0.0.0
XCATEGORIES= math haskell
XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
XPKGNAMEPREFIX= hs-
X
XMAINTAINER= jacula at gmail.com
XCOMMENT= The error function, erf, and friends
X
XBUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc
XRUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc
X
XGHC_VERSION= 6.10.4
XERF_VERSION= ${PORTVERSION}
X
XGHC_CMD= ${LOCALBASE}/bin/ghc
XSETUP_CMD= ./setup
X
XDOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
XERF_LIBDIR_REL= lib/${DISTNAME}
X
XPLIST_SUB= GHC_VERSION=${GHC_VERSION} \
X ERF_VERSION=${ERF_VERSION} \
X ERF_LIBDIR_REL=${ERF_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}/${ERF_LIBDIR_REL}/register.sh
X
Xpost-install:
X ${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
X
X.include <bsd.port.mk>
baf13c212ed19d63333acd776f839848
echo x - hs-erf/distinfo
sed 's/^X//' >hs-erf/distinfo << '586bc2b84bddf0d490a0d3ec3178276c'
XMD5 (erf-1.0.0.0.tar.gz) = 1bdb56838565abfaa7d7ab6e2870ddaa
XSHA256 (erf-1.0.0.0.tar.gz) = d6e27965a5961e135b68c39f38137727ccd01d8c1d588c67fb996167354b6b7e
XSIZE (erf-1.0.0.0.tar.gz) = 974
586bc2b84bddf0d490a0d3ec3178276c
echo x - hs-erf/pkg-plist
sed 's/^X//' >hs-erf/pkg-plist << 'fb220ccecb90f15781b8e8e8d9b69dfd'
X%%ERF_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Number/Erf.hi
X%%ERF_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSerf-%%ERF_VERSION%%.o
X%%ERF_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSerf-%%ERF_VERSION%%.a
X%%ERF_LIBDIR_REL%%/register.sh
X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
X at dirrm %%ERF_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Number
X at dirrm %%ERF_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data
X at dirrm %%ERF_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
X at dirrm %%ERF_LIBDIR_REL%%
X at exec /bin/sh %D/%%ERF_LIBDIR_REL%%/register.sh
X at exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
X at unexec %D/bin/ghc-pkg unregister erf
X at unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
fb220ccecb90f15781b8e8e8d9b69dfd
echo x - hs-erf/pkg-descr
sed 's/^X//' >hs-erf/pkg-descr << '8ad90ea252dfc8a025e154d233b90750'
XA type class for the error function, erf, and related functions.
XInstances for Float and Double.
X
XWWW: http://hackage.haskell.org/package/erf
8ad90ea252dfc8a025e154d233b90750
exit
--- hs-erf.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list