2011-01-13 14:36:05 +01:00
|
|
|
# $NetBSD: Makefile,v 1.36 2011/01/13 13:37:21 wiz Exp $
|
2001-12-09 15:25:00 +01:00
|
|
|
#
|
|
|
|
|
2007-04-09 11:34:57 +02:00
|
|
|
DISTNAME= cvsgraph-1.6.1
|
2011-01-13 14:36:05 +01:00
|
|
|
PKGREVISION= 4
|
2007-02-17 21:59:46 +01:00
|
|
|
CATEGORIES= devel scm
|
2001-12-09 15:25:00 +01:00
|
|
|
MASTER_SITES= http://www.akhphd.au.dk/~bertho/cvsgraph/release/
|
|
|
|
|
2010-03-20 22:32:40 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
Updated cvsgraph to 1.2.0 (provided by Amitai Schlair in pkg/15764)
* The entire tree can now be drawn upside-down. This is usefull if you have
many revisions in a trunk and want to see the latest first. The configuration
includes an option 'upside_down' with a boolean argument. You can override the
default value on the command-line with the '-u' switch, which will negate the
configured value. The imagemap generation also supports this, so you will still
be able to point and shoot on and between the revisions.
* You can now instruct CvsGraph to ommit all revisions that are not tagged.
This is highly usefull for very large trees/trunks to reduce the produced image
size. Note that the first and the last revision in a trunk are not hidden. A
new configuration option 'strip_untagged' with boolean argument enables this
feature. Alternatively, the command-line provides option '-s' wich negates the
value set in the configuration file. You can also strip the first revision if
it is untagged using '-S' and/or strip_first_rev.
* The boxes to identify the branches can now be drawn on both sides of the
trunk. Configuration option 'branch_dupbox' with boolean argument activates
this feature, which is usefull when the tree is drawn upside-down.The
command-line option '-b' negated the configured value.
* Configuration no longer requires a configuration file. All options can now be
entered on the commandline using '-O'. CvsGraph will still read the
configuration file if one is avaliable, but it is no longer an error if none is
found.
* If no file is entered on the command-line, then the input is taken from
standard input, like all decent *nix programs.
* ViewCVS (http://viewcvs.sourceforge.net) is now officially supporting the use
of CvsGraph in their code as of version 0.8. So, no bad hacks needed anymore to
get it working, and it always looks nice :-)
* Implemented string drawing using freetype interface of libgd. It looks very
nice, but it is significantly slower than gd's standard bitmap fonts. Extra
configuration parameters *_ttfont and *_ttsize set font and size. Option
use_ttf enables ttf rendering. Note that gd's bitmap fonts are used as a
fallback in case where the ttfont contains errors or is not found.
* The branch tag color and font can now be set separately using branch_tag_*
configuration options.
* It is now possible to draw the connector lines between the boxes thicker by
setting thick_lines to something else than 1. Maximum thickness is limited to
lines of 11 pixels wide.
* Transparent backgrounds can now be generated by setting transparent_bg option
to true in the configuration.
2002-03-01 13:24:43 +01:00
|
|
|
HOMEPAGE= http://www.akhphd.au.dk/~bertho/cvsgraph/
|
2003-07-21 18:35:12 +02:00
|
|
|
COMMENT= Graphically represents CVS/RCS branches and file revisions
|
2001-12-09 15:25:00 +01:00
|
|
|
|
2008-03-03 18:45:33 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2006-07-10 02:34:59 +02:00
|
|
|
USE_TOOLS+= bison lex
|
2001-12-09 15:25:00 +01:00
|
|
|
GNU_CONFIGURE= YES
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
2001-12-09 15:25:00 +01:00
|
|
|
|
Updated cvsgraph to 1.2.0 (provided by Amitai Schlair in pkg/15764)
* The entire tree can now be drawn upside-down. This is usefull if you have
many revisions in a trunk and want to see the latest first. The configuration
includes an option 'upside_down' with a boolean argument. You can override the
default value on the command-line with the '-u' switch, which will negate the
configured value. The imagemap generation also supports this, so you will still
be able to point and shoot on and between the revisions.
* You can now instruct CvsGraph to ommit all revisions that are not tagged.
This is highly usefull for very large trees/trunks to reduce the produced image
size. Note that the first and the last revision in a trunk are not hidden. A
new configuration option 'strip_untagged' with boolean argument enables this
feature. Alternatively, the command-line provides option '-s' wich negates the
value set in the configuration file. You can also strip the first revision if
it is untagged using '-S' and/or strip_first_rev.
* The boxes to identify the branches can now be drawn on both sides of the
trunk. Configuration option 'branch_dupbox' with boolean argument activates
this feature, which is usefull when the tree is drawn upside-down.The
command-line option '-b' negated the configured value.
* Configuration no longer requires a configuration file. All options can now be
entered on the commandline using '-O'. CvsGraph will still read the
configuration file if one is avaliable, but it is no longer an error if none is
found.
* If no file is entered on the command-line, then the input is taken from
standard input, like all decent *nix programs.
* ViewCVS (http://viewcvs.sourceforge.net) is now officially supporting the use
of CvsGraph in their code as of version 0.8. So, no bad hacks needed anymore to
get it working, and it always looks nice :-)
* Implemented string drawing using freetype interface of libgd. It looks very
nice, but it is significantly slower than gd's standard bitmap fonts. Extra
configuration parameters *_ttfont and *_ttsize set font and size. Option
use_ttf enables ttf rendering. Note that gd's bitmap fonts are used as a
fallback in case where the ttfont contains errors or is not found.
* The branch tag color and font can now be set separately using branch_tag_*
configuration options.
* It is now possible to draw the connector lines between the boxes thicker by
setting thick_lines to something else than 1. Maximum thickness is limited to
lines of 11 pixels wide.
* Transparent backgrounds can now be generated by setting transparent_bg option
to true in the configuration.
2002-03-01 13:24:43 +01:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
|
|
|
|
CONF_FILES= ${EGDIR}/cvsgraph.conf ${PKG_SYSCONFDIR}/cvsgraph.conf
|
2005-12-05 21:49:47 +01:00
|
|
|
PLIST_SUBST+= PKGBASE=${PKGBASE:Q}
|
2001-12-09 15:25:00 +01:00
|
|
|
|
2004-12-03 16:14:50 +01:00
|
|
|
BUILD_TARGET= cvsgraph
|
2001-12-09 15:25:00 +01:00
|
|
|
|
2005-12-05 21:49:47 +01:00
|
|
|
SUBST_CLASSES+= man
|
2004-08-10 17:10:50 +02:00
|
|
|
SUBST_STAGE.man= pre-install
|
2007-01-07 09:35:47 +01:00
|
|
|
SUBST_FILES.man= cvsgraph.1
|
2004-12-29 12:37:39 +01:00
|
|
|
SUBST_SED.man= -e "s|/usr/local/etc|${PKG_SYSCONFDIR}|g"
|
2006-04-22 11:22:05 +02:00
|
|
|
SUBST_MESSAGE.man= Fixing man page paths.
|
2001-12-09 15:25:00 +01:00
|
|
|
|
2007-01-07 09:35:47 +01:00
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
|
2005-06-16 08:57:37 +02:00
|
|
|
|
2001-12-09 15:25:00 +01:00
|
|
|
do-install:
|
2008-03-03 18:45:33 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/cvsgraph ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 \
|
|
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man5
|
|
|
|
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/LICENSE ${DESTDIR}${DOCDIR}
|
|
|
|
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${DESTDIR}${EGDIR}
|
2001-12-09 15:25:00 +01:00
|
|
|
|
2004-04-11 01:38:47 +02:00
|
|
|
.include "../../graphics/gd/buildlink3.mk"
|
2001-12-09 15:25:00 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|