Skip to content
Browse files

New Port: darcs, a source code control system written in Haskell of all

things (thus doing its best to nudge from its position as "best system
utility written in an obscure language").  The crufty patch to GNUmakefile
is there because the far more obvious technique of setting the initial make
flags in the build environment actually causes GNU make to panic and die, a
definite first for me.

WARNING: This port will compile and install ghc as a necessary dependency,
something which can take almost 3 hours on a dual G5/2.0GHz machine.  On
second thought, I believe this port now supercedes cvsup firmly from its
throne.  Even the DECWRL Modula-3 environment doesn't take that long to
build on a G5! :-)

git-svn-id: d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jordan K. Hubbard
Jordan K. Hubbard committed Jan 8, 2004
1 parent b956741 commit 313a60d637e9103326c70b4c5fdb7a0782eb0495
Showing with 32 additions and 0 deletions.
  1. +21 −0 devel/darcs/Portfile
  2. +11 −0 devel/darcs/files/patch-GNUmakefile
@@ -0,0 +1,21 @@
# $Id: Portfile,v 1.1 2004/01/08 08:29:46 jkh Exp $

PortSystem 1.0
name darcs
version 0.9.15
categories devel
description David's Advanced Revision Control System
long_description \
David's Advanced Revision Control System is yet another replacement for CVS. It is written in Haskell, and has been tested on Linux and MacOS X. Darcs includes a cgi script, which can be used to view the contents of your repository.
platforms darwin
master_sites ${homepage}
checksums md5 baf34dc8f29557a6b3f1090891d9bbb2
patchfiles patch-GNUmakefile
depends_run bin:ghc:ghc
depends_lib lib:libreadline.4:readline lib:libcurl.2:curl
configure.args --mandir=${prefix}/share/man
configure.env CPPFLAGS=-I${prefix}/include
build.env PREFIX=${prefix}
destroot.env PREFIX=${prefix}
@@ -0,0 +1,11 @@
--- GNUmakefile.orig Thu Jan 8 00:08:45 2004
+++ GNUmakefile Thu Jan 8 00:09:17 2004
@@ -32,6 +32,8 @@

C_OBJS = compat.o fpstring.o zlib_helper.o

+GHCFLAGS += -I${PREFIX}/include
ifeq ($(SYS), windows)
GHCFLAGS += -iwin32 -Iwin32

0 comments on commit 313a60d

Please sign in to comment.
You can’t perform that action at this time.