Date: Fri, 24 Jul 2009 09:12:40 -0700 (PDT) From: Jacula Modyun <jacula@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/137058: [new port]: devel/hs-ghc-paths Message-ID: <200907241612.n6OGCd48079410@splork.wirewater.yow> Resent-Message-ID: <200907241620.n6OGK2QF007362@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137058 >Category: ports >Synopsis: [new port]: devel/hs-ghc-paths >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 Jul 24 16:20:02 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@splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386 >Description: See the PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137055 >How-To-Repeat: >Fix: --- hs-ghc-paths.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-ghc-paths # hs-ghc-paths/Makefile # hs-ghc-paths/distinfo # hs-ghc-paths/pkg-descr # hs-ghc-paths/pkg-plist # echo c - hs-ghc-paths mkdir -p hs-ghc-paths > /dev/null 2>&1 echo x - hs-ghc-paths/Makefile sed 's/^X//' >hs-ghc-paths/Makefile << '4e646eecac8e63db44d6341188a4d8e9' X# New ports collection makefile for: hs-ghc-paths X# Date created: July 09 2009 X# Whom: Giuseppe Pilichi aka Jacula Modyun <jacula@gmail.com> X# X# X XPORTNAME= ghc-paths XPORTVERSION= 0.1.0.5 XCATEGORIES= devel haskell XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ XPKGNAMEPREFIX= hs- X XMAINTAINER= jacula@gmail.com XCOMMENT= Utility looking for GHC installation directories X X.if !defined(SLAVE) XBUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc XRUN_DEPENDS= ghc:${PORTSDIR}/lang/ghc X.else XNO_PKG_REGISTER= X.endif X XGHC_VERSION= 6.10.4 XGHC-PATHS_VERSION= ${PORTVERSION} X XCABAL_CMD= runghc Setup.hs X XDOCSDIR= ${PREFIX}/share/doc/${DISTNAME} XGHC-PATHS_LIBDIR_REL= lib/${DISTNAME} X XPLIST_SUB= GHC_VERSION=${GHC_VERSION} \ X GHC-PATHS_VERSION=${GHC-PATHS_VERSION} \ X GHC-PATHS_LIBDIR_REL=${GHC-PATHS_LIBDIR_REL} X X.SILENT: X Xdo-configure: X cd ${WRKSRC} && ${CABAL_CMD} configure --ghc --prefix=${PREFIX} X Xdo-build: X cd ${WRKSRC} && ${CABAL_CMD} build X.if !defined(SLAVE) X cd ${WRKSRC} && ${CABAL_CMD} register --gen-script X.endif X Xdo-install: X cd ${WRKSRC} && ${CABAL_CMD} install X Xpost-install: X.if !defined(SLAVE) X ${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${GHC-PATHS_LIBDIR_REL}/register.sh X.endif X ${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old X X.include <bsd.port.mk> 4e646eecac8e63db44d6341188a4d8e9 echo x - hs-ghc-paths/distinfo sed 's/^X//' >hs-ghc-paths/distinfo << '727f1c146abc9cfd0fd6d2d1e1872a87' XMD5 (ghc-paths-0.1.0.5.tar.gz) = 8fdc122e65845d2d53734f78e22c5155 XSHA256 (ghc-paths-0.1.0.5.tar.gz) = ea9e97425894e3dbd7915e00e107e2e7fc07b6e8293fd2dd66a813f0673cba10 XSIZE (ghc-paths-0.1.0.5.tar.gz) = 2304 727f1c146abc9cfd0fd6d2d1e1872a87 echo x - hs-ghc-paths/pkg-descr sed 's/^X//' >hs-ghc-paths/pkg-descr << '7863c09d479ae208451c07c0892a3831' XKnowledge of GHC's installation directories. X XAuthor: Simon Marlow XMaintainer: Simon Marlow <marlowsd@gmail.com> XLicense: BSD3 XWWW: http://hackage.haskell.org/packages/archive/ghc-paths X Xexposed-modules: GHC.Paths 7863c09d479ae208451c07c0892a3831 echo x - hs-ghc-paths/pkg-plist sed 's/^X//' >hs-ghc-paths/pkg-plist << 'dce8134b4e4196f854119655b489d38b' X%%GHC-PATHS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/GHC/Paths.hi X%%GHC-PATHS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSghc-paths-%%GHC-PATHS_VERSION%%.o X%%GHC-PATHS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSghc-paths-%%GHC-PATHS_VERSION%%.a X%%GHC-PATHS_LIBDIR_REL%%/register.sh X%%DOCSDIR%%/LICENSE X@dirrmtry %%DOCSDIR%% X@dirrm %%GHC-PATHS_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/GHC X@dirrm %%GHC-PATHS_LIBDIR_REL%%/ghc-%%GHC_VERSION%% X@dirrm %%GHC-PATHS_LIBDIR_REL%% X@exec /bin/sh %D/%%GHC-PATHS_LIBDIR_REL%%/register.sh X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old X@unexec %D/bin/ghc-pkg unregister ghc-paths X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old dce8134b4e4196f854119655b489d38b exit --- hs-ghc-paths.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907241612.n6OGCd48079410>