svn commit: r354898 - in head/textproc/xmlada: . files

John Marino marino at FreeBSD.org
Fri May 23 00:02:14 UTC 2014


Author: marino
Date: Fri May 23 00:02:12 2014
New Revision: 354898
URL: http://svnweb.freebsd.org/changeset/ports/354898
QAT: https://qat.redports.org/buildarchive/r354898/

Log:
  textproc/xmlada: Upgrade version 4.4.2.0 => 4.5.0.0
  
  Apparently version 4.4.2 isn't new enough for GPS 6.0 despite being
  included in the sources.  This version is the top of the SVN repository.
  It was tested in poudriere against a number of ports that depend on it
  and everything still builds fine.

Modified:
  head/textproc/xmlada/Makefile
  head/textproc/xmlada/distinfo
  head/textproc/xmlada/files/patch-Makefile.in
  head/textproc/xmlada/pkg-plist

Modified: head/textproc/xmlada/Makefile
==============================================================================
--- head/textproc/xmlada/Makefile	Thu May 22 23:15:34 2014	(r354897)
+++ head/textproc/xmlada/Makefile	Fri May 23 00:02:12 2014	(r354898)
@@ -2,10 +2,9 @@
 # $FreeBSD$
 
 PORTNAME=	xmlada
-PORTVERSION=	4.4.2.0
+PORTVERSION=	4.5.0.0
 CATEGORIES=	textproc
 MASTER_SITES=	http://downloads.dragonlace.net/src/
-DISTNAME=	xmlada-gpl-${YEAR}-src
 
 MAINTAINER=	marino at FreeBSD.org
 COMMENT=	Adacore XML suite for the Ada language
@@ -13,11 +12,10 @@ COMMENT=	Adacore XML suite for the Ada l
 LICENSE=	GPLv3
 
 GNU_CONFIGURE=	yes
-USES=		ada gmake
-YEAR=		2014
-NO_MTREE=	yes
+USES=		ada gmake tar:bzip2
 MAKE_ARGS+=	PROCESSORS=${MAKE_JOBS_NUMBER}
-WRKSRC=		${WRKDIR}/xmlada-${YEAR}-src
+ALL_TARGET=	static relocatable
+PLIST_SUB+=	LIBVER=4.5.0w
 
 OPTIONS_DEFINE=	DOCS
 
@@ -25,6 +23,7 @@ OPTIONS_DEFINE=	DOCS
 
 .if ${PORT_OPTIONS:MDOCS}
 BUILD_DEPENDS+=	sphinx-build:${PORTSDIR}/textproc/py-sphinx
+ALL_TARGET+=	docs
 .endif
 
 # Link options were added for sax, dom, schema, and input_sources libraries
@@ -40,9 +39,6 @@ post-patch:
 	  ${WRKSRC}/dom/dom.gpr \
 	  ${WRKSRC}/schema/schema.gpr \
 	  ${WRKSRC}/input_sources/input_sources.gpr
-.if ${PORT_OPTIONS:MDOCS}
-	@${REINPLACE_CMD} -e 's/^all: \(.*\)/all: \1 docs/g' ${WRKSRC}/Makefile.in
-.endif
 
 do-build:
 	# Override build target to avoid -jX getting passed to makefile

Modified: head/textproc/xmlada/distinfo
==============================================================================
--- head/textproc/xmlada/distinfo	Thu May 22 23:15:34 2014	(r354897)
+++ head/textproc/xmlada/distinfo	Fri May 23 00:02:12 2014	(r354898)
@@ -1,2 +1,2 @@
-SHA256 (xmlada-gpl-2014-src.tar.gz) = f686bc49318583c0a3bd12315e0ac8fcb3721bb8d528cdbf3bccbd753d227e69
-SIZE (xmlada-gpl-2014-src.tar.gz) = 1303945
+SHA256 (xmlada-4.5.0.0.tar.bz2) = 6dde7083ee4d0c04d0a26afce4c2bb5c56c611c941681e2649bb9c1b8e1b49e4
+SIZE (xmlada-4.5.0.0.tar.bz2) = 637544

