diff options
author | drochner <drochner@pkgsrc.org> | 2005-05-31 16:00:58 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2005-05-31 16:00:58 +0000 |
commit | 047dc739107d8a99fdfe81346b1af0b458666452 (patch) | |
tree | f0ed0591f148f1f92b92a987b064d59937ee98cd /devel | |
parent | 04103146dbbcc2af88738850c059f9e22dd99416 (diff) | |
download | pkgsrc-047dc739107d8a99fdfe81346b1af0b458666452.tar.gz |
import monotone-viz-0.9, a tool to view monotone version trees
Diffstat (limited to 'devel')
-rw-r--r-- | devel/monotone-viz/DESCR | 2 | ||||
-rw-r--r-- | devel/monotone-viz/Makefile | 25 | ||||
-rw-r--r-- | devel/monotone-viz/PLIST | 2 | ||||
-rw-r--r-- | devel/monotone-viz/distinfo | 7 | ||||
-rw-r--r-- | devel/monotone-viz/patches/patch-aa | 43 | ||||
-rw-r--r-- | devel/monotone-viz/patches/patch-ab | 28 |
6 files changed, 107 insertions, 0 deletions
diff --git a/devel/monotone-viz/DESCR b/devel/monotone-viz/DESCR new file mode 100644 index 00000000000..78dce3c4156 --- /dev/null +++ b/devel/monotone-viz/DESCR @@ -0,0 +1,2 @@ +This is a small GNOME application to visualize monotone ancestry +graphs. diff --git a/devel/monotone-viz/Makefile b/devel/monotone-viz/Makefile new file mode 100644 index 00000000000..404d57e63a1 --- /dev/null +++ b/devel/monotone-viz/Makefile @@ -0,0 +1,25 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/05/31 16:00:58 drochner Exp $ +# + +DISTNAME= monotone-viz-0.9 +CATEGORIES= devel +MASTER_SITES= http://oandrieu.nerim.net/monotone-viz/ + +MAINTAINER= tech-pkg@NetBSD.org +HOMEPAGE= http://oandrieu.nerim.net/monotone-viz/ +COMMENT= Visualize monotone ancestry graphs + +GNU_CONFIGURE= yes +USE_TOOLS+= gmake +BUILD_TARGET= monotone-viz +BUILD_ENV+= BUILDLINK_DIR=${BUILDLINK_DIR} + +do-install: + ${CP} ${WRKSRC}/monotone-viz ${PREFIX}/bin + +.include "../../lang/ocaml/buildlink3.mk" +.include "../../x11/lablgtk2/buildlink3.mk" +.include "../../x11/gtk2/buildlink3.mk" +.include "../../graphics/libgnomecanvas/buildlink3.mk" +.include "../../databases/sqlite3/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/monotone-viz/PLIST b/devel/monotone-viz/PLIST new file mode 100644 index 00000000000..a54e51d56e5 --- /dev/null +++ b/devel/monotone-viz/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/05/31 16:00:58 drochner Exp $ +bin/monotone-viz diff --git a/devel/monotone-viz/distinfo b/devel/monotone-viz/distinfo new file mode 100644 index 00000000000..417078aebbe --- /dev/null +++ b/devel/monotone-viz/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/05/31 16:00:58 drochner Exp $ + +SHA1 (monotone-viz-0.9.tar.gz) = 1b765225beb78b89e81a020351b4c5ebd183b28b +RMD160 (monotone-viz-0.9.tar.gz) = a3eb564adf729531a5fbbe28cf561ddfe1900f8a +Size (monotone-viz-0.9.tar.gz) = 89640 bytes +SHA1 (patch-aa) = b0c1ad8e25596a8e5daae8fc5839c85c44bd70e5 +SHA1 (patch-ab) = c291dabc3837e07fcb8ebb98d16b8b7f0c6c941a diff --git a/devel/monotone-viz/patches/patch-aa b/devel/monotone-viz/patches/patch-aa new file mode 100644 index 00000000000..2500fc581bb --- /dev/null +++ b/devel/monotone-viz/patches/patch-aa @@ -0,0 +1,43 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/05/31 16:00:58 drochner Exp $ + +--- configure.orig 2005-05-30 16:35:17.000000000 +0200 ++++ configure +@@ -1870,38 +1870,6 @@ else + fi + + +-# Check the sqlite3 sources +- +-# Check whether --with-monotone-dir or --without-monotone-dir was given. +-if test "${with_monotone_dir+set}" = set; then +- withval="$with_monotone_dir" +- MONOTONE_DIR=$withval +-else +- MONOTONE_DIR=monotone +-fi; +-echo "$as_me:$LINENO: checking sqlite sources" >&5 +-echo $ECHO_N "checking sqlite sources... $ECHO_C" >&6 +-if test -d "$MONOTONE_DIR" -a -r "$MONOTONE_DIR/sqlite/lib3rdparty_a-main.o" ; then +- echo "$as_me:$LINENO: result: found in $MONOTONE_DIR/sqlite" >&5 +-echo "${ECHO_T}found in $MONOTONE_DIR/sqlite" >&6 +-else +- { { echo "$as_me:$LINENO: error: +- +-Could not find compiled sqlite sources. Monotone-viz needs a compiled +-monotone tree for the sqlite library. Create a link named \`monotone' +-or specify the location to configure using the \`--with-monotone-dir' +-option." >&5 +-echo "$as_me: error: +- +-Could not find compiled sqlite sources. Monotone-viz needs a compiled +-monotone tree for the sqlite library. Create a link named \`monotone' +-or specify the location to configure using the \`--with-monotone-dir' +-option." >&2;} +- { (exit 1); exit 1; }; } +-fi +-if test "${MONOTONE_DIR:0:1}" != "/" ; then +- MONOTONE_DIR=$PWD/$MONOTONE_DIR +-fi + + + ac_config_files="$ac_config_files config.make" diff --git a/devel/monotone-viz/patches/patch-ab b/devel/monotone-viz/patches/patch-ab new file mode 100644 index 00000000000..30576bec26c --- /dev/null +++ b/devel/monotone-viz/patches/patch-ab @@ -0,0 +1,28 @@ +$NetBSD: patch-ab,v 1.1.1.1 2005/05/31 16:00:58 drochner Exp $ + +--- Makefile.orig 2005-04-20 21:34:48.000000000 +0200 ++++ Makefile +@@ -7,7 +7,7 @@ EXTLIB := extlib-1.3 + VPATH = mlsqlite $(OCAMLNET) $(EXTLIB) glib crypto + + MLINCDIRS = -I $(OCAMLNET) -I mlsqlite -I $(EXTLIB) -I $(LABLGTK_DIR) -I glib -I crypto +-CINCDIRS = -I $(MONOTONE_DIR)/sqlite -I $(LABLGTK_DIR) -ccopt "$(GTK_CFLAGS) $(CRYPTO_CFLAGS)" ++CINCDIRS = -I $(LABLGTK_DIR) -ccopt "$(GTK_CFLAGS) $(CRYPTO_CFLAGS)" + GTK_CFLAGS := $(shell pkg-config gtk+-2.0 --cflags) + + +@@ -54,12 +54,12 @@ monotone-viz : $(OBJX) lib3rdparty.a + monotone-viz : MLLIBS = str.cmxa lablgtk.cmxa gtkInit.cmx lablgnomecanvas.cmxa + else + monotone-viz : $(OBJ) lib3rdparty.a +- $(OCAMLC) -custom -o $@ -I . -I $(LABLGTK_DIR) $(MLLIBS) $^ $(CRYPTO_LIB) ++ $(OCAMLC) -custom -o $@ -I . -I $(LABLGTK_DIR) $(MLLIBS) $^ ${BUILDLINK_DIR}/lib/ocaml/libcamlrun.a $(CRYPTO_LIB) ${BUILDLINK_DIR}/lib/libsqlite3.a + monotone-viz : MLLIBS = str.cma lablgtk.cma gtkInit.cmo lablgnomecanvas.cma + endif + + lib3rdparty.a : mlsqlite/ocaml-sqlite3.o glib/ocaml-gspawn.o glib/ocaml-giochannel.o crypto/ocaml-openssl.o +- ar crs lib3rdparty.a $(MONOTONE_DIR)/sqlite/lib3rdparty_a-*.o $^ ++ ar crs lib3rdparty.a $^ + + glib/ocaml-gspawn.o : gspawn_tags.c gspawn_tags.h + glib/ocaml-giochannel.o : giochannel_tags.c giochannel_tags.h |