Update to 1.6.0.

- Suffix default configuration file with .sample
- Give maintainership to submitter

PR:		ports/93221
Submitted by:	Serge Gagnon <serge.gagnon@b2b2c.ca>
This commit is contained in:
Sam Lawrance 2006-02-12 03:53:21 +00:00
parent f93c194072
commit d2e7754c77
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155814
3 changed files with 17 additions and 11 deletions

View file

@ -6,12 +6,11 @@
# #
PORTNAME= cvsgraph PORTNAME= cvsgraph
PORTVERSION= 1.5.2 PORTVERSION= 1.6.0
PORTREVISION= 0
CATEGORIES= devel graphics CATEGORIES= devel graphics
MASTER_SITES= http://www.akhphd.au.dk/~bertho/cvsgraph/release/ MASTER_SITES= http://www.akhphd.au.dk/~bertho/cvsgraph/release/
MAINTAINER= ports@FreeBSD.org MAINTAINER= serge.gagnon@b2b2c.ca
COMMENT= Graph the life story of a file under CVS or RCS COMMENT= Graph the life story of a file under CVS or RCS
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
@ -27,18 +26,18 @@ EXAMPLES= cvsgraphwrapper.php3 mkimage.php3
MORE_EXAMPLES= README.Automatic_documentation checkoutlist commit_action.sh \ MORE_EXAMPLES= README.Automatic_documentation checkoutlist commit_action.sh \
commitinfo cvswrappers tag_action.sh taginfo commitinfo cvswrappers tag_action.sh taginfo
PLIST= ${WRKDIR}/pkg-plist PLIST= ${WRKDIR}/pkg-plist
SUB_FILES= pkg-message
GNU_CONFIGURE= yes GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include \ CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include \
--with-gd-lib=${LOCALBASE}/lib --with-gd-lib=${LOCALBASE}/lib
REINPLACE_ARGS= -i ""
pre-patch: pre-patch:
${MV} ${WRKSRC}/cvsgraph.conf ${WRKSRC}/cvsgraph.conf.orig @${REINPLACE_CMD} -e "s:/home/bertho/tmp/cvstest:/home/ncvs:g" ${WRKSRC}/cvsgraph.conf
${SED} -e "s:/home/bertho/tmp/cvstest:/home/ncvs:g" \
< ${WRKSRC}/cvsgraph.conf.orig > ${WRKSRC}/cvsgraph.conf
pre-install: pre-install:
${ECHO_CMD} bin/cvsgraph > ${PLIST} ${ECHO_CMD} bin/cvsgraph > ${PLIST}
${ECHO_CMD} etc/cvsgraph.conf >> ${PLIST} ${ECHO_CMD} etc/cvsgraph.conf.sample >> ${PLIST}
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
.for i in ${DOCS} .for i in ${DOCS}
${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST} ${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST}
@ -56,7 +55,7 @@ pre-install:
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${PREFIX}/etc ${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${PREFIX}/etc/cvsgraph.conf.sample
${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${PREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${PREFIX}/man/man5 ${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${PREFIX}/man/man5
.if !defined(NOPORTDOCS) .if !defined(NOPORTDOCS)
@ -74,4 +73,8 @@ do-install:
.endfor .endfor
.endif .endif
post-install:
@${ECHO_CMD} " "
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk> .include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
MD5 (cvsgraph-1.5.2.tar.gz) = 095a779d7977ae0c12f456ed119af6f6 MD5 (cvsgraph-1.6.0.tar.gz) = d8919dc9617ab4cf8bf658b7fbd1df0e
SHA256 (cvsgraph-1.5.2.tar.gz) = c759970c9f2d3c01982bba94dcc37297c942aa4b469b55757cd349f4c5bfeff3 SHA256 (cvsgraph-1.6.0.tar.gz) = 43ee5d1358ee1b2b88ca1fbd1e8078f47fa8e90dd6b231b72c7f758a29acde6d
SIZE (cvsgraph-1.5.2.tar.gz) = 106382 SIZE (cvsgraph-1.6.0.tar.gz) = 114186

View file

@ -0,0 +1,3 @@
You must copy %%PREFIX%%/cvsgraph.conf.sample to
%%PREFIX%%/cvsgraph.conf in order to use cvsgraph.