svn commit: r354139 - in head/devel/liblouisxml: . files

Wen Heping wen at FreeBSD.org
Thu May 15 15:32:18 UTC 2014


Author: wen
Date: Thu May 15 15:32:16 2014
New Revision: 354139
URL: http://svnweb.freebsd.org/changeset/ports/354139
QAT: https://qat.redports.org/buildarchive/r354139/

Log:
  - Update to 2.4.0
  - Stage support
  - Update my email to FreeBSD
  - Pet portlint
  - Add LICENSE

Added:
  head/devel/liblouisxml/files/
  head/devel/liblouisxml/files/patch-Makefile.in   (contents, props changed)
Modified:
  head/devel/liblouisxml/Makefile
  head/devel/liblouisxml/distinfo
  head/devel/liblouisxml/pkg-descr
  head/devel/liblouisxml/pkg-plist

Modified: head/devel/liblouisxml/Makefile
==============================================================================
--- head/devel/liblouisxml/Makefile	Thu May 15 15:25:38 2014	(r354138)
+++ head/devel/liblouisxml/Makefile	Thu May 15 15:32:16 2014	(r354139)
@@ -2,41 +2,44 @@
 # $FreeBSD$
 
 PORTNAME=	liblouisxml
-PORTVERSION=	1.8.0
-PORTREVISION=	1
+PORTVERSION=	2.4.0
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
 
-MAINTAINER=	wenheping at gmail.com
+MAINTAINER=	wen at FreeBSD.org
 COMMENT=	Library Provide Complete Braille Transcription Services
 
