# 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-unix-compat # hs-unix-compat/Makefile # hs-unix-compat/distinfo # hs-unix-compat/pkg-descr # hs-unix-compat/pkg-plist # echo c - hs-unix-compat mkdir -p hs-unix-compat > /dev/null 2>&1 echo x - hs-unix-compat/Makefile sed 's/^X//' >hs-unix-compat/Makefile << '41308b0a92746e62fd997eb78ef98630' X# New ports collection makefile for: hs-unix-compat X# Date created: January 10 2010 X# Whom: Giuseppe Pilichi aka Jacula Modyun X# X XPORTNAME= unix-compat XPORTVERSION= 0.1.2.1 XCATEGORIES= devel haskell XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ XPKGNAMEPREFIX= hs- X XMAINTAINER= jacula@gmail.com XCOMMENT= Portable POSIX-compatibility layer X XBUILD_DEPENDS+= ghc:${PORTSDIR}/lang/ghc XRUN_DEPENDS+= ghc:${PORTSDIR}/lang/ghc X XGHC_VERSION= 6.10.4 XUNIXCOMPAT_VERSION= ${PORTVERSION} X XGHC_CMD= ${LOCALBASE}/bin/ghc XSETUP_CMD= ./setup X XDOCSDIR= ${PREFIX}/share/doc/${DISTNAME} XUNIXCOMPAT_LIBDIR_REL= lib/${DISTNAME} X XPLIST_SUB= GHC_VERSION=${GHC_VERSION} \ X UNIXCOMPAT_VERSION=${UNIXCOMPAT_VERSION} \ X UNIXCOMPAT_LIBDIR_REL=${UNIXCOMPAT_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}/${UNIXCOMPAT_LIBDIR_REL}/register.sh X Xpost-install: X ${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old X X.include 41308b0a92746e62fd997eb78ef98630 echo x - hs-unix-compat/distinfo sed 's/^X//' >hs-unix-compat/distinfo << '93da3f4611b0a0a6a93ab9b42b0a4b2a' XMD5 (unix-compat-0.1.2.1.tar.gz) = 6ecfc3922fce2e96922af3a636b061f9 XSHA256 (unix-compat-0.1.2.1.tar.gz) = 553326e140f71f09cedeec5f74666171c2ad2b3d9ba4312da97da02cbf8a2e85 XSIZE (unix-compat-0.1.2.1.tar.gz) = 6286 93da3f4611b0a0a6a93ab9b42b0a4b2a echo x - hs-unix-compat/pkg-descr sed 's/^X//' >hs-unix-compat/pkg-descr << 'abedc5e923997e62d6e43ca86a723725' XThis package provides portable implementations of parts Xof the unix package. This package re-exports the unix Xpackage when available. When it isn't available, Xportable implementations are used. X XWWW: http://hackage.haskell.org/package/unix-compat abedc5e923997e62d6e43ca86a723725 echo x - hs-unix-compat/pkg-plist sed 's/^X//' >hs-unix-compat/pkg-plist << '189f90f44eec7674aeff733034d7abc1' X%%UNIXCOMPAT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSunix-compat-%%UNIXCOMPAT_VERSION%%.o X%%UNIXCOMPAT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/PosixCompat/Extensions.hi X%%UNIXCOMPAT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/PosixCompat/Files.hi X%%UNIXCOMPAT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/PosixCompat/Types.hi X%%UNIXCOMPAT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/PosixCompat/User.hi X%%UNIXCOMPAT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/include/HsUnixCompat.h X%%UNIXCOMPAT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSunix-compat-%%UNIXCOMPAT_VERSION%%.a X%%UNIXCOMPAT_LIBDIR_REL%%/register.sh X%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE X%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%% X@dirrm %%UNIXCOMPAT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/include X@dirrm %%UNIXCOMPAT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System/PosixCompat X@dirrm %%UNIXCOMPAT_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/System X@dirrm %%UNIXCOMPAT_LIBDIR_REL%%/ghc-%%GHC_VERSION%% X@dirrm %%UNIXCOMPAT_LIBDIR_REL%% X@exec /bin/sh %D/%%UNIXCOMPAT_LIBDIR_REL%%/register.sh X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old X@unexec %D/bin/ghc-pkg unregister unix-compat X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old 189f90f44eec7674aeff733034d7abc1 exit