aboutsummaryrefslogtreecommitdiffstats
path: root/devel/cvschangelogbuilder/Makefile
blob: fe9dc65e3d83e537e556849075733de069d7a5e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Created by: Matthew Will <mwill@spingen.com>
# $FreeBSD$

PORTNAME=   cvschangelogbuilder
PORTVERSION=    2.5
CATEGORIES= devel
MASTER_SITES=   SF/cvschangelogb/CVSChangelogBuilder/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Utility to generate changelogs and reports from a CVS repository

LICENSE=    GPLv2

RUN_DEPENDS=    p5-GD-Graph>=0:${PORTSDIR}/graphics/p5-GD-Graph

NO_BUILD=   yes
USES=       perl5 shebangfix
SHEBANG_FILES=  ${PORTNAME}.pl

PLIST_FILES=    bin/cvschangelogbuilder
PORTDOCS=   *

post-extract:
    @${FIND} ${WRKSRC} -type d -exec ${CHMOD} 755 {} \;
    @${FIND} ${WRKSRC} -type f -exec ${CHMOD} 644 {} \;

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl \
        ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
    @${MKDIR} ${STAGEDIR}${DOCSDIR}/images
    ${INSTALL_DATA} ${WRKSRC}/docs/*.* ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/docs/images/* ${STAGEDIR}${DOCSDIR}/images

.include <bsd.port.mk>