-LIB_DEPENDS=	louis.2:${PORTSDIR}/devel/liblouis
+LICENSE=	GPLv3
+
+RUN_DEPENDS=	${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
+LIB_DEPENDS=	liblouis.so:${PORTSDIR}/devel/liblouis
 
 GNU_CONFIGURE=	yes
-USES=		pkgconfig gmake
+USES=		pkgconfig gmake libtool
 USE_LDCONFIG=	yes
 USE_GNOME=	libxml2
+USE_GCC=	yes
 
 INFO=		liblouisxml-guide
-MAN1=		msword2brl.1 xml2brl.1
 
-NO_STAGE=	yes
+.include <bsd.port.options.mk>
+
 post-extract:
 	@${REINPLACE_CMD} -e \
 		's#@libdir@#${PREFIX}/libdata#g' ${WRKSRC}/Makefile.in
-	@${REINPLACE_CMD} -e \
-		's#doc lbx_files#lbx_files#g' ${WRKSRC}/Makefile.in
+
+post-build:
+.for i in msword2brl xml2brl pdf2brl rtf2brl
+	@${REINPLACE_CMD} -e 's#/bin/bash#${LOCALBASE}/bin/bash#g' ${WRKSRC}/tools/${i}
+.endfor
 
 post-install:
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-.for i in liblouisxml-guide.html liblouisxml-guide.txt copyright-notice \
-	example_canonical.cfg example_default.cfg example_html.sem example_math.sem
-	${INSTALL_MAN} ${WRKSRC}/doc/${i} ${DOCSDIR}/
+.if ${PORT_OPTIONS:MDOCS}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for i in liblouisxml.html liblouisxml.txt
+	${INSTALL_MAN} ${WRKSRC}/doc/${i} ${STAGEDIR}${DOCSDIR}/
 .endfor
 .endif
-	${INSTALL_MAN} ${WRKSRC}/doc/liblouisxml-guide.info ${PREFIX}/info
-	${INSTALL_MAN} ${WRKSRC}/doc/msword2brl.1 ${PREFIX}/man/man1
-	${INSTALL_MAN} ${WRKSRC}/doc/xml2brl.1 ${PREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/liblouisxml.info ${STAGEDIR}${PREFIX}/info
 
 .include <bsd.port.mk>

Modified: head/devel/liblouisxml/distinfo
==============================================================================
--- head/devel/liblouisxml/distinfo	Thu May 15 15:25:38 2014	(r354138)
+++ head/devel/liblouisxml/distinfo	Thu May 15 15:32:16 2014	(r354139)
@@ -1,2 +1,2 @@
-SHA256 (liblouisxml-1.8.0.tar.gz) = 5e3e8e604813a6984090137520ba06bb47ac3f96fd90e447d85e411088c8821f
-SIZE (liblouisxml-1.8.0.tar.gz) = 579479
+SHA256 (liblouisxml-2.4.0.tar.gz) = 7dcfcba2d4918e4c2b2bd2b3ec24a8cf86941c252e2d73f3ac2fa25704794912
+SIZE (liblouisxml-2.4.0.tar.gz) = 769296

Added: head/devel/liblouisxml/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/liblouisxml/files/patch-Makefile.in	Thu May 15 15:32:16 2014	(r354139)
@@ -0,0 +1,11 @@
+--- Makefile.in.orig	2014-05-15 20:39:14.000000000 +0800
++++ Makefile.in	2014-05-15 20:39:27.000000000 +0800
+@@ -366,7 +366,7 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = gnulib doc lbx_files liblouisxml tests tools man m4 python
++SUBDIRS = gnulib lbx_files liblouisxml tests tools m4 python
+ ACLOCAL_AMFLAGS = -I m4 -I gnulib/m4
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = liblouisxml.pc

Modified: head/devel/liblouisxml/pkg-descr
==============================================================================
--- head/devel/liblouisxml/pkg-descr	Thu May 15 15:25:38 2014	(r354138)
+++ head/devel/liblouisxml/pkg-descr	Thu May 15 15:32:16 2014	(r354139)
@@ -5,4 +5,4 @@ sheet and the specifications in the docu
 program, xml2brl which uses this library is also included.
 The latest version of liblouis is required.
 
-WWW:   http://code.google.com/p/liblouisxml/
+WWW: http://code.google.com/p/liblouisxml/

Modified: head/devel/liblouisxml/pkg-plist
==============================================================================
--- head/devel/liblouisxml/pkg-plist	Thu May 15 15:25:38 2014	(r354138)
+++ head/devel/liblouisxml/pkg-plist	Thu May 15 15:32:16 2014	(r354139)
@@ -1,12 +1,15 @@
-bin/mathml2brl
+bin/lbx_devonly
 bin/msword2brl
 bin/xml2brl
+bin/pdf2brl
+bin/rtf2brl
 include/liblouisxml/liblouisxml.h
 include/liblouisxml/louisxml.h
+info/liblouisxml.info
 lib/liblouisxml.a
-lib/liblouisxml.la
 lib/liblouisxml.so
 lib/liblouisxml.so.1
+lib/liblouisxml.so.1.2.0
 libdata/pkgconfig/liblouisxml.pc
 %%DATADIR%%/lbx_files/marburg.sem
 %%DATADIR%%/lbx_files/article.sem
@@ -14,26 +17,26 @@ libdata/pkgconfig/liblouisxml.pc
 %%DATADIR%%/lbx_files/canonical.cfg
 %%DATADIR%%/lbx_files/chapter.sem
 %%DATADIR%%/lbx_files/default.cfg
+%%DATADIR%%/lbx_files/doc.sem
 %%DATADIR%%/lbx_files/document.sem
 %%DATADIR%%/lbx_files/dtbook.sem
 %%DATADIR%%/lbx_files/dtbook3.sem
 %%DATADIR%%/lbx_files/gutbook.sem
 %%DATADIR%%/lbx_files/html.sem
+%%DATADIR%%/lbx_files/marburg.cfg
+%%DATADIR%%/lbx_files/math.sem
 %%DATADIR%%/lbx_files/nemeth.sem
 %%DATADIR%%/lbx_files/package.sem
 %%DATADIR%%/lbx_files/preface.sem
 %%DATADIR%%/lbx_files/set.sem
 %%DATADIR%%/lbx_files/ThML.sem
+%%DATADIR%%/lbx_files/ukmaths.cfg
+%%DATADIR%%/lbx_files/ukmaths.sem
 %%DATADIR%%/lbx_files/wordDocument.sem
 %%DATADIR%%/lbx_files/Workbook.sem
 %%DATADIR%%/lbx_files/w_wordDocument.sem
-%%PORTDOCS%%%%DOCSDIR%%/liblouisxml-guide.html
-%%PORTDOCS%%%%DOCSDIR%%/liblouisxml-guide.txt
-%%PORTDOCS%%%%DOCSDIR%%/copyright-notice
-%%PORTDOCS%%%%DOCSDIR%%/example_canonical.cfg
-%%PORTDOCS%%%%DOCSDIR%%/example_default.cfg
-%%PORTDOCS%%%%DOCSDIR%%/example_html.sem
-%%PORTDOCS%%%%DOCSDIR%%/example_math.sem
+%%PORTDOCS%%%%DOCSDIR%%/liblouisxml.html
+%%PORTDOCS%%%%DOCSDIR%%/liblouisxml.txt
 @dirrm include/liblouisxml
 @dirrm %%DATADIR%%/lbx_files
 @dirrm %%DATADIR%%


More information about the svn-ports-all mailing list