ports/86389: Update port: devel/cvsgraph: Update to 1.5.2 and remove "ONLY_FOR_ARCHS=i386".

UEMURA Tetsuya t_uemura at macome.co.jp
Wed Sep 21 03:00:23 UTC 2005


>Number:         86389
>Category:       ports
>Synopsis:       Update port: devel/cvsgraph: Update to 1.5.2 and remove "ONLY_FOR_ARCHS=i386".
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 21 03:00:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     UEMURA Tetsuya
>Release:        5.4-STABLE
>Organization:
MACOME Corp.
>Environment:
FreeBSD gx28.macome.co.jp 5.4-STABLE FreeBSD 5.4-STABLE #0: Tue Sep 20 12:11:48 JST 2005     uemura at gx28.macome.co.jp:/usr/obj/usr/src/sys/GX28  amd64
>Description:
      While devel/cvsgraph-1.4.0 can't be compiled on archs other than i386, 1.5.2 is fairly fine on both i386 and amd64 (and maybe other archs). I think it's a good idea to update to 1.5.2 and removing "ONLY_FOR_ARCHS" knob.
>How-To-Repeat:

>Fix:
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	devel/cvsgraph
#	devel/cvsgraph/Makefile
#	devel/cvsgraph/distinfo
#	devel/cvsgraph/pkg-descr
#	devel/cvsgraph/files
#	devel/cvsgraph/files/patch-aa
#
echo c - devel/cvsgraph
mkdir -p devel/cvsgraph > /dev/null 2>&1
echo x - devel/cvsgraph/Makefile
sed 's/^X//' >devel/cvsgraph/Makefile << 'END-of-devel/cvsgraph/Makefile'
X# New ports collection makefile for:	cvsgraph
X# Date created:				2001-02-21
X# Whom:					trevor
X#
X# $FreeBSD: ports/devel/cvsgraph/Makefile,v 1.21 2004/04/12 03:56:49 kris Exp $
X#
X
XPORTNAME=	cvsgraph
XPORTVERSION=	1.5.2
XPORTREVISION=	0
XCATEGORIES=	devel graphics
XMASTER_SITES=	http://www.akhphd.au.dk/~bertho/cvsgraph/release/
X
XMAINTAINER=	trevor at FreeBSD.org
XCOMMENT=	Graph the life story of a file under CVS or RCS
X
XLIB_DEPENDS=	gd.4:${PORTSDIR}/graphics/gd
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
X
XMAN1=		cvsgraph.1
XMAN5=		cvsgraph.conf.5
X
XDOCDIR=		share/doc/${PORTNAME}
XDOCS=		ChangeLog LICENSE README
XEXAMPLES=	cvsgraphwrapper.php3 mkimage.php3
XMORE_EXAMPLES=	README.Automatic_documentation checkoutlist commit_action.sh \
X		commitinfo cvswrappers tag_action.sh taginfo
XPLIST=		${WRKDIR}/pkg-plist
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS=	--with-gd-inc=${LOCALBASE}/include \
X		--with-gd-lib=${LOCALBASE}/lib
X
Xpre-patch:
X	${MV} ${WRKSRC}/cvsgraph.conf ${WRKSRC}/cvsgraph.conf.orig
X	${SED} -e "s:/home/bertho/tmp/cvstest:/home/ncvs:g" \
X		< ${WRKSRC}/cvsgraph.conf.orig > ${WRKSRC}/cvsgraph.conf
X
Xpre-install:
X	${ECHO_CMD} bin/cvsgraph > ${PLIST}
X	${ECHO_CMD} etc/cvsgraph.conf >> ${PLIST}
X.if !defined(NOPORTDOCS)
X.for i in ${DOCS}
X	${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST}
X.endfor
X.for i in ${MORE_EXAMPLES}
X	${ECHO_CMD} share/examples/${PORTNAME}/automatic_documentation/${i} >> ${PLIST}
X.endfor
X.for i in ${EXAMPLES}
X	${ECHO_CMD} share/examples/${PORTNAME}/${i} >> ${PLIST}
X.endfor
X	${ECHO_CMD} @dirrm share/examples/${PORTNAME}/automatic_documentation >> ${PLIST}
X	${ECHO_CMD} @dirrm share/examples/${PORTNAME} >> ${PLIST}
X	${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
X.endif
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
X	${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${PREFIX}/etc
X	${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${PREFIX}/man/man1
X	${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${PREFIX}/man/man5
X.if !defined(NOPORTDOCS)
X	${MKDIR} ${PREFIX}/${DOCDIR}
X	${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
X	${MKDIR} ${PREFIX}/share/examples/${PORTNAME}/automatic_documentation
X.for i in ${DOCS}
X	${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}
X.endfor
X.for i in ${EXAMPLES}
X	${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${PREFIX}/share/examples/${PORTNAME}
X.endfor
X.for i in ${MORE_EXAMPLES}
X	${INSTALL_DATA} ${WRKSRC}/contrib/automatic_documentation/${i} ${PREFIX}/share/examples/${PORTNAME}/automatic_documentation
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-devel/cvsgraph/Makefile
echo x - devel/cvsgraph/distinfo
sed 's/^X//' >devel/cvsgraph/distinfo << 'END-of-devel/cvsgraph/distinfo'
XMD5 (cvsgraph-1.5.2.tar.gz) = 095a779d7977ae0c12f456ed119af6f6
XSIZE (cvsgraph-1.5.2.tar.gz) = 106382
END-of-devel/cvsgraph/distinfo
echo x - devel/cvsgraph/pkg-descr
sed 's/^X//' >devel/cvsgraph/pkg-descr << 'END-of-devel/cvsgraph/pkg-descr'
XThis program generates a graph (in PNG format) showing the revisions,
Xtags, and branching of a file in a CVS or RCS repository.  Example:
X
Xcvsgraph -r /home/ncvs -m ports/devel/cvsgraph -o test.png pkg-descr,v
X
XIt can also be used with cvsweb.  A patch to cvsweb is available
Xthrough the cvsgraph home page.
X
XWWW:  http://www.akhphd.au.dk/~bertho/cvsgraph/
X
XTrevor Johnson
END-of-devel/cvsgraph/pkg-descr
echo c - devel/cvsgraph/files
mkdir -p devel/cvsgraph/files > /dev/null 2>&1
echo x - devel/cvsgraph/files/patch-aa
sed 's/^X//' >devel/cvsgraph/files/patch-aa << 'END-of-devel/cvsgraph/files/patch-aa'
X--- cvsgraph.c.orig	Wed Jun 15 05:36:59 2005
X+++ cvsgraph.c	Wed Sep 21 11:06:22 2005
X@@ -191,8 +191,8 @@
X {
X 	printf("%sdtext.rev  : ", p);
X 	dump_rev("", d->rev);
X-	printf("%sdtext.log  : %d bytes\n", p, d->log ? strlen(d->log) : -1);
X-	printf("%sdtext.text : %d bytes\n", p, d->text ? strlen(d->text) : -1);
X+	printf("%sdtext.log  : %ld bytes\n", p, d->log ? (long) strlen(d->log) : -1);
X+	printf("%sdtext.text : %ld bytes\n", p, d->text ? (long) strlen(d->text) : -1);
X 	printf("\n");
X }
X 
END-of-devel/cvsgraph/files/patch-aa
exit
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list