aboutsummaryrefslogtreecommitdiffstats
path: root/print/latexdiff
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2014-06-24 05:43:08 +0800
committerjhale <jhale@FreeBSD.org>2014-06-24 05:43:08 +0800
commit7a239998eb96c6615c10700e599d5a95dfee5acf (patch)
tree6f6afad487f48c1005b5129a4efe0ff257d5f128 /print/latexdiff
parentbfe80d3523a4f75223c4b4b94be12cbc01c619e5 (diff)
downloadfreebsd-ports-gnome-7a239998eb96c6615c10700e599d5a95dfee5acf.tar.gz
freebsd-ports-gnome-7a239998eb96c6615c10700e599d5a95dfee5acf.tar.zst
freebsd-ports-gnome-7a239998eb96c6615c10700e599d5a95dfee5acf.zip
- 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)
Diffstat (limited to 'print/latexdiff')
-rw-r--r--print/latexdiff/Makefile43
-rw-r--r--print/latexdiff/distinfo4
-rw-r--r--print/latexdiff/pkg-descr2
-rw-r--r--print/latexdiff/pkg-plist8
4 files changed, 24 insertions, 33 deletions
diff --git a/print/latexdiff/Makefile b/print/latexdiff/Makefile
index 85fbe349170e..5bb42498260e 100644
--- a/print/latexdiff/Makefile
+++ b/print/latexdiff/Makefile
@@ -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>
diff --git a/print/latexdiff/distinfo b/print/latexdiff/distinfo
index e52a29008ddd..67b589dd0c0c 100644
--- a/print/latexdiff/distinfo
+++ b/print/latexdiff/distinfo
@@ -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
diff --git a/print/latexdiff/pkg-descr b/print/latexdiff/pkg-descr
index 746cebd05476..b659bef239d9 100644
--- a/print/latexdiff/pkg-descr
+++ b/print/latexdiff/pkg-descr
@@ -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
diff --git a/print/latexdiff/pkg-plist b/print/latexdiff/pkg-plist
new file mode 100644
index 000000000000..6d56e844b86b
--- /dev/null
+++ b/print/latexdiff/pkg-plist
@@ -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