1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/devel/cvsgraph/Makefile
Pav Lucistnik 677f6b01f7 - Update to 1.5.2
- Allow on all archs

PR:		ports/86389
Submitted by:	UEMURA Tetsuya <t_uemura@macome.co.jp>
Approved by:	maintainer timeout (trevor, 17 days)
2005-10-08 19:48:04 +00:00

78 lines
2.3 KiB
Makefile

# New ports collection makefile for: cvsgraph
# Date created: 2001-02-21
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= cvsgraph
PORTVERSION= 1.5.2
PORTREVISION= 0
CATEGORIES= devel graphics
MASTER_SITES= http://www.akhphd.au.dk/~bertho/cvsgraph/release/
MAINTAINER= trevor@FreeBSD.org
COMMENT= Graph the life story of a file under CVS or RCS
LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
MAN1= cvsgraph.1
MAN5= cvsgraph.conf.5
DOCDIR= share/doc/${PORTNAME}
DOCS= ChangeLog LICENSE README
EXAMPLES= cvsgraphwrapper.php3 mkimage.php3
MORE_EXAMPLES= README.Automatic_documentation checkoutlist commit_action.sh \
commitinfo cvswrappers tag_action.sh taginfo
PLIST= ${WRKDIR}/pkg-plist
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include \
--with-gd-lib=${LOCALBASE}/lib
pre-patch:
${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
pre-install:
${ECHO_CMD} bin/cvsgraph > ${PLIST}
${ECHO_CMD} etc/cvsgraph.conf >> ${PLIST}
.if !defined(NOPORTDOCS)
.for i in ${DOCS}
${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST}
.endfor
.for i in ${MORE_EXAMPLES}
${ECHO_CMD} share/examples/${PORTNAME}/automatic_documentation/${i} >> ${PLIST}
.endfor
.for i in ${EXAMPLES}
${ECHO_CMD} share/examples/${PORTNAME}/${i} >> ${PLIST}
.endfor
${ECHO_CMD} @dirrm share/examples/${PORTNAME}/automatic_documentation >> ${PLIST}
${ECHO_CMD} @dirrm share/examples/${PORTNAME} >> ${PLIST}
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST}
.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${PREFIX}/etc
${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${PREFIX}/man/man5
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/${DOCDIR}
${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
${MKDIR} ${PREFIX}/share/examples/${PORTNAME}/automatic_documentation
.for i in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR}
.endfor
.for i in ${EXAMPLES}
${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
.endfor
.endif
.include <bsd.port.mk>