ports/142099: [patch]: update of devel/hs-lazysmallcheck-ghc from the 0.3 version to the 0.5 version
Jacula Modyun
jacula at gmail.com
Mon Dec 28 12:10:02 UTC 2009
>Number: 142099
>Category: ports
>Synopsis: [patch]: update of devel/hs-lazysmallcheck-ghc from the 0.3 version to the 0.5 version
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Mon Dec 28 12:10:01 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 at splork.wirewater.yow:/usr/obj/usr/src/sys/JACULA i386
>Description:
devel/hs-lazysmallcheck-ghc from the 0.3 version to the 0.5 version
>How-To-Repeat:
>Fix:
--- patch-hs-lazysmallcheck-ghc begins here ---
diff -uNr hs-lazysmallcheck-ghc.orig/Makefile hs-lazysmallcheck-ghc/Makefile
--- hs-lazysmallcheck-ghc.orig/Makefile 2009-12-06 20:56:51.000000000 +0000
+++ hs-lazysmallcheck-ghc/Makefile 2009-12-28 11:59:43.000000000 +0000
@@ -6,8 +6,7 @@
#
PORTNAME= lazysmallcheck
-PORTVERSION= 0.3
-PORTREVISION= 2
+PORTVERSION= 0.5
CATEGORIES= devel haskell
MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
PKGNAMEPREFIX= hs-
@@ -25,6 +24,7 @@
GHC_CMD= ${LOCALBASE}/bin/ghc
SETUP_CMD= ./setup
+EXAMPLESDIR= ${PREFIX}/share/examples/${DISTNAME}
DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
LAZYSMALLCHECK_LIBDIR_REL= lib/${DISTNAME}
@@ -70,6 +70,7 @@
do-install:
cd ${WRKSRC} && ${SETUP_CMD} install \
&& ${INSTALL_SCRIPT} register.sh ${PREFIX}/${LAZYSMALLCHECK_LIBDIR_REL}/register.sh
+ ${MKDIR} ${EXAMPLESDIR} && cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
post-install:
${RM} -f ${PREFIX}/lib/ghc-${GHC_VERSION}/package.conf.old
diff -uNr hs-lazysmallcheck-ghc.orig/distinfo hs-lazysmallcheck-ghc/distinfo
--- hs-lazysmallcheck-ghc.orig/distinfo 2009-03-14 15:19:34.000000000 +0000
+++ hs-lazysmallcheck-ghc/distinfo 2009-12-28 11:42:01.000000000 +0000
@@ -1,3 +1,3 @@
-MD5 (lazysmallcheck-0.3.tar.gz) = 75f2495a391571013c1d10bad226e6ff
-SHA256 (lazysmallcheck-0.3.tar.gz) = f311abfe36e54a8d366db356da3daad52b607c24511ffc494fe1115eeb033cfa
-SIZE (lazysmallcheck-0.3.tar.gz) = 16834
+MD5 (lazysmallcheck-0.5.tar.gz) = f14dc0b5e2e2df93bfc3ced9e040d98f
+SHA256 (lazysmallcheck-0.5.tar.gz) = 981d48118e02501cf5c7fe726ebe01428c99d94c19005dd7f4b55e1ad414faed
+SIZE (lazysmallcheck-0.5.tar.gz) = 17059
diff -uNr hs-lazysmallcheck-ghc.orig/files/patch-lazysmallcheck.cabal hs-lazysmallcheck-ghc/files/patch-lazysmallcheck.cabal
--- hs-lazysmallcheck-ghc.orig/files/patch-lazysmallcheck.cabal 2009-09-02 15:38:37.000000000 +0000
+++ hs-lazysmallcheck-ghc/files/patch-lazysmallcheck.cabal 1970-01-01 00:00:00.000000000 +0000
@@ -1,11 +0,0 @@
---- lazysmallcheck.cabal.orig 2009-07-15 09:45:12.000000000 +0000
-+++ lazysmallcheck.cabal 2009-07-15 09:45:44.000000000 +0000
-@@ -16,7 +16,7 @@
- significantly fewer test-cases to verify a property for all inputs up
- to a given depth.
- Category: Testing
--Build-Depends: base, haskell98
-+Build-Depends: base < 4, haskell98
- Build-Type: Simple
- Extra-Source-Files:
- examples/Catch.hs
diff -uNr hs-lazysmallcheck-ghc.orig/pkg-plist hs-lazysmallcheck-ghc/pkg-plist
--- hs-lazysmallcheck-ghc.orig/pkg-plist 2009-09-02 15:38:37.000000000 +0000
+++ hs-lazysmallcheck-ghc/pkg-plist 2009-12-28 11:55:49.000000000 +0000
@@ -1,12 +1,39 @@
@comment $FreeBSD: ports/devel/hs-lazysmallcheck-ghc/pkg-plist,v 1.2 2009/09/02 15:38:37 pgj Exp $
%%LAZYSMALLCHECK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HSlazysmallcheck-%%LAZYSMALLCHECK_VERSION%%.o
%%LAZYSMALLCHECK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Test/LazySmallCheck.hi
-%%LAZYSMALLCHECK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Test/LazySmallCheck/Generic.hi
%%LAZYSMALLCHECK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHSlazysmallcheck-%%LAZYSMALLCHECK_VERSION%%.a
%%LAZYSMALLCHECK_LIBDIR_REL%%/register.sh
%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
+%%EXAMPLESDIR%%/test/TestCatch.hs
+%%EXAMPLESDIR%%/test/TestMux2.hs
+%%EXAMPLESDIR%%/test/TestCountdown1.hs
+%%EXAMPLESDIR%%/test/TestMux3.hs
+%%EXAMPLESDIR%%/test/TestCountdown2.hs
+%%EXAMPLESDIR%%/test/TestRedBlack.hs
+%%EXAMPLESDIR%%/test/TestHuffman1.hs
+%%EXAMPLESDIR%%/test/TestRegExp.hs
+%%EXAMPLESDIR%%/test/TestHuffman2.hs
+%%EXAMPLESDIR%%/test/TestSad.hs
+%%EXAMPLESDIR%%/test/TestListSet1.hs
+%%EXAMPLESDIR%%/test/TestSumPuz.hs
+%%EXAMPLESDIR%%/test/TestMate.hs
+%%EXAMPLESDIR%%/test/TestTurner.hs
+%%EXAMPLESDIR%%/test/TestMux1.hs
+%%EXAMPLESDIR%%/test/make.sh
+%%EXAMPLESDIR%%/Catch.hs
+%%EXAMPLESDIR%%/Mate.hs
+%%EXAMPLESDIR%%/Sad.hs
+%%EXAMPLESDIR%%/Countdown.hs
+%%EXAMPLESDIR%%/Mux.hs
+%%EXAMPLESDIR%%/SumPuz.hs
+%%EXAMPLESDIR%%/Huffman.hs
+%%EXAMPLESDIR%%/RedBlack.hs
+%%EXAMPLESDIR%%/Turner.hs
+%%EXAMPLESDIR%%/ListSet.hs
+%%EXAMPLESDIR%%/RegExp.hs
+ at dirrm %%EXAMPLESDIR%%/test
+ at dirrmtry %%EXAMPLESDIR%%
%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
- at dirrm %%LAZYSMALLCHECK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Test/LazySmallCheck
@dirrm %%LAZYSMALLCHECK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Test
@dirrm %%LAZYSMALLCHECK_LIBDIR_REL%%/ghc-%%GHC_VERSION%%
@dirrm %%LAZYSMALLCHECK_LIBDIR_REL%%
--- patch-hs-lazysmallcheck-ghc ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list