Modified: head/textproc/xmlada/files/patch-Makefile.in
==============================================================================
--- head/textproc/xmlada/files/patch-Makefile.in	Thu May 22 23:15:34 2014	(r354897)
+++ head/textproc/xmlada/files/patch-Makefile.in	Fri May 23 00:02:12 2014	(r354898)
@@ -1,6 +1,6 @@
---- Makefile.in.orig	2014-03-25 08:03:23.000000000 +0000
+--- Makefile.in.orig	2014-05-22 22:46:42.000000000 +0000
 +++ Makefile.in
-@@ -83,72 +83,65 @@ run_test_valgrind: test
+@@ -83,72 +83,51 @@ run_test_valgrind: test
  	cd dom/test; valgrind --tool=memcheck --leak-check=full ./testxml -auto
  
  docs: force
@@ -34,25 +34,21 @@
  
  	@# prefix/lib/xmlada/relocatable/libxmlada.so -> libxmlada.so.4.4.0w
 -	cd ${xmllib}; ${LN_S} libxmlada_$*${LIBEXT}.${VERSION} libxmlada_$*${LIBEXT}
-+	cd ${DESTDIR}${xmllib}; ${LN_S} libxmlada_$*${LIBEXT}.${VERSION} libxmlada_$*${LIBEXT}
- 
- 	@# prefix/lib/xmlada/relocatable/libxmlada.so.4.4 -> libxmlada.so.4.4.0w
+-
+-	@# prefix/lib/xmlada/relocatable/libxmlada.so.4.4 -> libxmlada.so.4.4.0w
 -	-cd ${xmllib}; ${LN_S} libxmlada_$*${LIBEXT}.${VERSION} libxmlada_$*${LIBEXT}.${basename ${VERSION}}
-+	-cd ${DESTDIR}${xmllib}; ${LN_S} libxmlada_$*${LIBEXT}.${VERSION} libxmlada_$*${LIBEXT}.${basename ${VERSION}}
- 
- 	@# prefix/lib/xmlada/relocatable/libxmlada.so.4 -> libxmlada.so.4.4.0w
- ifneq (${basename ${basename ${VERSION}}},${basename ${VERSION}})
+-
+-	@# prefix/lib/xmlada/relocatable/libxmlada.so.4 -> libxmlada.so.4.4.0w
+-ifneq (${basename ${basename ${VERSION}}},${basename ${VERSION}})
 -	cd ${xmllib}; ${LN_S} libxmlada_$*${LIBEXT}.${VERSION} libxmlada_$*${LIBEXT}.${basename ${basename ${VERSION}}}
-+	cd ${DESTDIR}${xmllib}; ${LN_S} libxmlada_$*${LIBEXT}.${VERSION} libxmlada_$*${LIBEXT}.${basename ${basename ${VERSION}}}
- 
- 	@# prefix/lib/libxmlada.so.4 -> prefix/lib/xmlada/relocatable/libxmlada.so.4.4.0w
+-
+-	@# prefix/lib/libxmlada.so.4 -> prefix/lib/xmlada/relocatable/libxmlada.so.4.4.0w
 -	cd ${libdir}; ${LN_S} xmlada/${LIBRARY_TYPE}/libxmlada_$*${LIBEXT}.${VERSION} libxmlada_$*${LIBEXT}.${basename ${basename ${VERSION}}}
-+	cd ${DESTDIR}${libdir}; ${LN_S} xmlada/${LIBRARY_TYPE}/libxmlada_$*${LIBEXT}.${VERSION} libxmlada_$*${LIBEXT}.${basename ${basename ${VERSION}}}
- endif
- 
- 	@# prefix/lib/libxmlada.so.4.4 -> prefix/lib/xmlada/relocatable/libxmlada.so.4.4.0w
+-endif
+-
+-	@# prefix/lib/libxmlada.so.4.4 -> prefix/lib/xmlada/relocatable/libxmlada.so.4.4.0w
 -	-cd ${libdir}; ${LN_S} xmlada/${LIBRARY_TYPE}/libxmlada_$*${LIBEXT}.${VERSION} libxmlada_$*${LIBEXT}.${basename ${VERSION}}
