mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-02 01:20:54 +00:00
b9398223bd
Approved by: portmgr blanket
59 lines
1.7 KiB
Makefile
59 lines
1.7 KiB
Makefile
# Created by: trevor
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cvsgraph
|
|
PORTVERSION= 1.7.0
|
|
PORTREVISION= 6
|
|
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
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
SUB_FILES= pkg-message
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-gd-inc=${LOCALBASE}/include \
|
|
--with-gd-lib=${LOCALBASE}/lib CFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${PREFIX}/lib"
|
|
|
|
DOCS= ChangeLog README
|
|
EXAMPLES= cvsgraphwrapper.php mkimage.php
|
|
MORE_EXAMPLES= README.Automatic_documentation checkoutlist commit_action.sh \
|
|
commitinfo cvswrappers tag_action.sh taginfo
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
pre-patch:
|
|
@${REINPLACE_CMD} -e "s:/home/bertho/tmp/cvstest:/home/ncvs:g" ${WRKSRC}/cvsgraph.conf
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_DATA} ${WRKSRC}/cvsgraph.conf ${STAGEDIR}${PREFIX}/etc/cvsgraph.conf.sample
|
|
${INSTALL_MAN} ${WRKSRC}/cvsgraph.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/cvsgraph.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in ${DOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
do-install-EXAMPLES-on:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/automatic_documentation
|
|
.for i in ${EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/${i} ${STAGEDIR}${EXAMPLESDIR}
|
|
.endfor
|
|
.for i in ${MORE_EXAMPLES}
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/automatic_documentation/${i} \
|
|
${STAGEDIR}${EXAMPLESDIR}/automatic_documentation
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|