ports/142287: [new port]: haskell port devel/hs-uvector-algorithms
Jacula Modyun
jacula at gmail.com
Sun Jan 3 23:30:06 UTC 2010
>Number: 142287
>Category: ports
>Synopsis: [new port]: haskell port devel/hs-uvector-algorithms
>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:30:05 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:
Efficient algorithms for uvector unboxed arrays be sure to compile with
-O2, and -fvia-C -optc-O3 is recommended.
http://hackage.haskell.org/package/uvector-algorithms
>How-To-Repeat:
>Fix:
--- hs-uvector-algorithms.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-uvector-algorithms
# hs-uvector-algorithms/Makefile
# hs-uvector-algorithms/distinfo
# hs-uvector-algorithms/pkg-plist
# hs-uvector-algorithms/pkg-descr
#
echo c - hs-uvector-algorithms
mkdir -p hs-uvector-algorithms > /dev/null 2>&1
echo x - hs-uvector-algorithms/Makefile
sed 's/^X//' >hs-uvector-algorithms/Makefile << '719833a56c72d71b4a7f40eeed5cd335'
X# New ports collection makefile for: hs-uvector-algorithms
X# Date created: December 20 2009
X# Whom: Giuseppe Pilichi aka Jacula Modyun <jacula at gmail.com>
X#
X
XPORTNAME= uvector-algorithms
XPORTVERSION= 0.2
XCATEGORIES= devel haskell
XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
XPKGNAMEPREFIX= hs-
X
XMAINTAINER= jacula at gmail.com
XCOMMENT= Efficient algorithms for uvector unboxed arrays
X
XBUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \
X hs-uvector>=0.1.0.4:${PORTSDIR}/devel/hs-uvector
XRUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc \
X hs-uvector>=0.1.0.4:${PORTSDIR}/devel/hs-uvector
X
XGHC_VERSION= 6.10.4
XUVECTORALGORITHMS_VERSION= ${PORTVERSION}
X
XGHC_CMD= ${LOCALBASE}/bin/ghc
XSETUP_CMD= ./setup
X
XDOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
XUVECTORALGORITHMS_LIBDIR_REL= lib/${DISTNAME}
X
XPLIST_SUB= GHC_VERSION=${GHC_VERSION} \
X UVECTORALGORITHMS_VERSION=${UVECTORALGORITHMS_VERSION} \
X UVECTORALGORITHMS_LIBDIR_REL=${UVECTORALGORITHMS_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.lhs -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}/${UVECTORALGORITHMS_LIBDIR_REL}/register.sh
X
Xpost-install:
X ${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
X
X.include <bsd.port.mk>
719833a56c72d71b4a7f40eeed5cd335
echo x - hs-uvector-algorithms/distinfo
sed 's/^X//' >hs-uvector-algorithms/distinfo << '6d7755f99f7e6a019dcc1600b59cff8f'
XMD5 (uvector-algorithms-0.2.tar.gz) = 5d4088a73dd174fc0ef74b43f91443fa
XSHA256 (uvector-algorithms-0.2.tar.gz) = 01411922955d572c2fb44cd3c465769507bf7dff424c01e0c0f99dac728ef44b
XSIZE (uvector-algorithms-0.2.tar.gz) = 17537
6d7755f99f7e6a019dcc1600b59cff8f
echo x - hs-uvector-algorithms/pkg-plist
sed 's/^X//' >hs-uvector-algorithms/pkg-plist << 'e3b6df68a2e1885fe31040b636fafe79'
X%%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Array/Vector/Algorithms/Combinators.hi
X%%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Array/Vector/Algorithms/Common.hi
X%%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Array/Vector/Algorithms/Insertion.hi
X%%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Array/Vector/Algorithms/Intro.hi
X%%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Array/Vector/Algorithms/Merge.hi
X%%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Array/Vector/Algorithms/Optimal.hi
X%%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Array/Vector/Algorithms/Radix.hi
X%%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Array/Vector/Algorithms/TriHeap.hi
X%%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSuvector-algorithms-%%UVECTORALGORITHMS_VERSION%%.o
X%%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSuvector-algorithms-%%UVECTORALGORITHMS_VERSION%%.a
X%%UVECTORALGORITHMS_LIBDIR_REL%%/register.sh
X%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
X at dirrm %%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Array/Vector/Algorithms
X at dirrm %%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Array/Vector
X at dirrm %%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Array
X at dirrm %%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data
X at dirrm %%UVECTORALGORITHMS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
X at dirrm %%UVECTORALGORITHMS_LIBDIR_REL%%
X at exec /bin/sh %D/%%UVECTORALGORITHMS_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 uvector-algorithms
X at unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
e3b6df68a2e1885fe31040b636fafe79
echo x - hs-uvector-algorithms/pkg-descr
sed 's/^X//' >hs-uvector-algorithms/pkg-descr << '8bf45d7b97d69da3894a16ee1dec8318'
XEfficient algorithms for uvector unboxed arrays
Xbe sure to compile with -O2, and -fvia-C -optc-O3
Xis recommended.
X
XWWW: http://code.haskell.org/~dolio/
8bf45d7b97d69da3894a16ee1dec8318
exit
--- hs-uvector-algorithms.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list