ports/142481: [new port]: haskell port devel/hs-TypeCompose

Jacula Modyun jacula at gmail.com
Fri Jan 8 21:20:05 UTC 2010


>Number:         142481
>Category:       ports
>Synopsis:       [new port]: haskell port devel/hs-TypeCompose
>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:   Fri Jan 08 21:20:04 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:

TypeCompose provides some classes & instances for forms of type
composition, as well as some modules who haven't yet found a home.

Please see the project wiki page: http://haskell.org/haskellwiki/TypeCompose 

>How-To-Repeat:
	
>Fix:

	

--- hs-TypeCompose.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-TypeCompose
#	hs-TypeCompose/Makefile
#	hs-TypeCompose/distinfo
#	hs-TypeCompose/pkg-plist
#	hs-TypeCompose/pkg-descr
#
echo c - hs-TypeCompose
mkdir -p hs-TypeCompose > /dev/null 2>&1
echo x - hs-TypeCompose/Makefile
sed 's/^X//' >hs-TypeCompose/Makefile << '51c2ed35eab6e274141d3624cd574836'
X# New ports collection makefile for: hs-TypeCompose
X# Date created:        December 20 2009
X# Whom:                Giuseppe Pilichi aka Jacula Modyun <jacula at gmail.com>
X#
X
XPORTNAME=	TypeCompose
XPORTVERSION=	0.6.7
XCATEGORIES=	devel haskell
XMASTER_SITES=	http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
XPKGNAMEPREFIX=	hs-
X
XMAINTAINER=	jacula at gmail.com
XCOMMENT=	Type composition classes and instances
X
XBUILD_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc
XRUN_DEPENDS+=	ghc:${PORTSDIR}/lang/ghc
X
XGHC_VERSION=		6.10.4
XTYPECOMPOSE_VERSION=	${PORTVERSION}
X
XGHC_CMD=	${LOCALBASE}/bin/ghc
XSETUP_CMD=	./setup
X
XDOCSDIR=	${PREFIX}/share/doc/${DISTNAME}
XTYPECOMPOSE_LIBDIR_REL=	lib/${DISTNAME}
X
XPLIST_SUB=	GHC_VERSION=${GHC_VERSION} \
X		TYPECOMPOSE_VERSION=${TYPECOMPOSE_VERSION} \
X		TYPECOMPOSE_LIBDIR_REL=${TYPECOMPOSE_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}/${TYPECOMPOSE_LIBDIR_REL}/register.sh
X
Xpost-install:
X	${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
X
X.include <bsd.port.mk>
51c2ed35eab6e274141d3624cd574836
echo x - hs-TypeCompose/distinfo
sed 's/^X//' >hs-TypeCompose/distinfo << 'dbe5ae999a6cc76595a33ec9a96dbdba'
XMD5 (TypeCompose-0.6.7.tar.gz) = 3440bb581e2845e9333f969ab5ff250c
XSHA256 (TypeCompose-0.6.7.tar.gz) = 69168e3d239831426520687508b94f5a3d1fe6ee6490ac8cf9c384a9996769bf
XSIZE (TypeCompose-0.6.7.tar.gz) = 18569
dbe5ae999a6cc76595a33ec9a96dbdba
echo x - hs-TypeCompose/pkg-plist
sed 's/^X//' >hs-TypeCompose/pkg-plist << '43759f8724752f188624e97f03d4e0d4'
X%%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Control/Compose.hi
X%%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Control/Instances.hi
X%%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Bijection.hi
X%%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/CxMonoid.hi
X%%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Lambda.hi
X%%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Pair.hi
X%%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Partial.hi
X%%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/RefMonad.hi
X%%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Title.hi
X%%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Zip.hi
X%%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSTypeCompose-%%TYPECOMPOSE_VERSION%%.o
X%%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSTypeCompose-%%TYPECOMPOSE_VERSION%%.a
X%%TYPECOMPOSE_LIBDIR_REL%%/register.sh
X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
X at dirrm %%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data
X at dirrm %%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Control
X at dirrm %%TYPECOMPOSE_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
X at dirrm %%TYPECOMPOSE_LIBDIR_REL%%
X at exec /bin/sh %D/%%TYPECOMPOSE_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 TypeCompose
X at unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
43759f8724752f188624e97f03d4e0d4
echo x - hs-TypeCompose/pkg-descr
sed 's/^X//' >hs-TypeCompose/pkg-descr << '498463bd3da535e0059b75e390ff26a3'
XTypeCompose provides some classes and instances for forms
Xof type composition, as well as some modules who haven't
Xyet found a home.
X
XWWW: http://haskell.org/haskellwiki/TypeCompose
498463bd3da535e0059b75e390ff26a3
exit
--- hs-TypeCompose.shar ends here ---


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



More information about the freebsd-ports-bugs mailing list