freebsd-ports/devel/cvschangelogbuilder/Makefile
Pawel Pekala 270d21cb5d - Fix permissions of extracted files, this allows staging as normal user
- Add staging support
- Convert to USES=shebangfix
2014-04-02 08:39:48 +00:00

34 lines
904 B
Makefile

# 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>