Date: Tue, 16 Dec 2008 14:40:35 GMT From: Gabor PALI <pgj@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/129679: New port: archivers/hs-zip-archive Haskell library for creating and modifying zip archives Message-ID: <200812161440.mBGEeZ3q081645@www.freebsd.org> Resent-Message-ID: <200812161450.mBGEo1hR036639@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 129679 >Category: ports >Synopsis: New port: archivers/hs-zip-archive Haskell library for creating and modifying zip archives >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 16 14:50:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Gabor PALI >Release: 7.1-PRERELEASE >Organization: The FreeBSD Project >Environment: FreeBSD kolbasz 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Mon Dec 8 02:19:56 CET 2008 pgj@kolbasz:/usr/obj/usr/src/sys/GEN-DTRACE-USB_KMOD i386 >Description: The zip-archive library provides functions for creating, modifying, and extracting files from zip archives. WWW: http://johnmacfarlane.net/zip-archive/ NOTE: This port requires devel/hs-binary [1] to be committed first. [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=129678 >How-To-Repeat: >Fix: Patch attached with submission follows: # 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-zip-archive # hs-zip-archive/Makefile # hs-zip-archive/distinfo # hs-zip-archive/pkg-descr # hs-zip-archive/pkg-plist # echo c - hs-zip-archive mkdir -p hs-zip-archive > /dev/null 2>&1 echo x - hs-zip-archive/Makefile sed 's/^X//' >hs-zip-archive/Makefile << '1373c616af1a610cd72ac66027d010a9' X# New ports collection makefile for: zip-archive X# Date created: December 15, 2008 X# Whom: Gabor Pali <pgj@FreeBSD.org> X# X# $FreeBSD$ X# X XPORTNAME= zip-archive XPORTVERSION= 0.1.1.1 XCATEGORIES= archivers haskell XMASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/ XPKGNAMEPREFIX= hs- X XMAINTAINER= haskell@FreeBSD.org XCOMMENT= A Haskell library for working with zip archives X XBUILD_DEPENDS= ghc>=6.8:${PORTSDIR}/lang/ghc \ X hs-zlib>=0.5:${PORTSDIR}/archivers/hs-zlib \ X hs-binary>=0.4:${PORTSDIR}/devel/hs-binary \ X hs-utf8-string-ghc>=0.3:${PORTSDIR}/devel/hs-utf8-string-ghc X XCABAL= ${LOCALBASE}/bin/runghc Setup.lhs XGHC_VERSION= `${LOCALBASE}/bin/ghc --numeric-version` XSUBDIR= lib/${PORTNAME}-${PORTVERSION} XPLIST_SUB= GHC_VERSION="${GHC_VERSION}" \ X PORTVERSION=${PORTVERSION} \ X SUBDIR=${SUBDIR} X Xdo-configure: X cd ${WRKSRC} && ${CABAL} configure --prefix=${PREFIX} --ghc X Xdo-build: X cd ${WRKSRC} && ${CABAL} build && ${CABAL} register --gen-script X Xdo-install: X cd ${WRKSRC} && ${CABAL} install X ${INSTALL_SCRIPT} ${WRKSRC}/register.sh ${PREFIX}/${SUBDIR}/register.sh X X.include <bsd.port.mk> 1373c616af1a610cd72ac66027d010a9 echo x - hs-zip-archive/distinfo sed 's/^X//' >hs-zip-archive/distinfo << '0085276e989b9814d25a17918ee22fda' XMD5 (zip-archive-0.1.1.1.tar.gz) = fc7eab8f0cf98b20df4bb97fa7a9674b XSHA256 (zip-archive-0.1.1.1.tar.gz) = f93b21e6f118fbf79d8eaaa2759887c9048fb298b78e48b214cb02a24be9e777 XSIZE (zip-archive-0.1.1.1.tar.gz) = 19175 0085276e989b9814d25a17918ee22fda echo x - hs-zip-archive/pkg-descr sed 's/^X//' >hs-zip-archive/pkg-descr << '6bffa1ee238dd1a2e78c43f9f14c4c57' XThe zip-archive library provides functions for creating, modifying, and Xextracting files from zip archives. X XWWW: http://johnmacfarlane.net/zip-archive/ 6bffa1ee238dd1a2e78c43f9f14c4c57 echo x - hs-zip-archive/pkg-plist sed 's/^X//' >hs-zip-archive/pkg-plist << '4946f45170c1d64c02fc48cfd2fdb36b' X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Codec/Archive/Zip.hi X%%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Hash/CRC32/GZip.hi X%%SUBDIR%%/ghc-%%GHC_VERSION%%/HSzip-archive-%%PORTVERSION%%.o X%%SUBDIR%%/ghc-%%GHC_VERSION%%/libHSzip-archive-%%PORTVERSION%%.a X%%SUBDIR%%/register.sh Xshare/doc/zip-archive-%%PORTVERSION%%/LICENSE X@dirrm share/doc/zip-archive-%%PORTVERSION%% X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Hash/CRC32 X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Data/Hash X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Data X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Codec/Archive X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%%/Codec X@dirrm %%SUBDIR%%/ghc-%%GHC_VERSION%% X@dirrm %%SUBDIR%% X@exec /bin/sh %D/%%SUBDIR%%/register.sh X@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old X@unexec %D/bin/ghc-pkg unregister zip-archive X@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old 4946f45170c1d64c02fc48cfd2fdb36b exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812161440.mBGEeZ3q081645>