ports/129049: New Port: x11/hs-x11-xft-ghc
Ashish Shukla
wahjava at gmail.com
Fri Nov 21 14:00:16 UTC 2008
>Number: 129049
>Category: ports
>Synopsis: New Port: x11/hs-x11-xft-ghc
>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 Nov 21 14:00:16 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Ashish Shukla
>Release: 8.0-CURRENT
>Organization:
N/A
>Environment:
FreeBSD monte-cristo.france 8.0-CURRENT FreeBSD 8.0-CURRENT #21: Mon Nov 10 21:19:13 IST 2008 root at monte-cristo.france:/usr/obj/usr/src/sys/ULE amd64
>Description:
Bindings to the Xft, X Free Type interface library, and some Xrender parts.
WWW: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-xft
>How-To-Repeat:
>Fix:
# 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-x11-xft-ghc/
# hs-x11-xft-ghc/pkg-descr
# hs-x11-xft-ghc/Makefile
# hs-x11-xft-ghc/pkg-plist
# hs-x11-xft-ghc/distinfo
#
echo c - hs-x11-xft-ghc/
mkdir -p hs-x11-xft-ghc/ > /dev/null 2>&1
echo x - hs-x11-xft-ghc/pkg-descr
sed 's/^X//' >hs-x11-xft-ghc/pkg-descr << 'dae00895626fda7b393e2cabf3d594f7'
XBindings to the Xft, X Free Type interface library, and
Xsome Xrender parts.
X
XWWW: http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11-xft
dae00895626fda7b393e2cabf3d594f7
echo x - hs-x11-xft-ghc/Makefile
sed 's/^X//' >hs-x11-xft-ghc/Makefile << '94fe2684fc74cea35a743de6d8a5706d'
X# New ports collection makefile for: hs-x11-xft-ghc
X# Date created: 2008-10-21
X# Whom: Ashish Shukla <wahjava at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= x11-xft
XPORTVERSION= 0.3
XCATEGORIES= x11 haskell
XMASTER_SITES= http://hackage.haskell.org/packages/archive/X11-xft/${PORTVERSION}/
XPKGNAMEPREFIX= hs-
XPKGNAMESUFFIX= -ghc
XDISTNAME= X11-xft-${PORTVERSION}
X
XMAINTAINER= wahjava at gmail.com
XCOMMENT= Bindings to the Xft, Xrender and Freetype for Haskell programs
X
XBUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
X hs-x11-ghc>=1.2.1:${PORTSDIR}/x11/hs-x11-ghc \
X hs-utf8-string-ghc>=0.1:${PORTSDIR}/devel/hs-utf8-string-ghc
XRUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc \
X hs-x11-ghc>=1.2.1:${PORTSDIR}/x11/hs-x11-ghc \
X hs-utf8-string-ghc>=0.1:${PORTSDIR}/devel/hs-utf8-string-ghc
X
XUSE_XORG= xft xrender
X
XCABALCMD= ${LOCALBASE}/bin/runghc Setup.lhs
XCABALDIR= ${PREFIX}/lib/ghc-${GHC_VERSION}/cabal
XGHC_VERSION= 6.8.3
XPLIST_SUB+= GHC_VERSION=${GHC_VERSION} \
X PORTVERSION=${PORTVERSION} \
X PORTNAME=${PORTNAME} \
X SUBDIR=lib/ghc-${GHC_VERSION}/cabal
XDOCSDIR= ${PREFIX}/share/doc/X11-xft-${PORTVERSION}
X
XCONFIGURE_ARGS= --ghc --prefix=${PREFIX} --libdir=${CABALDIR} --libsubdir='' --datasubdir=''
X
X.ifndef (NOPORTDOCS)
XBUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
X.endif
X
Xdo-configure:
X cd ${WRKSRC} && ${CABALCMD} configure ${CONFIGURE_ARGS}
X
Xdo-build:
X cd ${WRKSRC} && ${CABALCMD} build && ${CABALCMD} --gen-script register
X.ifndef (NOPORTDOCS)
X cd ${WRKSRC} && ${CABALCMD} haddock
X.endif
X
Xdo-install:
X cd ${WRKSRC} && ${CABALCMD} install \
X && ${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${CABALDIR}/${PORTNAME}-register.sh
X
X.include <bsd.port.mk>
94fe2684fc74cea35a743de6d8a5706d
echo x - hs-x11-xft-ghc/pkg-plist
sed 's/^X//' >hs-x11-xft-ghc/pkg-plist << 'bc23b4ce99565dc8149ca382519f713f'
X%%SUBDIR%%/Graphics/X11/Xft.hi
X%%SUBDIR%%/Graphics/X11/Xrender.hi
X%%SUBDIR%%/HSX11-xft-0.3.o
X%%SUBDIR%%/libHSX11-xft-0.3.a
X%%SUBDIR%%/x11-xft-register.sh
X%%DOCSDIR%%/LICENSE
X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xft.html
X%%PORTDOCS%%%%DOCSDIR%%/html/Graphics-X11-Xrender.html
X%%PORTDOCS%%%%DOCSDIR%%/html/X11-xft.haddock
X%%PORTDOCS%%%%DOCSDIR%%/html/doc-index.html
X%%PORTDOCS%%%%DOCSDIR%%/html/haddock-util.js
X%%PORTDOCS%%%%DOCSDIR%%/html/haddock.css
X%%PORTDOCS%%%%DOCSDIR%%/html/haskell_icon.gif
X%%PORTDOCS%%%%DOCSDIR%%/html/index.html
X%%PORTDOCS%%%%DOCSDIR%%/html/minus.gif
X%%PORTDOCS%%%%DOCSDIR%%/html/plus.gif
X%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
X at dirrm %%DOCSDIR%%
X at dirrmtry %%SUBDIR%%/Graphics/X11
X at dirrmtry %%SUBDIR%%/Graphics
X at exec /bin/sh %D/%%SUBDIR%%/%%PORTNAME%%-register.sh
X at exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
X at unexec %D/bin/ghc-pkg unregister X11-xft
X at unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
bc23b4ce99565dc8149ca382519f713f
echo x - hs-x11-xft-ghc/distinfo
sed 's/^X//' >hs-x11-xft-ghc/distinfo << '2e2112e09d771b1ea31d049b3c055241'
XMD5 (X11-xft-0.3.tar.gz) = 1b4a528a2a4fe5e9de715f6758ff9015
XSHA256 (X11-xft-0.3.tar.gz) = 48892d0d0a90d5b47658877facabf277bf8466b7388eaf6ce163b843432a567d
XSIZE (X11-xft-0.3.tar.gz) = 13684
2e2112e09d771b1ea31d049b3c055241
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list