summaryrefslogtreecommitdiff
path: root/devel/cvsgraph
diff options
context:
space:
mode:
authormjl <mjl>2001-12-09 14:25:00 +0000
committermjl <mjl>2001-12-09 14:25:00 +0000
commit12389f92b8b1e978006e9fd554892c9199a073e8 (patch)
tree21821f08f94032aaf19a99b4412075de298c9935 /devel/cvsgraph
parente17f5b2661950af65e2058744960527f4d55cd30 (diff)
downloadpkgsrc-12389f92b8b1e978006e9fd554892c9199a073e8.tar.gz
Add cvsgraph 1.1.3
CvsGraph is a utility to make a graphical representation of all revisions and branches of a file in a CVS/RCS repository. It has been inspired by the 'graph' option in WinCVS.
Diffstat (limited to 'devel/cvsgraph')
-rw-r--r--devel/cvsgraph/DESCR3
-rw-r--r--devel/cvsgraph/Makefile39
-rw-r--r--devel/cvsgraph/PLIST9
-rw-r--r--devel/cvsgraph/distinfo6
-rw-r--r--devel/cvsgraph/patches/patch-aa21
-rw-r--r--devel/cvsgraph/patches/patch-ab22
6 files changed, 100 insertions, 0 deletions
diff --git a/devel/cvsgraph/DESCR b/devel/cvsgraph/DESCR
new file mode 100644
index 00000000000..daadb8bace7
--- /dev/null
+++ b/devel/cvsgraph/DESCR
@@ -0,0 +1,3 @@
+CvsGraph is a utility to make a graphical representation of all
+revisions and branches of a file in a CVS/RCS repository. It has
+been inspired by the 'graph' option in WinCVS.
diff --git a/devel/cvsgraph/Makefile b/devel/cvsgraph/Makefile
new file mode 100644
index 00000000000..37cafd6d9ad
--- /dev/null
+++ b/devel/cvsgraph/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/12/09 14:25:00 mjl Exp $
+#
+
+DISTNAME= cvsgraph-1.1.3
+CATEGORIES= devel
+MASTER_SITES= http://www.akhphd.au.dk/~bertho/cvsgraph/release/
+
+MAINTAINER= schmonz+netbsd@schmonz.com
+HOMEPAGE= http://www.akhphd.au.dk/~bertho/cvsgraph/
+COMMENT= graphically represents CVS/RCS branches and file revisions
+
+USE_BUILDLINK_ONLY= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+
+EGDIR= ${PREFIX}/share/examples/${PKGBASE}
+CONF_FILES= ${EGDIR}/cvsgraph.conf ${PKG_SYSCONFDIR}/cvsgraph.conf
+PLIST_SUBST+= PKGBASE=${PKGBASE}
+FILES_SUBST= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
+
+ALL_TARGET= cvsgraph
+
+pre-install:
+ cd ${WRKSRC}; ${SED} ${FILES_SUBST_SED} cvsgraph.1 > cvsgraph.1.nb
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cvsgraph ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/cvsgraph.1.nb ${PREFIX}/man/man1/cvsgraph.1
+ ${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${PREFIX}/man/man5
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${EGDIR}
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cvsgraph
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/${PKGBASE}
+ ${INSTALL_DATA} ${WRKSRC}/LICENCE ${PREFIX}/share/doc/${PKGBASE}
+
+.include "../../graphics/gd/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.install.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/cvsgraph/PLIST b/devel/cvsgraph/PLIST
new file mode 100644
index 00000000000..dedd2c88180
--- /dev/null
+++ b/devel/cvsgraph/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/12/09 14:25:00 mjl Exp $
+bin/cvsgraph
+man/man1/cvsgraph.1
+man/man5/cvsgraph.conf.5
+share/examples/${PKGBASE}/cvsgraph.conf
+share/doc/${PKGBASE}/README
+share/doc/${PKGBASE}/LICENCE
+@dirrm share/examples/${PKGBASE}
+@dirrm share/doc/${PKGBASE}
diff --git a/devel/cvsgraph/distinfo b/devel/cvsgraph/distinfo
new file mode 100644
index 00000000000..d90befe8153
--- /dev/null
+++ b/devel/cvsgraph/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/12/09 14:25:00 mjl Exp $
+
+SHA1 (cvsgraph-1.1.3.tar.gz) = 2711bfb471b59ff42d1f2d63fbeb7d1951be3a51
+Size (cvsgraph-1.1.3.tar.gz) = 49007 bytes
+SHA1 (patch-aa) = 2b42222cdf0fe979268500860c5d701f706cb8bd
+SHA1 (patch-ab) = 93b8ea10cff5c73d439675e31e749a9394aab891
diff --git a/devel/cvsgraph/patches/patch-aa b/devel/cvsgraph/patches/patch-aa
new file mode 100644
index 00000000000..fe2266ca912
--- /dev/null
+++ b/devel/cvsgraph/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/12/09 14:25:00 mjl Exp $
+
+--- Makefile.in.orig Tue Nov 20 10:25:41 2001
++++ Makefile.in
+@@ -10,6 +10,7 @@
+
+ LIBS = @LIBS@
+ CFLAGS = @CFLAGS@ -DETCDIR=\"$(ETCDIR)\"
++LDFLAGS = @LDFLAGS@
+ YACCFLAGS= -t
+ LEXFLAGS= @LEXFLAGS@ -d #-b
+
+@@ -33,7 +34,7 @@
+ $(CC) $(CFLAGS) -c -o $*.o $<
+
+ $(TARGET): $(COBJS) $(GENOBJS)
+- $(CC) $(CFLAGS) -o $(TARGET) $(COBJS) $(GENOBJS) $(LIBS)
++ $(CC) $(CFLAGS) ${LDFLAGS} -o $(TARGET) $(COBJS) $(GENOBJS) $(LIBS)
+
+ cvsgraph.o: cvsgraph.c config.h cvsgraph.h utils.h readconf.h rcs.h
+ utils.o: utils.c utils.h readconf.h
diff --git a/devel/cvsgraph/patches/patch-ab b/devel/cvsgraph/patches/patch-ab
new file mode 100644
index 00000000000..a3898fbeb37
--- /dev/null
+++ b/devel/cvsgraph/patches/patch-ab
@@ -0,0 +1,22 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/12/09 14:25:00 mjl Exp $
+
+--- cvsgraph.1.orig Sun Dec 9 15:02:14 2001
++++ cvsgraph.1 Sun Dec 9 15:03:18 2001
+@@ -46,7 +46,7 @@
+ \fBCvsGraph\fR starts with reading a configuration file. If the \fB\-c\fR option
+ is given on the commandline, then it is read. Otherwise, \fBcvsgraph\fR first
+ looks for a configuration file in the current directory using \fI./cvsgraph.conf\fR
+-and, if not found, tries to open \fI/usr/local/etc/cvsgraph.conf\fR.
++and, if not found, tries to open \fI@PKG_SYSCONFDIR@/cvsgraph.conf\fR.
+ If still no configuration file is read an error message is issued and
+ \fBcvsgraph\fR terminates. The format of the configuration file is
+ described in \fBcvsgraph.conf(5)\fR. Configuration parameters entered on
+@@ -85,7 +85,7 @@
+ .SH "FILES"
+ .LP
+ .TP
+-\fI/usr/local/etc/cvsgraph.conf\fR
++\fI@PKG_SYSCONFDIR@/cvsgraph.conf\fR
+ Configuration file read for default layout parameters.
+ .SH "AUTHOR"
+ \fBCvsGraph\fR is written and maintained by B. Stultiens.