mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
cd971523d3
- Take maintainership - Simplify RUN_DEPENDS - Add stage support - Add DOCS option Changelog: http://arthurdejong.org/svn2cl/news.html#20130913 Approved by: wg/culot (mentors, implicit)
37 lines
977 B
Makefile
37 lines
977 B
Makefile
# Created by: Alexander Logvinov <ports@logvinov.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= svn2cl
|
|
PORTVERSION= 0.14
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= http://arthurdejong.org/svn2cl/
|
|
|
|
MAINTAINER= danilo@FreeBSD.org
|
|
COMMENT= Subversion ChangeLog generator
|
|
|
|
RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \
|
|
svn:${PORTSDIR}/devel/subversion
|
|
|
|
NO_BUILD= yes
|
|
PORTDOCS= ChangeLog NEWS README TODO
|
|
DATAFILES= authors.xml svn2cl.xsl svn2html.css svn2html.xsl
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|XSL="$$dir|XSL="${DATADIR}|' ${WRKSRC}/${PORTNAME}.sh
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
|
${INSTALL_MAN} ${WRKSRC}/svn2cl.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
@${MKDIR} ${STAGEDIR}${DATADIR}
|
|
.for i in ${DATAFILES}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DATADIR}
|
|
.endfor
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|