mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
new port of cvsgraph 1.0.0, a utility for charting cvs/rcs history
This commit is contained in:
parent
112656f64f
commit
a3163cc004
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38549
@ -66,6 +66,7 @@
|
||||
SUBDIR += cutils
|
||||
SUBDIR += cvs2cl
|
||||
SUBDIR += cvs2html
|
||||
SUBDIR += cvsgraph
|
||||
SUBDIR += cvsmapfs
|
||||
SUBDIR += cvsutils
|
||||
SUBDIR += cvsweb
|
||||
|
45
devel/cvsgraph/Makefile
Normal file
45
devel/cvsgraph/Makefile
Normal file
@ -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>
|
1
devel/cvsgraph/distinfo
Normal file
1
devel/cvsgraph/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (cvsgraph-1.0.0.tar.gz) = 4ace6080169cda17023107e46807bab7
|
13
devel/cvsgraph/files/patch-Makefile
Normal file
13
devel/cvsgraph/files/patch-Makefile
Normal file
@ -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
|
11
devel/cvsgraph/files/patch-cvsgraph.c
Normal file
11
devel/cvsgraph/files/patch-cvsgraph.c
Normal file
@ -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);
|
1
devel/cvsgraph/pkg-comment
Normal file
1
devel/cvsgraph/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Graph the life story of a file under CVS or RCS
|
14
devel/cvsgraph/pkg-descr
Normal file
14
devel/cvsgraph/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user