View | Details | Raw Unified | Return to bug 191307
Collapse All | Expand All

(-)Makefile (-30 / +11 lines)
Lines 2-48 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	latexdiff
4
PORTNAME=	latexdiff
5
PORTVERSION=	0.5
5
PORTVERSION=	1.0.3
6
PORTREVISION=	2
7
CATEGORIES=	print perl5
6
CATEGORIES=	print perl5
8
MASTER_SITES=	${MASTER_SITE_TEX_CTAN}
7
MASTER_SITES=	TEX_CTAN/support
9
MASTER_SITE_SUBDIR=	support
10
DISTNAME=	${PORTNAME}
8
DISTNAME=	${PORTNAME}
9
DIST_SUBDIR=	${PORTNAME}/${PORTVERSION}
11
10
12
MAINTAINER=	Zeliboba@mail.ru
11
MAINTAINER=	Zeliboba@mail.ru
13
COMMENT=	Determine and mark up significant differences between latex files
12
COMMENT=	Determine and mark up significant differences between latex files
14
13
15
RUN_DEPENDS+=	bash:${PORTSDIR}/shells/bash
14
LICENSE=	GPLv3
16
15
17
USES=		perl5 zip
16
USES=		perl5 zip
18
USE_PERL5=	run
17
USE_PERL5=	run
19
NO_BUILD=	yes
18
NO_BUILD=	yes
20
19
21
MAN1=		latexdiff.1 \
22
		latexdiff-vc.1 \
23
		latexrevise.1
24
25
PLIST_FILES=	bin/latexdiff \
26
		bin/latexdiff-fast \
27
		bin/latexdiff-so \
28
		bin/latexdiff-vc \
29
		bin/latexdiff-wrap \
30
		bin/latexrevise
31
32
NO_STAGE=	yes
33
post-patch:
34
	${REINPLACE_CMD} -e "s,\/bin\/bash,${LOCALBASE}\/bin\/bash," \
35
	${WRKSRC}/contrib/latexdiff-wrap
36
37
do-install:
20
do-install:
38
	${MKDIR} ${PREFIX}/bin ${MANPREFIX}/man/man1
21
.for i in latexdiff-fast latexdiff-so latexdiff-vc latexrevise
39
	( cd ${WRKSRC} && ${INSTALL_SCRIPT} latexdiff-fast latexdiff-so \
22
	${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
40
	latexdiff-vc latexrevise contrib/latexdiff-wrap ${PREFIX}/bin && \
23
.endfor
41
	${INSTALL_MAN} latexdiff.1 latexdiff-vc.1 latexrevise.1 \
24
.for m in latexdiff.1 latexdiff-vc.1 latexrevise.1
42
	${MANPREFIX}/man/man1 )
25
	${INSTALL_MAN} ${WRKSRC}/${m} ${STAGEDIR}${MAN1PREFIX}/man/man1
43
	${LN} -s ${PREFIX}/bin/latexdiff-so ${PREFIX}/bin/latexdiff
26
.endfor
27
	${LN} -s latexdiff-so ${STAGEDIR}${PREFIX}/bin/latexdiff
44
28
45
test:
46
	( cd ${WRKSRC} && ${MAKE} test-so test-fast )
47
48
.include <bsd.port.mk>
29
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (latexdiff.zip) = 7a99ac274c7552b1acf617d27866b40573469acafde0fb680231e58b2e08ddcf
1
SHA256 (latexdiff/1.0.3/latexdiff.zip) = 34ec0e39f974273695d72eac92c0a16e55dc534f5011258a70c99e19e830d9ad
2
SIZE (latexdiff.zip) = 310412
2
SIZE (latexdiff/1.0.3/latexdiff.zip) = 434247
(-)pkg-plist (+8 lines)
Line 0 Link Here
1
bin/latexdiff
2
bin/latexdiff-fast
3
bin/latexdiff-so
4
bin/latexdiff-vc
5
bin/latexrevise
6
man/man1/latexdiff.1.gz
7
man/man1/latexdiff-vc.1.gz
8
man/man1/latexrevise.1.gz

Return to bug 191307