diff options
author | trevor <trevor@FreeBSD.org> | 2001-02-21 17:17:10 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2001-02-21 17:17:10 +0800 |
commit | 4caf8128b7c6d7f11c8501306dd5593c1afe835b (patch) | |
tree | 55c0f31db2f2a58dbe863bfcd5fe79234e90e4f9 | |
parent | 643ba7c15ffb88498f6b8c165c7cfd89f0651133 (diff) | |
download | freebsd-ports-gnome-4caf8128b7c6d7f11c8501306dd5593c1afe835b.tar.gz freebsd-ports-gnome-4caf8128b7c6d7f11c8501306dd5593c1afe835b.tar.zst freebsd-ports-gnome-4caf8128b7c6d7f11c8501306dd5593c1afe835b.zip |
new port of cvsgraph 1.0.0, a utility for charting cvs/rcs history
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/cvsgraph/Makefile | 45 | ||||
-rw-r--r-- | devel/cvsgraph/distinfo | 1 | ||||
-rw-r--r-- | devel/cvsgraph/files/patch-Makefile | 13 | ||||
-rw-r--r-- | devel/cvsgraph/files/patch-cvsgraph.c | 11 | ||||
-rw-r--r-- | devel/cvsgraph/pkg-comment | 1 | ||||
-rw-r--r-- | devel/cvsgraph/pkg-descr | 14 |
7 files changed, 86 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index ecdd2826a06f..20cc5a0063f1 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -66,6 +66,7 @@ SUBDIR += cutils SUBDIR += cvs2cl SUBDIR += cvs2html + SUBDIR += cvsgraph SUBDIR += cvsmapfs SUBDIR += cvsutils SUBDIR += cvsweb diff --git a/devel/cvsgraph/Makefile b/devel/cvsgraph/Makefile new file mode 100644 index 000000000000..1798b239670e --- /dev/null +++ b/devel/cvsgraph/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: cvsgraph +# Date created: 2001-02-21 +# Whom: trevor +# +# $FreeBSD$ +# + +PORTNAME= cvsgraph +PORTVERSION= 1.0.0 +CATEGORIES= devel graphics +MASTER_SITES= http://www.akhphd.au.dk/~bertho/cvsgraph/ + +MAINTAINER= trevor@FreeBSD.org + +BUILD_DEPENDS= bison:${PORTSDIR}/devel/bison +LIB_DEPENDS= gd.1:${PORTSDIR}/graphics/gd \ + jpeg.9:${PORTSDIR}/graphics/jpeg \ + png.4:${PORTSDIR}/graphics/png + +ALL_TARGET= cvsgraph +DOCDIR= share/doc/${PORTNAME} +DOCS= LICENCE README +PLIST= ${WRKDIR}/pkg-plist + +pre-install: + ${ECHO} bin/cvsgraph > ${PLIST} + ${ECHO} etc/cvsgraph.conf >> ${PLIST} +.if !defined(NOPORTDOCS) +.for i in ${DOCS} + ${ECHO} ${DOCDIR}/${i} >> ${PLIST} +.endfor + ${ECHO} @dirrm ${DOCDIR} >> ${PLIST} +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${PREFIX}/etc +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/${DOCDIR} +.for i in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR} +.endfor +.endif + +.include <bsd.port.mk> diff --git a/devel/cvsgraph/distinfo b/devel/cvsgraph/distinfo new file mode 100644 index 000000000000..fcd1d85fb370 --- /dev/null +++ b/devel/cvsgraph/distinfo @@ -0,0 +1 @@ +MD5 (cvsgraph-1.0.0.tar.gz) = 4ace6080169cda17023107e46807bab7 diff --git a/devel/cvsgraph/files/patch-Makefile b/devel/cvsgraph/files/patch-Makefile new file mode 100644 index 000000000000..5829d737e56e --- /dev/null +++ b/devel/cvsgraph/files/patch-Makefile @@ -0,0 +1,13 @@ +--- Makefile.orig Mon Feb 19 11:31:12 2001 ++++ Makefile Wed Feb 21 00:01:17 2001 +@@ -9,8 +9,8 @@ + + # Be carefull editing these settings + DEBUG = -g +-LIBS = -lgd +-CFLAGS = -Wall $(DEBUG) -O2 -DETCDIR=\"$(ETCDIR)\" ++LIBS = -L${LOCALBASE}/lib -lgd ++CFLAGS += -I${LOCALBASE}/include -I${LOCALBASE}/include/gd -DETCDIR=\"$(ETCDIR)\" + + # Everything below here should be alright + TARGET = cvsgraph diff --git a/devel/cvsgraph/files/patch-cvsgraph.c b/devel/cvsgraph/files/patch-cvsgraph.c new file mode 100644 index 000000000000..02145a6cd091 --- /dev/null +++ b/devel/cvsgraph/files/patch-cvsgraph.c @@ -0,0 +1,11 @@ +--- cvsgraph.c.orig Mon Feb 19 15:30:29 2001 ++++ cvsgraph.c Wed Feb 21 00:03:56 2001 +@@ -1229,7 +1229,7 @@ + } + else + fp = stdout; +- gdImageGif(im, fp); ++ gdImagePng(im, fp); + if(outfile) + fclose(fp); + gdImageDestroy(im); diff --git a/devel/cvsgraph/pkg-comment b/devel/cvsgraph/pkg-comment new file mode 100644 index 000000000000..6ea846d162b7 --- /dev/null +++ b/devel/cvsgraph/pkg-comment @@ -0,0 +1 @@ +Graph the life story of a file under CVS or RCS diff --git a/devel/cvsgraph/pkg-descr b/devel/cvsgraph/pkg-descr new file mode 100644 index 000000000000..8eb84e1fd7a6 --- /dev/null +++ b/devel/cvsgraph/pkg-descr @@ -0,0 +1,14 @@ +This program generates a graph (in PNG format) showing the revisions, +tags, and branching of a file in a CVS or RCS repository. Example: + +cvsgraph -r /home/ncvs -m ports/devel/cvsgraph -o test.png pkg-descr,v + +It can also be used with cvsweb. + +The sorting is buggy: revision 1.2 appears between 1.19 and 1.20, +for instance. + +WWW: http://www.akhphd.au.dk/~bertho/cvsgraph/ + +Trevor Johnson +trevor@FreeBSD.org |