diff options
author | Oliver Braun <obraun@FreeBSD.org> | 2003-04-13 22:51:13 +0000 |
---|---|---|
committer | Oliver Braun <obraun@FreeBSD.org> | 2003-04-13 22:51:13 +0000 |
commit | 65e2d489f34f2030f7a973a08166fd04d948e3a4 (patch) | |
tree | fc22db9d94794f71fe7639bf648cd41e0e1c1e23 /devel | |
parent | 800dddd27cab4c08c919df62e0a9e95ddc269ed8 (diff) | |
download | ports-65e2d489f34f2030f7a973a08166fd04d948e3a4.tar.gz ports-65e2d489f34f2030f7a973a08166fd04d948e3a4.zip |
Notes
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/darcs/Makefile | 45 | ||||
-rw-r--r-- | devel/darcs/distinfo | 1 | ||||
-rw-r--r-- | devel/darcs/pkg-descr | 7 | ||||
-rw-r--r-- | devel/darcs/pkg-plist | 1 | ||||
-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 |
9 files changed, 109 insertions, 0 deletions
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 <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/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 <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 |