aboutsummaryrefslogtreecommitdiff
path: root/devel/darcs
diff options
context:
space:
mode:
authorOliver Braun <obraun@FreeBSD.org>2008-05-22 14:34:10 +0000
committerOliver Braun <obraun@FreeBSD.org>2008-05-22 14:34:10 +0000
commit100a136effdc4f5d679f7842c1309769d14bbc21 (patch)
tree3cf68d55dad15a32c87404a2bfff66b94b99ea6f /devel/darcs
parente9146d1dc78a9fcb8ebb7d6fdf14c924b94988b1 (diff)
downloadports-100a136effdc4f5d679f7842c1309769d14bbc21.tar.gz
ports-100a136effdc4f5d679f7842c1309769d14bbc21.zip
Notes
Diffstat (limited to 'devel/darcs')
-rw-r--r--devel/darcs/Makefile11
-rw-r--r--devel/darcs/distinfo6
-rw-r--r--devel/darcs/files/patch-aclocal.m423
-rw-r--r--devel/darcs/files/patch-autoconf.mk.in11
-rw-r--r--devel/darcs/files/patch-rtc.c11
-rw-r--r--devel/darcs/pkg-plist18
6 files changed, 22 insertions, 58 deletions
diff --git a/devel/darcs/Makefile b/devel/darcs/Makefile
index 6ea689938a19..95d4cea23836 100644
--- a/devel/darcs/Makefile
+++ b/devel/darcs/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= darcs
-PORTVERSION= 1.0.9
+PORTVERSION= 2.0.0
CATEGORIES= devel
MASTER_SITES= http://darcs.net/
@@ -24,9 +24,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
CFLAGS=""
USE_GMAKE= yes
MAKEFILE= GNUmakefile
-ALL_TARGET= darcs darcs.1
INSTALL_TARGET= installbin
-USE_AUTOTOOLS= autoconf:261:env
.include <bsd.port.pre.mk>
@@ -45,6 +43,7 @@ PLIST_SUB+= SERVER="@comment "
.endif
.if !defined(NOPORTDOCS)
BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base
+ALL_TARGET+= doc/manual/darcs.ps doc/manual/patch-theory.pdf doc/manual/index.html
INSTALL_TARGET+= installdocs
.endif
@@ -57,12 +56,6 @@ post-patch:
${WRKSRC}/${MAKEFILE}
.endif
-pre-configure:
- @(cd ${WRKSRC} && ${AUTORECONF})
-
-post-configure:
- @${REINPLACE_CMD} -e 's|$${prefix}|${PREFIX}|' ${WRKSRC}/cgi/darcs.cgi
-
post-install:
@${STRIP_CMD} ${PREFIX}/bin/darcs
diff --git a/devel/darcs/distinfo b/devel/darcs/distinfo
index 1bb8b0d7b613..b482893e60da 100644
--- a/devel/darcs/distinfo
+++ b/devel/darcs/distinfo
@@ -1,3 +1,3 @@
-MD5 (darcs-1.0.9.tar.gz) = 07222cd3c500aa31e3332847573a4ab2
-SHA256 (darcs-1.0.9.tar.gz) = a5fe4d5a743d8052d6cbfcea480a44593f821afd8a42e6d6d4ae37d40ed23cd8
-SIZE (darcs-1.0.9.tar.gz) = 1080280
+MD5 (darcs-2.0.0.tar.gz) = 89e48c2fb388692b78b3cceeb86a95a7
+SHA256 (darcs-2.0.0.tar.gz) = fd740fa6600b8a768133c7dd0010671fab1c8bc4ccc278532f211eb7e853b5a9
+SIZE (darcs-2.0.0.tar.gz) = 1758251
diff --git a/devel/darcs/files/patch-aclocal.m4 b/devel/darcs/files/patch-aclocal.m4
deleted file mode 100644
index c088e6b82897..000000000000
--- a/devel/darcs/files/patch-aclocal.m4
+++ /dev/null
@@ -1,23 +0,0 @@
---- aclocal.m4.orig 2007-06-16 19:12:11.000000000 +0200
-+++ aclocal.m4 2008-01-04 19:37:37.000000000 +0100
-@@ -447,6 +447,20 @@
- openFd :: Int -> Maybe FDType -> FilePath -> IOMode -> Bool -> Bool -> IO Handle
- openFd fd x y z a b = GHC.Handle.openFd fd x b y z a
- ]]),
-+AC_MSG_RESULT([okay])
-+IMPORT_WORKAROUND([
-+import qualified GHC.Handle ( fdToHandle' )
-+import System.IO ( Handle, IOMode )
-+import System.Posix.Internals ( FDType )
-+import qualified GHC.IOBase ( FD )
-+])
-+CODE_WORKAROUND([[
-+ {-
-+ Work around change in the GHC.Handle.fdToHandle' API.
-+ -}
-+openFd :: GHC.IOBase.FD -> Maybe FDType -> FilePath -> IOMode -> Bool -> Bool -> IO Handle
-+openFd fd x y z a b = GHC.Handle.fdToHandle' fd x b y z a
-+]]),
- AC_MSG_RESULT([failed])
- AC_MSG_ERROR([Couldnt figure out how to call GHC.Handle.openFd!])
- )
diff --git a/devel/darcs/files/patch-autoconf.mk.in b/devel/darcs/files/patch-autoconf.mk.in
deleted file mode 100644
index 46c0366795d0..000000000000
--- a/devel/darcs/files/patch-autoconf.mk.in
+++ /dev/null
@@ -1,11 +0,0 @@
---- autoconf.mk.in.orig 2007-06-16 19:12:11.000000000 +0200
-+++ autoconf.mk.in 2008-01-04 19:37:47.000000000 +0100
-@@ -19,7 +19,7 @@
- OPTCCFLAGS := $(addprefix -optc,$(CFLAGS) $(CPPFLAGS))
- LDFLAGS := @LDFLAGS@ @LIBS@
- OPTLLDFLAGS := $(addprefix -optl,$(LDFLAGS))
--GHCFLAGS := -cpp @GHCFLAGS@
-+GHCFLAGS := -package containers -cpp @GHCFLAGS@
- HAVE_CURSES := @HAVE_CURSES@
- HAVE_LIBCURL := @HAVE_LIBCURL@
- HAVE_MAPI := @HAVE_MAPI@
diff --git a/devel/darcs/files/patch-rtc.c b/devel/darcs/files/patch-rtc.c
deleted file mode 100644
index dfcb2ce88abe..000000000000
--- a/devel/darcs/files/patch-rtc.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- rts.c.orig 2007-10-26 09:32:02.000000000 +0200
-+++ rts.c 2007-10-26 09:28:14.000000000 +0200
-@@ -6,7 +6,7 @@
- void defaultsHook (void) {
- RtsFlags.GcFlags.maxStkSize = 8*1000002 / sizeof(W_); /* 8M */
-
--#ifdef _SC_PHYS_PAGES
-+#if defined(_SC_PHYS_PAGES) && defined(_SC_AVPHYS_PAGES)
- /* Try to set reasonable values for when to start compacting the heap to
- avoid massive swapping. */
- {
diff --git a/devel/darcs/pkg-plist b/devel/darcs/pkg-plist
index e6766b511cf8..6414940ddcd3 100644
--- a/devel/darcs/pkg-plist
+++ b/devel/darcs/pkg-plist
@@ -7,15 +7,19 @@ etc/bash_completion.d/darcs
%%SERVER%%share/darcs/xslt/browse.xslt
%%SERVER%%share/darcs/xslt/common.xslt
%%SERVER%%share/darcs/xslt/errors.xslt
+%%SERVER%%share/darcs/xslt/errors.xml
%%SERVER%%share/darcs/xslt/patches.xslt
%%SERVER%%share/darcs/xslt/repos.xslt
%%SERVER%%share/darcs/xslt/rss.xslt
%%SERVER%%share/darcs/xslt/styles.css
%%PORTDOCS%%%%DOCSDIR%%/examples/zsh_completion_new
%%PORTDOCS%%%%DOCSDIR%%/examples/zsh_completion_old
+%%PORTDOCS%%%%DOCSDIR%%/manual/WARNINGS
%%PORTDOCS%%%%DOCSDIR%%/manual/contents.png
+%%PORTDOCS%%%%DOCSDIR%%/manual/crossref.png
%%PORTDOCS%%%%DOCSDIR%%/manual/darcs.css
%%PORTDOCS%%%%DOCSDIR%%/manual/darcs.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/darcs.pdf
%%PORTDOCS%%%%DOCSDIR%%/manual/darcs.ps
%%PORTDOCS%%%%DOCSDIR%%/manual/footnode.html
%%PORTDOCS%%%%DOCSDIR%%/manual/images.aux
@@ -40,7 +44,18 @@ etc/bash_completion.d/darcs
%%PORTDOCS%%%%DOCSDIR%%/manual/img23.png
%%PORTDOCS%%%%DOCSDIR%%/manual/img24.png
%%PORTDOCS%%%%DOCSDIR%%/manual/img25.png
+%%PORTDOCS%%%%DOCSDIR%%/manual/img26.png
+%%PORTDOCS%%%%DOCSDIR%%/manual/img27.png
+%%PORTDOCS%%%%DOCSDIR%%/manual/img28.png
+%%PORTDOCS%%%%DOCSDIR%%/manual/img29.png
%%PORTDOCS%%%%DOCSDIR%%/manual/img3.png
+%%PORTDOCS%%%%DOCSDIR%%/manual/img30.png
+%%PORTDOCS%%%%DOCSDIR%%/manual/img31.png
+%%PORTDOCS%%%%DOCSDIR%%/manual/img32.png
+%%PORTDOCS%%%%DOCSDIR%%/manual/img33.png
+%%PORTDOCS%%%%DOCSDIR%%/manual/img34.png
+%%PORTDOCS%%%%DOCSDIR%%/manual/img35.png
+%%PORTDOCS%%%%DOCSDIR%%/manual/img36.png
%%PORTDOCS%%%%DOCSDIR%%/manual/img4.png
%%PORTDOCS%%%%DOCSDIR%%/manual/img5.png
%%PORTDOCS%%%%DOCSDIR%%/manual/img6.png
@@ -63,11 +78,12 @@ etc/bash_completion.d/darcs
%%PORTDOCS%%%%DOCSDIR%%/manual/node7.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node8.html
%%PORTDOCS%%%%DOCSDIR%%/manual/node9.html
+%%PORTDOCS%%%%DOCSDIR%%/manual/nx_grp_g.png
+%%PORTDOCS%%%%DOCSDIR%%/manual/patch-theory.pdf
%%PORTDOCS%%%%DOCSDIR%%/manual/prev.png
%%PORTDOCS%%%%DOCSDIR%%/manual/prev_g.png
%%PORTDOCS%%%%DOCSDIR%%/manual/up.png
%%PORTDOCS%%%%DOCSDIR%%/manual/up_g.png
-%%PORTDOCS%%%%DOCSDIR%%/manual/WARNINGS
@dirrm etc/bash_completion.d
%%SERVER%%@dirrmtry etc/darcs
%%SERVER%%@dirrmtry www/cgi-bin