From b11e03bafdf2e3049bc289f3699a5b1543c05680 Mon Sep 17 00:00:00 2001 From: obraun Date: Sun, 13 Apr 2003 22:51:13 +0000 Subject: darcs is yet another replacement for CVS. It is written in haskell. --- devel/Makefile | 1 + devel/darcs/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ devel/darcs/distinfo | 1 + devel/darcs/pkg-descr | 7 +++++++ devel/darcs/pkg-plist | 1 + devel/hs-darcs/Makefile | 45 +++++++++++++++++++++++++++++++++++++++++++++ devel/hs-darcs/distinfo | 1 + devel/hs-darcs/pkg-descr | 7 +++++++ devel/hs-darcs/pkg-plist | 1 + 9 files changed, 109 insertions(+) create mode 100644 devel/darcs/Makefile create mode 100644 devel/darcs/distinfo create mode 100644 devel/darcs/pkg-descr create mode 100644 devel/darcs/pkg-plist create mode 100644 devel/hs-darcs/Makefile create mode 100644 devel/hs-darcs/distinfo create mode 100644 devel/hs-darcs/pkg-descr create mode 100644 devel/hs-darcs/pkg-plist (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index 95d1a7a4f1c4..b340fc2727dc 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -138,6 +138,7 @@ SUBDIR += cvswrap SUBDIR += cweb SUBDIR += cxref + SUBDIR += darcs SUBDIR += darts SUBDIR += ddd SUBDIR += decompyle diff --git a/devel/darcs/Makefile b/devel/darcs/Makefile new file mode 100644 index 000000000000..d155fd363d1e --- /dev/null +++ b/devel/darcs/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: darcs +# Date created: 13 April 2003 +# Whom: Oliver Braun +# +# $FreeBSD$ +# + +PORTNAME= darcs +PORTVERSION= 0.9.5 +CATEGORIES= devel +MASTER_SITES= http://www.abridgegame.org/darcs/ + +MAINTAINER= obraun@FreeBSD.org +COMMENT= Yet another replacement for CVS, written in Haskell + +BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc +LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl + +USE_REINPLACE= yes +USE_GMAKE= yes +ALL_TARGET= darcs darcs.1 + +GHC_VERSION= `${PREFIX}/bin/ghc --version 2>&1 | \ + ${SED} 's/^.*version[ ]*\([0-9.]*\).*/\1/'` + +MAN1= darcs.1 + +post-patch: + @${REINPLACE_CMD} -e 's|> ${WRKSRC}/make.inc + @${ECHO_CMD} CURL_STUFF = hscurl.c -lcurl -optl-pthread -L${PREFIX}/lib/ \ + >> ${WRKSRC}/make.inc + @${ECHO_CMD} GHCINC=-I${PREFIX}/lib/ghc-${GHC_VERSION}/include >> ${WRKSRC}/make.inc + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/darcs ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/darcs.1 ${MANPREFIX}/man/man1 + +.include diff --git a/devel/darcs/distinfo b/devel/darcs/distinfo new file mode 100644 index 000000000000..7dc006d08ce0 --- /dev/null +++ b/devel/darcs/distinfo @@ -0,0 +1 @@ +MD5 (darcs-0.9.5.tar.gz) = 1e326165490c5f139779c10851c1546b diff --git a/devel/darcs/pkg-descr b/devel/darcs/pkg-descr new file mode 100644 index 000000000000..f4a14bd76aee --- /dev/null +++ b/devel/darcs/pkg-descr @@ -0,0 +1,7 @@ +David's Advanced Revision Control System is yet another replacement for CVS. It +is written in haskell. + +WWW: http://www.abridgegame.org/darcs/ + +-- Oliver Braun +obraun@FreeBSD.org diff --git a/devel/darcs/pkg-plist b/devel/darcs/pkg-plist new file mode 100644 index 000000000000..3979d39da1f0 --- /dev/null +++ b/devel/darcs/pkg-plist @@ -0,0 +1 @@ +bin/darcs diff --git a/devel/hs-darcs/Makefile b/devel/hs-darcs/Makefile new file mode 100644 index 000000000000..d155fd363d1e --- /dev/null +++ b/devel/hs-darcs/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: darcs +# Date created: 13 April 2003 +# Whom: Oliver Braun +# +# $FreeBSD$ +# + +PORTNAME= darcs +PORTVERSION= 0.9.5 +CATEGORIES= devel +MASTER_SITES= http://www.abridgegame.org/darcs/ + +MAINTAINER= obraun@FreeBSD.org +COMMENT= Yet another replacement for CVS, written in Haskell + +BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc +LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl + +USE_REINPLACE= yes +USE_GMAKE= yes +ALL_TARGET= darcs darcs.1 + +GHC_VERSION= `${PREFIX}/bin/ghc --version 2>&1 | \ + ${SED} 's/^.*version[ ]*\([0-9.]*\).*/\1/'` + +MAN1= darcs.1 + +post-patch: + @${REINPLACE_CMD} -e 's|> ${WRKSRC}/make.inc + @${ECHO_CMD} CURL_STUFF = hscurl.c -lcurl -optl-pthread -L${PREFIX}/lib/ \ + >> ${WRKSRC}/make.inc + @${ECHO_CMD} GHCINC=-I${PREFIX}/lib/ghc-${GHC_VERSION}/include >> ${WRKSRC}/make.inc + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/darcs ${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/darcs.1 ${MANPREFIX}/man/man1 + +.include diff --git a/devel/hs-darcs/distinfo b/devel/hs-darcs/distinfo new file mode 100644 index 000000000000..7dc006d08ce0 --- /dev/null +++ b/devel/hs-darcs/distinfo @@ -0,0 +1 @@ +MD5 (darcs-0.9.5.tar.gz) = 1e326165490c5f139779c10851c1546b diff --git a/devel/hs-darcs/pkg-descr b/devel/hs-darcs/pkg-descr new file mode 100644 index 000000000000..f4a14bd76aee --- /dev/null +++ b/devel/hs-darcs/pkg-descr @@ -0,0 +1,7 @@ +David's Advanced Revision Control System is yet another replacement for CVS. It +is written in haskell. + +WWW: http://www.abridgegame.org/darcs/ + +-- Oliver Braun +obraun@FreeBSD.org diff --git a/devel/hs-darcs/pkg-plist b/devel/hs-darcs/pkg-plist new file mode 100644 index 000000000000..3979d39da1f0 --- /dev/null +++ b/devel/hs-darcs/pkg-plist @@ -0,0 +1 @@ +bin/darcs -- cgit