pkgsrc/devel/cvsgraph/Makefile

50 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.36 2011/01/13 13:37:21 wiz Exp $
#
DISTNAME= cvsgraph-1.6.1
PKGREVISION= 4
CATEGORIES= devel scm
MASTER_SITES= http://www.akhphd.au.dk/~bertho/cvsgraph/release/
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/
COMMENT= Graphically represents CVS/RCS branches and file revisions
PKG_DESTDIR_SUPPORT= user-destdir
2006-07-10 02:34:59 +02:00
USE_TOOLS+= bison lex
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
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
PLIST_SUBST+= PKGBASE=${PKGBASE:Q}
BUILD_TARGET= cvsgraph
SUBST_CLASSES+= man
SUBST_STAGE.man= pre-install
2007-01-07 09:35:47 +01:00
SUBST_FILES.man= cvsgraph.1
SUBST_SED.man= -e "s|/usr/local/etc|${PKG_SYSCONFDIR}|g"
SUBST_MESSAGE.man= Fixing man page paths.
2007-01-07 09:35:47 +01:00
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
do-install:
${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}
2004-04-11 01:38:47 +02:00
.include "../../graphics/gd/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"