Index: head/devel/cvsgraph/Makefile =================================================================== --- head/devel/cvsgraph/Makefile (revision 403302) +++ head/devel/cvsgraph/Makefile (revision 403303) @@ -1,51 +1,58 @@ # Created by: trevor # $FreeBSD$ PORTNAME= cvsgraph PORTVERSION= 1.7.0 PORTREVISION= 6 CATEGORIES= devel graphics MASTER_SITES= http://www.akhphd.au.dk/~bertho/cvsgraph/release/ MAINTAINER= ports@FreeBSD.org COMMENT= Graph the life story of a file under CVS or RCS -OPTIONS_DEFINE= DOCS EXAMPLES +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -DOCDIR= share/doc/${PORTNAME} -DOCS= ChangeLog README -EXAMPLES= cvsgraphwrapper.php mkimage.php -MORE_EXAMPLES= README.Automatic_documentation checkoutlist commit_action.sh \ - commitinfo cvswrappers tag_action.sh taginfo SUB_FILES= pkg-message GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include \ --with-gd-lib=${LOCALBASE}/lib CFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${PREFIX}/lib" -REINPLACE_ARGS= -i "" +DOCS= ChangeLog README +EXAMPLES= cvsgraphwrapper.php mkimage.php +MORE_EXAMPLES= README.Automatic_documentation checkoutlist commit_action.sh \ + commitinfo cvswrappers tag_action.sh taginfo + +OPTIONS_DEFINE= DOCS EXAMPLES + pre-patch: @${REINPLACE_CMD} -e "s:/home/bertho/tmp/cvstest:/home/ncvs:g" ${WRKSRC}/cvsgraph.conf do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${STAGEDIR}${PREFIX}/etc/cvsgraph.conf.sample ${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5 + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/automatic_documentation .for i in ${DOCS} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor + +do-install-EXAMPLES-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/automatic_documentation .for i in ${EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${STAGEDIR}${EXAMPLESDIR} .endfor .for i in ${MORE_EXAMPLES} - ${INSTALL_DATA} ${WRKSRC}/contrib/automatic_documentation/${i} ${STAGEDIR}${EXAMPLESDIR}/automatic_documentation + ${INSTALL_DATA} ${WRKSRC}/contrib/automatic_documentation/${i} \ + ${STAGEDIR}${EXAMPLESDIR}/automatic_documentation .endfor .include Index: head/devel/cvsgraph/files/patch-cvsgraph.c =================================================================== --- head/devel/cvsgraph/files/patch-cvsgraph.c (revision 403302) +++ head/devel/cvsgraph/files/patch-cvsgraph.c (revision 403303) @@ -1,13 +1,13 @@ ---- cvsgraph.c.orig Wed Jun 15 05:36:59 2005 -+++ cvsgraph.c Wed Sep 21 11:06:22 2005 -@@ -191,8 +191,8 @@ +--- cvsgraph.c.orig 2008-05-21 12:21:32 UTC ++++ cvsgraph.c +@@ -190,8 +190,8 @@ static void dump_dtext(char *p, dtext_t { printf("%sdtext.rev : ", p); dump_rev("", d->rev); - printf("%sdtext.log : %d bytes\n", p, d->log ? strlen(d->log) : -1); - printf("%sdtext.text : %d bytes\n", p, d->text ? strlen(d->text) : -1); + printf("%sdtext.log : %ld bytes\n", p, d->log ? (long) strlen(d->log) : -1); + printf("%sdtext.text : %ld bytes\n", p, d->text ? (long) strlen(d->text) : -1); printf("\n"); }