Updated to darcs-1.0.1.

This commit is contained in:
Roland Illig 2005-01-20 18:07:46 +00:00 committed by Thomas Klausner
parent 3fe83f14b7
commit 96819095e2
6 changed files with 14 additions and 109 deletions

View file

@ -1,8 +1,7 @@
# $NetBSD: Makefile,v 1.6 2005/01/05 22:53:10 rillig Exp $
# $NetBSD: Makefile,v 1.7 2005/01/20 18:07:46 rillig Exp $
#
DISTNAME= darcs-0.9.20
PKGREVISION= 1
DISTNAME= darcs-1.0.1
CATEGORIES= devel
MASTER_SITES= http://abridgegame.org/darcs/
@ -10,23 +9,18 @@ MAINTAINER= roland.illig@gmx.de
HOMEPAGE= http://abridgegame.org/darcs/
COMMENT= Advanced Revision Control System based on patches
BUILD_DEPENDS+= latex2html-[0-9]*:../../textproc/latex2html
USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
USE_GNU_TOOLS+= make
MAKEFLAGS+= LDFLAGS=
MAKEFLAGS+= CPPFLAGS=
# latex2html currently does not work for me. :(
MAKEFLAGS+= MAKEMANUAL=${TRUE:Q}
MAKEFILE= ${WRKSRC}/GNUmakefile
post-install:
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${PREFIX}/share/doc/${PKGBASE}/
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${PREFIX}/share/doc/${PKGBASE}/
${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/${PKGBASE}/
.include "../../devel/libidn/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../lang/ghc/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"

View file

@ -1,15 +1,14 @@
@comment $NetBSD: PLIST,v 1.2 2005/01/05 22:53:10 rillig Exp $
@comment $NetBSD: PLIST,v 1.3 2005/01/20 18:07:46 rillig Exp $
bin/darcs
etc/darcs/bash_completion.d/darcs
man/man1/darcs.1
share/doc/darcs/AUTHORS
share/doc/darcs/ChangeLog
share/doc/darcs/TODO
share/doc/darcs/darcs.ps
share/doc/darcs/examples/zsh_completion_new
share/doc/darcs/examples/zsh_completion_old
share/doc/darcs/manual/WARNINGS
share/doc/darcs/manual/contents.png
share/doc/darcs/manual/crossref.png
share/doc/darcs/manual/darcs.css
share/doc/darcs/manual/darcs.html
share/doc/darcs/manual/footnode.html
@ -17,6 +16,7 @@ share/doc/darcs/manual/images.aux
share/doc/darcs/manual/images.log
share/doc/darcs/manual/images.pl
share/doc/darcs/manual/images.tex
share/doc/darcs/manual/img1.png
share/doc/darcs/manual/img10.png
share/doc/darcs/manual/img11.png
share/doc/darcs/manual/img12.png
@ -27,13 +27,12 @@ share/doc/darcs/manual/img16.png
share/doc/darcs/manual/img17.png
share/doc/darcs/manual/img18.png
share/doc/darcs/manual/img19.png
share/doc/darcs/manual/img1.png
share/doc/darcs/manual/img2.png
share/doc/darcs/manual/img20.png
share/doc/darcs/manual/img21.png
share/doc/darcs/manual/img22.png
share/doc/darcs/manual/img23.png
share/doc/darcs/manual/img24.png
share/doc/darcs/manual/img2.png
share/doc/darcs/manual/img3.png
share/doc/darcs/manual/img4.png
share/doc/darcs/manual/img5.png
@ -44,11 +43,11 @@ share/doc/darcs/manual/img9.png
share/doc/darcs/manual/index.html
share/doc/darcs/manual/internals.pl
share/doc/darcs/manual/labels.pl
share/doc/darcs/manual/next_g.png
share/doc/darcs/manual/next.png
share/doc/darcs/manual/next_g.png
share/doc/darcs/manual/node1.html
share/doc/darcs/manual/node10.html
share/doc/darcs/manual/node11.html
share/doc/darcs/manual/node1.html
share/doc/darcs/manual/node2.html
share/doc/darcs/manual/node3.html
share/doc/darcs/manual/node4.html
@ -57,10 +56,10 @@ share/doc/darcs/manual/node6.html
share/doc/darcs/manual/node7.html
share/doc/darcs/manual/node8.html
share/doc/darcs/manual/node9.html
share/doc/darcs/manual/prev_g.png
share/doc/darcs/manual/prev.png
share/doc/darcs/manual/up_g.png
share/doc/darcs/manual/prev_g.png
share/doc/darcs/manual/up.png
share/doc/darcs/manual/up_g.png
@dirrm share/doc/darcs/manual
@dirrm share/doc/darcs/examples
@dirrm share/doc/darcs

View file

@ -1,5 +0,0 @@
Update to 1.0.1.
* make ghc work on Debian GNU/Linux
* after all: delete this file
-- rillig, 2004-06-02

View file

@ -1,6 +1,4 @@
$NetBSD: distinfo,v 1.4 2005/01/08 00:13:15 thomasklausner Exp $
$NetBSD: distinfo,v 1.5 2005/01/20 18:07:46 rillig Exp $
SHA1 (darcs-0.9.20.tar.gz) = fa9be6ed37bd5d52f9b8c9f26c7a8c57d52480c6
Size (darcs-0.9.20.tar.gz) = 347268 bytes
SHA1 (patch-aa) = e29ad97feffca0303902126574e32f548463f9ba
SHA1 (patch-ab) = 8498919740a38ba2e2c56d298d1bfb48b4c30b2a
SHA1 (darcs-1.0.1.tar.gz) = 9f0b346c1cbab8345b38e22a36393714c09c9da2
Size (darcs-1.0.1.tar.gz) = 732066 bytes

View file

@ -1,67 +0,0 @@
$NetBSD: patch-aa,v 1.3 2005/01/07 13:45:54 rillig Exp $
--- GNUmakefile.orig Fri May 14 12:40:18 2004
+++ GNUmakefile
@@ -37,7 +37,7 @@ CGI_FILES = Lcs.lhs SlurpDirectory.lhs \
DarcsUtils.lhs DarcsURL.lhs Printer.lhs \
PatchMatch.lhs PatchMatchData.lhs Match.lhs
-C_OBJS = compat.o fpstring.o zlib_helper.o
+C_OBJS = compat.o fpstring.o zlib_helper.o gethostent.o
ifeq ($(SYS), windows)
GHCFLAGS += -iwin32 -Iwin32
@@ -85,34 +85,34 @@ darcs_cgi.o darcs_cgi .depend: GHCFLAGS
config: configure autoconf.mk
installbin: all
- $(INSTALL) -d $(DESTDIR)/$(bindir)
- $(INSTALL) darcs $(DESTDIR)/$(bindir)
+ ${BSD_INSTALL_PROGRAM_DIR} $(DESTDIR)/$(bindir)
+ ${BSD_INSTALL_PROGRAM} darcs $(DESTDIR)/$(bindir)
- $(INSTALL) -d $(DESTDIR)/$(sysconfdir)/bash_completion.d/
- $(INSTALL) -m 0644 darcs_completion $(DESTDIR)/$(sysconfdir)/bash_completion.d/darcs
+ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)/$(sysconfdir)/bash_completion.d
+ ${BSD_INSTALL_DATA} darcs_completion $(DESTDIR)/$(sysconfdir)/bash_completion.d/darcs
- $(INSTALL) -d $(DESTDIR)/$(mandir)/man1
- $(INSTALL) -m 0644 darcs.1 $(DESTDIR)/$(mandir)/man1/
+ ${BSD_INSTALL_MAN_DIR} $(DESTDIR)/$(mandir)/man1
+ ${BSD_INSTALL_MAN} darcs.1 $(DESTDIR)/$(mandir)/man1/
installdocs: darcs.ps manual/index.html
- $(INSTALL) -d $(DESTDIR)/$(datadir)/doc/darcs/manual
- $(INSTALL) -m 0644 darcs.ps $(DESTDIR)/$(datadir)/doc/darcs
- $(INSTALL) -m 0644 manual/* $(DESTDIR)/$(datadir)/doc/darcs/manual
-
- $(INSTALL) -d $(DESTDIR)/$(datadir)/doc/darcs/examples
- $(INSTALL) -m 0644 zsh_completion_new $(DESTDIR)/$(datadir)/doc/darcs/examples/
- $(INSTALL) -m 0644 zsh_completion_old $(DESTDIR)/$(datadir)/doc/darcs/examples/
+ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)/$(datadir)/doc/darcs/manual
+ ${BSD_INSTALL_DATA} darcs.ps $(DESTDIR)/$(datadir)/doc/darcs
+ ${BSD_INSTALL_DATA} manual/* $(DESTDIR)/$(datadir)/doc/darcs/manual
+
+ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)/$(datadir)/doc/darcs/examples
+ ${BSD_INSTALL_DATA} zsh_completion_new $(DESTDIR)/$(datadir)/doc/darcs/examples/
+ ${BSD_INSTALL_DATA} zsh_completion_old $(DESTDIR)/$(datadir)/doc/darcs/examples/
installserver: darcs_cgi darcs-createrepo
- $(INSTALL) -d $(DESTDIR)/$(libexecdir)/cgi-bin
- $(INSTALL) darcs_cgi $(DESTDIR)/$(libexecdir)/cgi-bin/darcs
+ ${BSD_INSTALL_PROGRAM_DIR} $(DESTDIR)/$(libexecdir)/cgi-bin
+ ${BSD_INSTALL_PROGRAM} darcs_cgi $(DESTDIR)/$(libexecdir)/cgi-bin/darcs
- $(INSTALL) -d $(DESTDIR)/$(sbindir)
- $(INSTALL) darcs-createrepo $(DESTDIR)/$(sbindir)
+ ${BSD_INSTALL_PROGRAM_DIR} $(DESTDIR)/$(sbindir)
+ ${BSD_INSTALL_PROGRAM} darcs-createrepo $(DESTDIR)/$(sbindir)
- $(INSTALL) -d $(DESTDIR)/$(sysconfdir)/darcs
+ ${BSD_INSTALL_DATA_DIR} $(DESTDIR)/$(sysconfdir)/darcs
test -e $(DESTDIR)/$(sysconfdir)/darcs/cgi.conf || \
- $(INSTALL) -m 0644 cgi.conf $(DESTDIR)/$(sysconfdir)/darcs/cgi.conf
+ ${BSD_INSTALL_DATA} cgi.conf $(DESTDIR)/$(sysconfdir)/darcs/cgi.conf
dist: darcs
./darcs dist --dist-name darcs-`./darcs --version`

View file

@ -1,14 +0,0 @@
$NetBSD: patch-ab,v 1.1 2005/01/05 22:53:10 rillig Exp $
NetBSD does not have a gethostent(3) function, so let's simulate it.
Darcs does not use this function, so it should be pretty safe to return
an empty list of hosts.
--- gethostent.c.orig Tue Jan 4 22:39:27 2005
+++ gethostent.c
@@ -0,0 +1,5 @@
+#ifdef __NetBSD__
+void *gethostent(void) { return (void *) 0; }
+#else
+typedef int dummy;
+#endif