ports/131134: [UPDATE] devel/hs-utf8-string-ghc - Update to 0.3.4 and Some Fixes
Gabor PALI
pgj at FreeBSD.org
Thu Jan 29 21:00:17 UTC 2009
>Number: 131134
>Category: ports
>Synopsis: [UPDATE] devel/hs-utf8-string-ghc - Update to 0.3.4 and Some Fixes
>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: Thu Jan 29 21:00:16 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Gabor PALI
>Release: 7.1-STABLE
>Organization:
The FreeBSD Project
>Environment:
FreeBSD xxx 7.1-STABLE FreeBSD 7.1-STABLE #1: Fri Jan 23 20:38:51 CET 2009 xxx:/usr/obj/usr/src/sys/NON-GENERIC i386
>Description:
Update to 0.3.4, enhance PORTDOCS
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/devel/hs-utf8-string-ghc/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile 23 Dec 2008 12:50:23 -0000 1.2
+++ Makefile 29 Jan 2009 20:44:00 -0000
@@ -6,7 +6,7 @@
#
PORTNAME= utf8-string
-PORTVERSION= 0.3.3
+PORTVERSION= 0.3.4
CATEGORIES= devel haskell
MASTER_SITES= http://hackage.haskell.org/packages/archive/${PORTNAME}/${PORTVERSION}/
PKGNAMEPREFIX= hs-
@@ -27,11 +27,15 @@
PORTNAME=${PORTNAME} \
SUBDIR=lib/ghc-${GHC_VERSION}/cabal
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
+PORTDOCS= LICENSE html
CONFIGURE_ARGS= --ghc --prefix=${PREFIX} --libdir=${CABALDIR} --libsubdir='' --datasubdir=''
-.ifndef (NOPORTDOCS)
+.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= haddock:${PORTSDIR}/devel/hs-haddock
+.else
+PLIST_DIRS+= %%DOCSDIR%%
+PLIST_FILES+= %%DOCSDIR%%/LICENSE
.endif
do-configure:
@@ -39,7 +43,7 @@
do-build:
cd ${WRKSRC} && ${CABALCMD} build && ${CABALCMD} --gen-script register
-.ifndef (NOPORTDOCS)
+.if !defined(NOPORTDOCS)
cd ${WRKSRC} && ${CABALCMD} haddock
.endif
Index: distinfo
===================================================================
RCS file: /home/pcvs/ports/devel/hs-utf8-string-ghc/distinfo,v
retrieving revision 1.2
diff -u -r1.2 distinfo
--- distinfo 23 Dec 2008 12:50:23 -0000 1.2
+++ distinfo 29 Jan 2009 20:44:00 -0000
@@ -1,3 +1,3 @@
-MD5 (utf8-string-0.3.3.tar.gz) = f311e85aebccffb272ebf3bd49a28c8f
-SHA256 (utf8-string-0.3.3.tar.gz) = a327daab89cbe9d687f0b612422da0e032f8cb4174abcf058e583a94099b40a5
-SIZE (utf8-string-0.3.3.tar.gz) = 7821
+MD5 (utf8-string-0.3.4.tar.gz) = 72d13d9453cdf721dd95bc18144a120a
+SHA256 (utf8-string-0.3.4.tar.gz) = f97027354f0b88af9bf3638aee0eb3bb72c05ec44f4af4c1abe070597059a5bd
+SIZE (utf8-string-0.3.4.tar.gz) = 8063
Index: pkg-plist
===================================================================
RCS file: /home/pcvs/ports/devel/hs-utf8-string-ghc/pkg-plist,v
retrieving revision 1.2
diff -u -r1.2 pkg-plist
--- pkg-plist 23 Dec 2008 12:50:23 -0000 1.2
+++ pkg-plist 29 Jan 2009 20:44:00 -0000
@@ -3,36 +3,19 @@
%%SUBDIR%%/Data/ByteString/Lazy/UTF8.hi
%%SUBDIR%%/Data/ByteString/UTF8.hi
%%SUBDIR%%/Data/String/UTF8.hi
-%%SUBDIR%%/HSutf8-string-0.3.3.o
%%SUBDIR%%/System/IO/UTF8.hi
-%%SUBDIR%%/libHSutf8-string-0.3.3.a
-%%SUBDIR%%/utf8-string-register.sh
-%%DOCSDIR%%/LICENSE
-%%PORTDOCS%%%%DOCSDIR%%/html/Codec-Binary-UTF8-Generic.html
-%%PORTDOCS%%%%DOCSDIR%%/html/Codec-Binary-UTF8-String.html
-%%PORTDOCS%%%%DOCSDIR%%/html/Data-ByteString-Lazy-UTF8.html
-%%PORTDOCS%%%%DOCSDIR%%/html/Data-ByteString-UTF8.html
-%%PORTDOCS%%%%DOCSDIR%%/html/Data-String-UTF8.html
-%%PORTDOCS%%%%DOCSDIR%%/html/System-IO-UTF8.html
-%%PORTDOCS%%%%DOCSDIR%%/html/doc-index.html
-%%PORTDOCS%%%%DOCSDIR%%/html/haddock-util.js
-%%PORTDOCS%%%%DOCSDIR%%/html/haddock.css
-%%PORTDOCS%%%%DOCSDIR%%/html/haskell_icon.gif
-%%PORTDOCS%%%%DOCSDIR%%/html/index.html
-%%PORTDOCS%%%%DOCSDIR%%/html/minus.gif
-%%PORTDOCS%%%%DOCSDIR%%/html/plus.gif
-%%PORTDOCS%%%%DOCSDIR%%/html/utf8-string.haddock
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
- at dirrm %%DOCSDIR%%
- at dirrm %%SUBDIR%%/System/IO
- at dirrm %%SUBDIR%%/System
- at dirrm %%SUBDIR%%/Data/String
- at dirrm %%SUBDIR%%/Data/ByteString/Lazy
- at dirrm %%SUBDIR%%/Data/ByteString
- at dirrm %%SUBDIR%%/Data
- at dirrm %%SUBDIR%%/Codec/Binary/UTF8
- at dirrm %%SUBDIR%%/Codec/Binary
- at dirrm %%SUBDIR%%/Codec
+%%SUBDIR%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
+%%SUBDIR%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
+%%SUBDIR%%/%%PORTNAME%%-register.sh
+ at dirrmtry %%SUBDIR%%/System/IO
+ at dirrmtry %%SUBDIR%%/System
+ at dirrmtry %%SUBDIR%%/Data/String
+ at dirrmtry %%SUBDIR%%/Data/ByteString/Lazy
+ at dirrmtry %%SUBDIR%%/Data/ByteString
+ at dirrmtry %%SUBDIR%%/Data
+ at dirrmtry %%SUBDIR%%/Codec/Binary/UTF8
+ at dirrmtry %%SUBDIR%%/Codec/Binary
+ at dirrmtry %%SUBDIR%%/Codec
@exec /bin/sh %D/%%SUBDIR%%/%%PORTNAME%%-register.sh
@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
@unexec %D/bin/ghc-pkg unregister %%PORTNAME%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list