diff options
author | obraun <obraun@FreeBSD.org> | 2003-04-14 06:51:13 +0800 |
---|---|---|
committer | obraun <obraun@FreeBSD.org> | 2003-04-14 06:51:13 +0800 |
commit | b11e03bafdf2e3049bc289f3699a5b1543c05680 (patch) | |
tree | 6684665364bc17f140142815e3183a397dba8b83 /devel/hs-darcs | |
parent | ddd0b0e6ee8cb1f16a8e9bf94d4e8ae7833a6c26 (diff) | |
download | freebsd-ports-gnome-b11e03bafdf2e3049bc289f3699a5b1543c05680.tar.gz freebsd-ports-gnome-b11e03bafdf2e3049bc289f3699a5b1543c05680.tar.zst freebsd-ports-gnome-b11e03bafdf2e3049bc289f3699a5b1543c05680.zip |
darcs is yet another replacement for CVS. It is written in haskell.
Diffstat (limited to 'devel/hs-darcs')
-rw-r--r-- | devel/hs-darcs/Makefile | 45 | ||||
-rw-r--r-- | devel/hs-darcs/distinfo | 1 | ||||
-rw-r--r-- | devel/hs-darcs/pkg-descr | 7 | ||||
-rw-r--r-- | devel/hs-darcs/pkg-plist | 1 |
4 files changed, 54 insertions, 0 deletions
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 <obraun@FreeBSD.org> +# +# $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|<curl|<${PREFIX}/include/curl|' \ + ${WRKSRC}/hscurl.c + @${REINPLACE_CMD} -e \ + 's|/usr/share/doc/darcs/manual/index.html|http://www.abridgegame.org/darcs/|' \ + ${WRKSRC}/man.hs + +do-configure: + @${ECHO_CMD} PREFIX=${PREFIX} >> ${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 <bsd.port.mk> 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 |