blob: 7593b2e553ebdcaee797a745c11699584f25065c (
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
35
36
37
38
39
40
41
|
# New ports collection makefile for: svn2cl
# Date created: 20 December 2006
# Whom: Alexander Logvinov <ports@logvinov.com>
#
# $FreeBSD$
#
PORTNAME= svn2cl
PORTVERSION= 0.11
CATEGORIES= textproc
MASTER_SITES= http://ch.tudelft.nl/~arthur/svn2cl/
MAINTAINER= avl@FreeBSD.org
COMMENT= Subversion ChangeLog generator
RUN_DEPENDS= ${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt \
${LOCALBASE}/bin/svn:${PORTSDIR}/devel/subversion
NO_BUILD= yes
MAN1= ${PORTNAME}.1
PORTDOCS= ChangeLog NEWS README TODO
DATAFILES= authors.xml svn2cl.xsl svn2html.css svn2html.xsl
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}
.for i in ${DATAFILES}
${INSTALL_DATA} ${WRKSRC}/${i} ${DATADIR}
.endfor
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|