-+	-cd ${DESTDIR}${libdir}; ${LN_S} xmlada/${LIBRARY_TYPE}/libxmlada_$*${LIBEXT}.${VERSION} libxmlada_$*${LIBEXT}.${basename ${VERSION}}
++	cd ${DESTDIR}${xmllib}; ${LN_S} libxmlada_$*${LIBEXT}.${VERSION} libxmlada_$*${LIBEXT}
  
  	@# prefix/lib/libxmlada.so.4.4.0w -> prefix/lib/xmlada/relocatable/libxmlada.so.4.4.0w
 -	-cd ${libdir}; ${LN_S} xmlada/${LIBRARY_TYPE}/libxmlada_$*${LIBEXT}.${VERSION} libxmlada_$*${LIBEXT}.${VERSION}

Modified: head/textproc/xmlada/pkg-plist
==============================================================================
--- head/textproc/xmlada/pkg-plist	Thu May 22 23:15:34 2014	(r354897)
+++ head/textproc/xmlada/pkg-plist	Fri May 23 00:02:12 2014	(r354898)
@@ -204,11 +204,11 @@ lib/gnat/xmlada_sax.gpr
 lib/gnat/xmlada_schema.gpr
 lib/gnat/xmlada_shared.gpr
 lib/gnat/xmlada_unicode.gpr
-lib/libxmlada_dom.so.2014
-lib/libxmlada_input_sources.so.2014
-lib/libxmlada_sax.so.2014
-lib/libxmlada_schema.so.2014
-lib/libxmlada_unicode.so.2014
+lib/libxmlada_dom.so.%%LIBVER%%
+lib/libxmlada_input_sources.so.%%LIBVER%%
+lib/libxmlada_sax.so.%%LIBVER%%
+lib/libxmlada_schema.so.%%LIBVER%%
+lib/libxmlada_unicode.so.%%LIBVER%%
 lib/xmlada/relocatable/dom-core-attrs.ali
 lib/xmlada/relocatable/dom-core-cdata_sections.ali
 lib/xmlada/relocatable/dom-core-character_datas.ali
@@ -231,15 +231,15 @@ lib/xmlada/relocatable/input_sources-soc
 lib/xmlada/relocatable/input_sources-strings.ali
 lib/xmlada/relocatable/input_sources.ali
 lib/xmlada/relocatable/libxmlada_dom.so
-lib/xmlada/relocatable/libxmlada_dom.so.2014
+lib/xmlada/relocatable/libxmlada_dom.so.%%LIBVER%%
 lib/xmlada/relocatable/libxmlada_input_sources.so
-lib/xmlada/relocatable/libxmlada_input_sources.so.2014
+lib/xmlada/relocatable/libxmlada_input_sources.so.%%LIBVER%%
 lib/xmlada/relocatable/libxmlada_sax.so
-lib/xmlada/relocatable/libxmlada_sax.so.2014
+lib/xmlada/relocatable/libxmlada_sax.so.%%LIBVER%%
 lib/xmlada/relocatable/libxmlada_schema.so
-lib/xmlada/relocatable/libxmlada_schema.so.2014
+lib/xmlada/relocatable/libxmlada_schema.so.%%LIBVER%%
 lib/xmlada/relocatable/libxmlada_unicode.so
-lib/xmlada/relocatable/libxmlada_unicode.so.2014
+lib/xmlada/relocatable/libxmlada_unicode.so.%%LIBVER%%
 lib/xmlada/relocatable/sax-attributes.ali
 lib/xmlada/relocatable/sax-encodings.ali
 lib/xmlada/relocatable/sax-exceptions.ali


More information about the svn-ports-all mailing list