freebsd-ports/devel/cvsgraph/Makefile
Alexander Leidinger d16f7bfb92 Reset maintainership to ports@ after ~4 months without any response to any
PR.

Thanks for contributing.

Since the acroread7 port is a somewhat important port for our users, I
will hand it over to emulation@ if no _active_ *committer* takes it
before the ports freeze.

While I'm here:
 - fix a little nit in the csound port (I think the intention was to
   create no backup file instead of creating one with a "-e" extension)
 - set ARCH to i386 in the amd64 case for the acroread7 port. This
   is a work-around to be able to install everything when a dependency
   is not already installed (ARCH is read-only in sub-makes, so the
   dependencies can't change it). This should be removed when the
   dependencies are fixed or converted to use bsd.linux-rpm.mk. [1]

Not objected to by:	portmgr (explicit: krion; silence: rest)
Maintainer timeout:	~4 months
Submitted by:		Sangwoo Shim <sangwoos@gmail.com> [1]
PR:			87985 [1]
2006-02-11 21:03:14 +00:00

77 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= ports@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>