diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2001-02-21 09:17:10 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2001-02-21 09:17:10 +0000 |
commit | a3163cc00434eb498502748e0bd1d00cff6475ff (patch) | |
tree | 4064a378d8fe4806740269e8eb402a7311ffee1c /devel/cvsgraph | |
parent | 112656f64fc3ec02f50f6e4b151c72498a017148 (diff) | |
download | ports-a3163cc00434eb498502748e0bd1d00cff6475ff.tar.gz ports-a3163cc00434eb498502748e0bd1d00cff6475ff.zip |
Notes
Diffstat (limited to 'devel/cvsgraph')
-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 |
6 files changed, 85 insertions, 0 deletions
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 |