svn commit: r359012 - head/print/latexdiff

Jason E. Hale jhale at FreeBSD.org
Mon Jun 23 21:43:10 UTC 2014


Author: jhale
Date: Mon Jun 23 21:43:08 2014
New Revision: 359012
URL: http://svnweb.freebsd.org/changeset/ports/359012
QAT: https://qat.redports.org/buildarchive/r359012/

Log:
  - 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 at mail.ru (previous maintainer)

Added:
  head/print/latexdiff/pkg-plist   (contents, props changed)
Modified:
  head/print/latexdiff/Makefile
  head/print/latexdiff/distinfo
  head/print/latexdiff/pkg-descr

Modified: head/print/latexdiff/Makefile
==============================================================================
--- head/print/latexdiff/Makefile	Mon Jun 23 21:42:46 2014	(r359011)
+++ head/print/latexdiff/Makefile	Mon Jun 23 21:43:08 2014	(r359012)
@@ -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 at mail.ru
+MAINTAINER=	jhale at 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>

Modified: head/print/latexdiff/distinfo
==============================================================================
--- head/print/latexdiff/distinfo	Mon Jun 23 21:42:46 2014	(r359011)
+++ head/print/latexdiff/distinfo	Mon Jun 23 21:43:08 2014	(r359012)
@@ -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

Modified: head/print/latexdiff/pkg-descr
==============================================================================
--- head/print/latexdiff/pkg-descr	Mon Jun 23 21:42:46 2014	(r359011)
+++ head/print/latexdiff/pkg-descr	Mon Jun 23 21:43:08 2014	(r359012)
@@ -12,3 +12,5 @@ editing of the difference file can be us
 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

Added: head/print/latexdiff/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/print/latexdiff/pkg-plist	Mon Jun 23 21:43:08 2014	(r359012)
@@ -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


More information about the svn-ports-head mailing list