ports/142145: [new port]: haskell port devel/hs-hoogle

Jacula Modyun jacula at gmail.com
Tue Dec 29 21:10:04 UTC 2009


>Number:         142145
>Category:       ports
>Synopsis:       [new port]: haskell port devel/hs-hoogle
>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 21:10:04 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 at splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386


	
>Description:

Hoogle is a Haskell API search engine, which allows you to search
many standard Haskell libraries by either function name, or by
approximate type signature.

http://www.haskell.org/hoogle/

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

>How-To-Repeat:
	
>Fix:

	

--- hs-hoogle.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-hoogle
#	hs-hoogle/Makefile
#	hs-hoogle/distinfo
#	hs-hoogle/pkg-plist
#	hs-hoogle/pkg-descr
#
echo c - hs-hoogle
mkdir -p hs-hoogle > /dev/null 2>&1
echo x - hs-hoogle/Makefile
sed 's/^X//' >hs-hoogle/Makefile << '3ec59b3568b4b114454f0c85a1e7fa8a'
X# New ports collection makefile for: hs-hoogle
X# Date created:        December 20 2009
X# Whom:                Giuseppe Pilichi aka Jacula Modyun <jacula at gmail.com>
X#
X
XPORTNAME=	hoogle
XPORTVERSION=	4.0.7
XCATEGORIES=	devel haskell
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
XPKGNAMEPREFIX=	hs-
X
XMAINTAINER=	jacula at gmail.com
XCOMMENT=	Haskell API Search
X
XBUILD_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc \
X		hs-safe>=0.2:${PORTSDIR}/devel/hs-safe \
X		hs-uniplate>=1.2.0.3:${PORTSDIR}/devel/hs-uniplate
XRUN_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc \
X		hs-safe>=0.2:${PORTSDIR}/devel/hs-safe \
X		hs-uniplate>=1.2.0.3:${PORTSDIR}/devel/hs-uniplate
XLIB_DEPENDS=	gmp.8:${PORTSDIR}/math/libgmp4
X
XGHC_VERSION=	6.10.4
XHOOGLE_VERSION=	${PORTVERSION}
X
XGHC_CMD=	${LOCALBASE}/bin/ghc
XSETUP_CMD=	./setup
X
XDATADIR=		${PREFIX}/share/${DISTNAME}
XDOCSDIR=		${PREFIX}/share/doc/${DISTNAME}
XHOOGLE_LIBDIR_REL=	lib/${DISTNAME}
X
XPLIST_SUB=	GHC_VERSION=${GHC_VERSION} \
X		HOOGLE_VERSION=${HOOGLE_VERSION} \
X		HOOGLE_LIBDIR_REL=${HOOGLE_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
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	${MKDIR} ${DATADIR} && ${INSTALL_DATA} ${WRKSRC}/README.txt ${DATADIR}
X
X.include <bsd.port.mk>
3ec59b3568b4b114454f0c85a1e7fa8a
echo x - hs-hoogle/distinfo
sed 's/^X//' >hs-hoogle/distinfo << '6e2ebd38b1b922b3d92fa97e14c9c53c'
XMD5 (hoogle-4.0.7.tar.gz) = 903f96c6b25796c4e7290e0c134486d1
XSHA256 (hoogle-4.0.7.tar.gz) = 3d757c4c0897deae18cc6fa1db26e27025f452f4a4f117c55c675695c424640d
XSIZE (hoogle-4.0.7.tar.gz) = 1763525
6e2ebd38b1b922b3d92fa97e14c9c53c
echo x - hs-hoogle/pkg-plist
sed 's/^X//' >hs-hoogle/pkg-plist << '5df9f070acaf87b24df404aae19e2d86'
Xbin/hoogle
X%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
X%%DATADIR%%/README.txt
X%%DATADIR%%/array.hoo
X%%DATADIR%%/base.hoo
X%%DATADIR%%/bytestring.hoo
X%%DATADIR%%/cabal.hoo
X%%DATADIR%%/containers.hoo
X%%DATADIR%%/default.hoo
X%%DATADIR%%/directory.hoo
X%%DATADIR%%/filepath.hoo
X%%DATADIR%%/ghc.hoo
X%%DATADIR%%/hackage.hoo
X%%DATADIR%%/haskell-src.hoo
X%%DATADIR%%/hunit.hoo
X%%DATADIR%%/keyword.hoo
X%%DATADIR%%/mtl.hoo
X%%DATADIR%%/parallel.hoo
X%%DATADIR%%/parsec.hoo
X%%DATADIR%%/pretty.hoo
X%%DATADIR%%/process.hoo
X%%DATADIR%%/quickcheck.hoo
X%%DATADIR%%/random.hoo
X%%DATADIR%%/stm.hoo
X%%DATADIR%%/syb.hoo
X%%DATADIR%%/template-haskell.hoo
X%%DATADIR%%/time.hoo
X%%DATADIR%%/xhtml.hoo
X at dirrm %%DATADIR%%
X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
5df9f070acaf87b24df404aae19e2d86
echo x - hs-hoogle/pkg-descr
sed 's/^X//' >hs-hoogle/pkg-descr << '9e40f86f545c00af78632546818c0071'
XHoogle is a Haskell API search engine, which allows you to
Xsearch many standard Haskell libraries by either function
Xname, or by approximate type signature.
X
XWWW: http://www.haskell.org/hoogle/
9e40f86f545c00af78632546818c0071
exit
--- hs-hoogle.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list