1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

darcs is yet another replacement for CVS. It is written in haskell.

This commit is contained in:
Oliver Braun 2003-04-13 22:51:13 +00:00
parent 800dddd27c
commit 65e2d489f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=78911
9 changed files with 109 additions and 0 deletions

View File

@ -138,6 +138,7 @@
SUBDIR += cvswrap
SUBDIR += cweb
SUBDIR += cxref
SUBDIR += darcs
SUBDIR += darts
SUBDIR += ddd
SUBDIR += decompyle

45
devel/darcs/Makefile Normal file
View File

@ -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>

1
devel/darcs/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (darcs-0.9.5.tar.gz) = 1e326165490c5f139779c10851c1546b

7
devel/darcs/pkg-descr Normal file
View File

@ -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

1
devel/darcs/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/darcs

45
devel/hs-darcs/Makefile Normal file
View File

@ -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>

1
devel/hs-darcs/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (darcs-0.9.5.tar.gz) = 1e326165490c5f139779c10851c1546b

7
devel/hs-darcs/pkg-descr Normal file
View File

@ -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

1
devel/hs-darcs/pkg-plist Normal file
View File

@ -0,0 +1 @@
bin/darcs