cvsgraph, Aleksander Piotrowski

This commit is contained in:
espie 2002-06-29 13:39:51 +00:00
parent 80017ea49d
commit a87d7ef0b9
6 changed files with 138 additions and 0 deletions

38
devel/cvsgraph/Makefile Normal file
View File

@ -0,0 +1,38 @@
# $OpenBSD: Makefile,v 1.1.1.1 2002/06/29 13:39:51 espie Exp $
COMMENT= graphic representation of cvs repository
DISTNAME= cvsgraph-1.2.0
CATEGORIES= devel
HOMEPAGE= http://www.akhphd.au.dk/~bertho/cvsgraph
MAINTAINER= Aleksander Piotrowski <aleksander.piotrowski@piestrak.waw.pl>
# GPL 2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}/release/
LIB_DEPENDS= gd.18::graphics/gd \
jpeg::graphics/jpeg \
png::graphics/png
ALL_TARGET=
CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS= --with-gd-inc=${PREFIX}/include --with-gd-lib=${PREFIX}/lib
CONFIGURE_ARGS+= --with-jpeg-inc=${PREFIX}/include --with-jpeg-lib=${PREFIX}/lib
CONFIGURE_ARGS+= --with-png-inc=${PREFIX}/include --with-png-lib=${PREFIX}/lib
CONFIGURE_ARGS+= --with-z-inc=/usr/include --with-z-lib=/usr/lib
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/cvsgraph ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cvsgraph
${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${PREFIX}/share/examples/cvsgraph
${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${PREFIX}/man/man5
${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${PREFIX}/man/man1
.include <bsd.port.mk>

3
devel/cvsgraph/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (cvsgraph-1.2.0.tar.gz) = ac1bc46e50df09106a210a878ee94452
RMD160 (cvsgraph-1.2.0.tar.gz) = 86b0fda4175dad90be25e2f5910341d76fd284ea
SHA1 (cvsgraph-1.2.0.tar.gz) = d953bb3db4c183e1c71a76c18acb9fbcdfdce342

View File

@ -0,0 +1,36 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1.1.1 2002/06/29 13:39:51 espie Exp $
#
# De-installation setup of viewcvs
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFDIR=${SYSCONFDIR}
# verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname { DEINSTALL }" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
DEINSTALL)
echo ""
echo "+---------------"
echo "| The existing $1 configuration file"
echo "| in $CONFDIR,"
echo "| has NOT been deleted. To do this: execute"
echo "| 'rm -f $CONFDIR/cvsgraph.conf' as root."
echo "+---------------"
echo ""
;;
*)
echo "Usage: `basename $0` distname DEINSTALL" >&2
exit 1
;;
esac
exit 0

4
devel/cvsgraph/pkg/DESCR Normal file
View File

@ -0,0 +1,4 @@
CvsGraph creates a graphic representation of the revisions and branches in a
cvs/rcs repository. CvsGraph is inspired on the 'graph'-option from WinCVS.
WWW: ${HOMEPAGE}

View File

@ -0,0 +1,51 @@
#!/bin/sh
# $OpenBSD: INSTALL,v 1.1.1.1 2002/06/29 13:39:51 espie Exp $
#
# Pre/post-installation setup of postfix
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFDIR=${SYSCONFDIR}
SAMPLECONF=${PREFIX}/share/examples/cvsgraph
# verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname POST-INSTALL" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
PRE-INSTALL)
;;
POST-INSTALL)
if [ -f $CONFDIR/cvsgraph.conf ]; then
echo ""
echo "+---------------"
echo "| The existing $1 configuration file $CONFDIR/cvsgraph.conf,"
echo "| have NOT been changed. You may want to compare it to the"
echo "| current sample file, $SAMPLECONF/cvsgraph.conf,"
echo "| and update your configuration as needed."
echo "+---------------"
echo ""
else
# Install config file.
install -o root -g wheel -m 644 $SAMPLECONF/cvsgraph.conf $CONFDIR
echo ""
echo "+---------------"
echo "| The $1 configuration file $CONFDIR/cvsgraph.conf,"
echo "| have been installed. Please view this file and change"
echo "| the configuration to meet your needs."
echo "+---------------"
echo ""
fi
;;
*)
echo "Usage: `basename $0` distname POST-INSTALL" >&2
exit 1
;;
esac
exit 0

6
devel/cvsgraph/pkg/PLIST Normal file
View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/06/29 13:39:51 espie Exp $
bin/cvsgraph
man/man1/cvsgraph.1
man/man5/cvsgraph.conf.5
share/examples/cvsgraph/cvsgraph.conf
@dirrm share/examples/cvsgraph