1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Update to 1.0.3

- Support staging
- Add LICENSE
- Store unversioned distfile in a versioned subdirectory
- Convert PLIST_FILES/MAN1 to pkg-plist
- Add WWW to pkg-descr
- Take maintainership (previous maintainer no longer uses FreeBSD)

PR:		191307
Submitted by:	jhale
Approved by:	Zeliboba@mail.ru (previous maintainer)
This commit is contained in:
Jason E. Hale 2014-06-23 21:43:08 +00:00
parent c4c82d6f09
commit 1ebe4c08e7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359012
4 changed files with 24 additions and 33 deletions

View File

@ -2,47 +2,28 @@
# $FreeBSD$
PORTNAME= latexdiff
PORTVERSION= 0.5
PORTREVISION= 2
PORTVERSION= 1.0.3
CATEGORIES= print perl5
MASTER_SITES= ${MASTER_SITE_TEX_CTAN}
MASTER_SITE_SUBDIR= support
MASTER_SITES= TEX_CTAN/support
DISTNAME= ${PORTNAME}
DIST_SUBDIR= ${PORTNAME}/${PORTVERSION}
MAINTAINER= Zeliboba@mail.ru
MAINTAINER= jhale@FreeBSD.org
COMMENT= Determine and mark up significant differences between latex files
RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash
LICENSE= GPLv3
USES= perl5 zip
USE_PERL5= run
NO_BUILD= yes
MAN1= latexdiff.1 \
latexdiff-vc.1 \
latexrevise.1
PLIST_FILES= bin/latexdiff \
bin/latexdiff-fast \
bin/latexdiff-so \
bin/latexdiff-vc \
bin/latexdiff-wrap \
bin/latexrevise
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e "s,\/bin\/bash,${LOCALBASE}\/bin\/bash," \
${WRKSRC}/contrib/latexdiff-wrap
do-install:
${MKDIR} ${PREFIX}/bin ${MANPREFIX}/man/man1
( cd ${WRKSRC} && ${INSTALL_SCRIPT} latexdiff-fast latexdiff-so \
latexdiff-vc latexrevise contrib/latexdiff-wrap ${PREFIX}/bin && \
${INSTALL_MAN} latexdiff.1 latexdiff-vc.1 latexrevise.1 \
${MANPREFIX}/man/man1 )
${LN} -s ${PREFIX}/bin/latexdiff-so ${PREFIX}/bin/latexdiff
test:
( cd ${WRKSRC} && ${MAKE} test-so test-fast )
.for i in latexdiff-fast latexdiff-so latexdiff-vc latexrevise
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/bin
.endfor
.for m in latexdiff.1 latexdiff-vc.1 latexrevise.1
${INSTALL_MAN} ${WRKSRC}/${m} ${STAGEDIR}${MAN1PREFIX}/man/man1
.endfor
${LN} -s latexdiff-so ${STAGEDIR}${PREFIX}/bin/latexdiff
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (latexdiff.zip) = 7a99ac274c7552b1acf617d27866b40573469acafde0fb680231e58b2e08ddcf
SIZE (latexdiff.zip) = 310412
SHA256 (latexdiff/1.0.3/latexdiff.zip) = 34ec0e39f974273695d72eac92c0a16e55dc534f5011258a70c99e19e830d9ad
SIZE (latexdiff/1.0.3/latexdiff.zip) = 434247

View File

@ -12,3 +12,5 @@ editing of the difference file can be used to override this default
behaviour and accept or reject selected changes only. There are also
scripts to handle multiple-file documents, and files under version
control.
WWW: http://www.ctan.org/tex-archive/support/latexdiff

View File

@ -0,0 +1,8 @@
bin/latexdiff
bin/latexdiff-fast
bin/latexdiff-so
bin/latexdiff-vc
bin/latexrevise
man/man1/latexdiff.1.gz
man/man1/latexdiff-vc.1.gz
man/man1/latexrevise.1.gz