1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Update from 0.13 to 0.14

- 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)
This commit is contained in:
Danilo Egea Gondolfo 2013-10-06 21:14:55 +00:00
parent 4e548c5caa
commit cd971523d3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=329629
3 changed files with 16 additions and 18 deletions

View File

@ -2,38 +2,35 @@
# $FreeBSD$
PORTNAME= svn2cl
PORTVERSION= 0.13
PORTVERSION= 0.14
CATEGORIES= textproc
MASTER_SITES= http://arthurdejong.org/svn2cl/ \
LOCAL/avl
MASTER_SITES= http://arthurdejong.org/svn2cl/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= danilo@FreeBSD.org
COMMENT= Subversion ChangeLog generator
RUN_DEPENDS= ${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt \
${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion
RUN_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt \
svn:${PORTSDIR}/devel/subversion
NO_BUILD= yes
MAN1= ${PORTNAME}.1
PORTDOCS= ChangeLog NEWS README TODO
DATAFILES= authors.xml svn2cl.xsl svn2html.css svn2html.xsl
NO_STAGE= yes
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's|XSL="$$dir|XSL="${DATADIR}|' ${WRKSRC}/${PORTNAME}.sh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MANPREFIX}/man/man1
@${MKDIR} ${DATADIR}
${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} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DATADIR}
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (svn2cl-0.13.tar.gz) = 504d7a2866866f8c675bfa7ce0a99768531256c824567306a4fd47f9ffd1b5a8
SIZE (svn2cl-0.13.tar.gz) = 19187
SHA256 (svn2cl-0.14.tar.gz) = a1beb1ee03c7247c2f89792ac5bf91cb4e5ee9bdee839e2208ec9f3aacd738f2
SIZE (svn2cl-0.14.tar.gz) = 19399

View File

@ -1,4 +1,5 @@
bin/svn2cl
man/man1/svn2cl.1.gz
%%DATADIR%%/authors.xml
%%DATADIR%%/svn2cl.xsl
%%DATADIR%%/svn2html.css