2001-02-21 10:17:10 +01:00
|
|
|
# New ports collection makefile for: cvsgraph
|
|
|
|
# Date created: 2001-02-21
|
|
|
|
# Whom: trevor
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= cvsgraph
|
2005-10-08 21:48:04 +02:00
|
|
|
PORTVERSION= 1.5.2
|
|
|
|
PORTREVISION= 0
|
2001-02-21 10:17:10 +01:00
|
|
|
CATEGORIES= devel graphics
|
2001-03-15 12:29:21 +01:00
|
|
|
MASTER_SITES= http://www.akhphd.au.dk/~bertho/cvsgraph/release/
|
2001-02-21 10:17:10 +01:00
|
|
|
|
|
|
|
MAINTAINER= trevor@FreeBSD.org
|
2003-03-01 15:34:33 +01:00
|
|
|
COMMENT= Graph the life story of a file under CVS or RCS
|
2001-02-21 10:17:10 +01:00
|
|
|
|
2005-10-08 21:48:04 +02:00
|
|
|
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
|
2001-02-21 10:17:10 +01:00
|
|
|
|
2001-03-27 12:40:39 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2001-03-15 12:29:21 +01:00
|
|
|
|
|
|
|
MAN1= cvsgraph.1
|
2002-09-15 01:00:37 +02:00
|
|
|
MAN5= cvsgraph.conf.5
|
2001-03-15 12:29:21 +01:00
|
|
|
|
2001-02-21 10:17:10 +01:00
|
|
|
DOCDIR= share/doc/${PORTNAME}
|
2002-05-14 03:49:33 +02:00
|
|
|
DOCS= ChangeLog LICENSE README
|
2001-03-27 12:40:39 +02:00
|
|
|
EXAMPLES= cvsgraphwrapper.php3 mkimage.php3
|
2005-10-08 21:48:04 +02:00
|
|
|
MORE_EXAMPLES= README.Automatic_documentation checkoutlist commit_action.sh \
|
|
|
|
commitinfo cvswrappers tag_action.sh taginfo
|
2001-02-21 10:17:10 +01:00
|
|
|
PLIST= ${WRKDIR}/pkg-plist
|
2001-02-25 04:13:11 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-10-08 21:48:04 +02:00
|
|
|
CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include \
|
|
|
|
--with-gd-lib=${LOCALBASE}/lib
|
2001-02-25 04:13:11 +01:00
|
|
|
|
2002-05-14 03:49:33 +02:00
|
|
|
pre-patch:
|
2003-10-24 14:30:32 +02:00
|
|
|
${MV} ${WRKSRC}/cvsgraph.conf ${WRKSRC}/cvsgraph.conf.orig
|
|
|
|
${SED} -e "s:/home/bertho/tmp/cvstest:/home/ncvs:g" \
|
|
|
|
< ${WRKSRC}/cvsgraph.conf.orig > ${WRKSRC}/cvsgraph.conf
|
2002-05-14 03:49:33 +02:00
|
|
|
|
2001-02-21 10:17:10 +01:00
|
|
|
pre-install:
|
2002-01-29 11:16:28 +01:00
|
|
|
${ECHO_CMD} bin/cvsgraph > ${PLIST}
|
|
|
|
${ECHO_CMD} etc/cvsgraph.conf >> ${PLIST}
|
2001-02-21 10:17:10 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
.for i in ${DOCS}
|
2002-01-29 11:16:28 +01:00
|
|
|
${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST}
|
2001-02-21 10:17:10 +01:00
|
|
|
.endfor
|
2005-10-08 21:48:04 +02:00
|
|
|
.for i in ${MORE_EXAMPLES}
|
|
|
|
${ECHO_CMD} share/examples/${PORTNAME}/automatic_documentation/${i} >> ${PLIST}
|
|
|
|
.endfor
|
2001-03-27 12:40:39 +02:00
|
|
|
.for i in ${EXAMPLES}
|
2002-01-29 11:16:28 +01:00
|
|
|
${ECHO_CMD} share/examples/${PORTNAME}/${i} >> ${PLIST}
|
2001-03-27 12:40:39 +02:00
|
|
|
.endfor
|
2005-10-08 21:48:04 +02:00
|
|
|
${ECHO_CMD} @dirrm share/examples/${PORTNAME}/automatic_documentation >> ${PLIST}
|
2002-01-29 11:16:28 +01:00
|
|
|
${ECHO_CMD} @dirrm share/examples/${PORTNAME} >> ${PLIST}
|
|
|
|
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
|
2001-02-21 10:17:10 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${PREFIX}/etc
|
2001-03-15 12:29:21 +01:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${PREFIX}/man/man5
|
2001-02-21 10:17:10 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
${MKDIR} ${PREFIX}/${DOCDIR}
|
2001-03-27 12:40:39 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
|
2005-10-08 21:48:04 +02:00
|
|
|
${MKDIR} ${PREFIX}/share/examples/${PORTNAME}/automatic_documentation
|
2001-02-21 10:17:10 +01:00
|
|
|
.for i in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}
|
|
|
|
.endfor
|
2001-03-27 12:40:39 +02:00
|
|
|
.for i in ${EXAMPLES}
|
2005-10-08 21:48:04 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${PREFIX}/share/examples/${PORTNAME}
|
|
|
|
.endfor
|
|
|
|
.for i in ${MORE_EXAMPLES}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/automatic_documentation/${i} ${PREFIX}/share/examples/${PORTNAME}/automatic_documentation
|
2001-03-27 12:40:39 +02:00
|
|
|
.endfor
|
2001-02-21 10:17:10 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|