aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-05-23 08:02:12 +0800
committermarino <marino@FreeBSD.org>2014-05-23 08:02:12 +0800
commitf9bef7d37ad43cc55c96f576a7e85abd02bb7665 (patch)
treeef038139db4c950eae66b7a885fff6e5fb90282e /textproc
parentc520de8b14b516ffcc4daf4a32ae707fe9298bf7 (diff)
downloadfreebsd-ports-gnome-f9bef7d37ad43cc55c96f576a7e85abd02bb7665.tar.gz
freebsd-ports-gnome-f9bef7d37ad43cc55c96f576a7e85abd02bb7665.tar.zst
freebsd-ports-gnome-f9bef7d37ad43cc55c96f576a7e85abd02bb7665.zip
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.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/xmlada/Makefile14
-rw-r--r--textproc/xmlada/distinfo4
-rw-r--r--textproc/xmlada/files/patch-Makefile.in30
-rw-r--r--textproc/xmlada/pkg-plist20
4 files changed, 30 insertions, 38 deletions
diff --git a/textproc/xmlada/Makefile b/textproc/xmlada/Makefile
index 70d2a9afbf41..bbd77a0d4302 100644
--- a/textproc/xmlada/Makefile
+++ b/textproc/xmlada/Makefile
@@ -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@FreeBSD.org
COMMENT= Adacore XML suite for the Ada language
@@ -13,11 +12,10 @@ COMMENT= Adacore XML suite for the Ada language
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
diff --git a/textproc/xmlada/distinfo b/textproc/xmlada/distinfo
index ebfda5b659ac..941ca1734005 100644
--- a/textproc/xmlada/distinfo
+++ b/textproc/xmlada/distinfo
@@ -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
diff --git a/textproc/xmlada/files/patch-Makefile.in b/textproc/xmlada/files/patch-Makefile.in
index 3216509b1dc3..6cbb75dc0bd5 100644
--- a/textproc/xmlada/files/patch-Makefile.in
+++ b/textproc/xmlada/files/patch-Makefile.in
@@ -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}
diff --git a/textproc/xmlada/pkg-plist b/textproc/xmlada/pkg-plist
index ff767c7e91c8..c05928e07852 100644
--- a/textproc/xmlada/pkg-plist
+++ b/textproc/xmlada/pkg-plist
@@ -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-socket.ali
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