ports/137092: [patch]: update of devel/hs-hdoc to ghc-6.10.4
Jacula Modyun
jacula at gmail.com
Fri Jul 24 18:50:02 UTC 2009
>Number: 137092
>Category: ports
>Synopsis: [patch]: update of devel/hs-hdoc to ghc-6.10.4
>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 18:50: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:
See the PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/137055
>How-To-Repeat:
>Fix:
--- patch-hs-hdoc.diff begins here ---
diff -uNr hs-hdoc.orig/Makefile hs-hdoc/Makefile
--- hs-hdoc.orig/Makefile 2007-05-19 20:02:51.000000000 +0000
+++ hs-hdoc/Makefile 2009-07-16 13:43:50.000000000 +0000
@@ -6,7 +6,7 @@
PORTNAME= hdoc
PORTVERSION= 0.8.3
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel haskell
MASTER_SITES= http://staff.fmi.uni-passau.de/~groessli/hdoc/
PKGNAMEPREFIX= hs-
@@ -15,12 +15,26 @@
COMMENT= HTML documentation tool for Haskell
BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc
+LIB_DEPENDS+= gmp.8:${PORTSDIR}/math/libgmp4
+
+DOCSDIR= ${PREFIX}/share/doc/${DISTNAME}
PLIST_FILES= bin/hdoc
+.if !defined(NOPORTDOCS)
+PLIST_DIRS= share/doc/${DISTNAME}
+PLIST_FILES+= share/doc/${DISTNAME}/hdoc.pdf
+.endif
+
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS+= --prefix=${PREFIX}
ALL_TARGET= # empty
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR} && \
+ cd ${WRKSRC}/docs && ${INSTALL_DATA} hdoc.pdf ${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
--- patch-hs-hdoc.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list