Skip to content

Commit

Permalink
textproc/xmlada: Update from version 4.2.0.0 to version 4.4.0.0
Browse files Browse the repository at this point in the history
Full change text can be found in features-XX in the distfile, but the
main changes are:

NF-440-LB01-017 attributeGroup support in simple type extensions (2012-11-08)
NF-43-KC20-003 License updated to GPL3 (2011-12-20)
NF-43-KC07-033 Documentation converted to Sphinx (2011-12-08)
NF-43-KC01-026 Schema: Ignore unsupported xsd:unique (2011-12-01)
NF-42-K708-021 Schema: Improved multi-tasking support (2011-07-26)
NF-42-K429-012 Schema: Ignore unsupported schema elements (2011-08-16)
NF-42-J818-003 New input source for streaming sockets (2010-12-16)
  • Loading branch information
marino committed Jul 2, 2013
1 parent cb73bc3 commit b799f08
Show file tree
Hide file tree
Showing 14 changed files with 604 additions and 539 deletions.
31 changes: 24 additions & 7 deletions textproc/xmlada/Makefile
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
# $NetBSD: Makefile,v 1.5 2012/10/25 06:57:07 asau Exp $
# $NetBSD: Makefile,v 1.6 2013/07/02 22:13:56 marino Exp $
#

DISTNAME= xmlada-${XMLADA_VERS}
PKGREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://downloads.dragonlace.net/src/ \
http://dragonlace.mirrors.ada.cx/src/
MASTER_SITES= http://downloads.dragonlace.net/src/
EXTRACT_SUFX= .tar.bz2

MAINTAINER= [email protected]
HOMEPAGE= http://libre.adacore.com/libre/tools/xmlada/
COMMENT= Adacore XML suite for the Ada language
LICENSE= gnu-gpl-v2
LICENSE= gnu-gpl-v3

XMLADA_VERS= 4.2.0.0
XMLADA_VERS= 4.4.0.0
GNU_CONFIGURE= yes
USE_LANGUAGES= c ada
USE_TOOLS= gmake makeinfo
Expand All @@ -25,7 +23,7 @@ MAKE_JOBS_SAFE= no
# it doesn't support the concept of DESTDIR.
# "-Wl,-R" adds a second rpath string.
# -Wl,-rpath is a better choice, but synonym -Wl,-R works on all BSD and SunOS
SUBST_CLASSES+= rpath
SUBST_CLASSES+= rpath docs
SUBST_STAGE.rpath= pre-configure
SUBST_MESSAGE.rpath= Adjust rpaths of shared libraries
SUBST_FILES.rpath= sax/sax.gpr
Expand All @@ -34,4 +32,23 @@ SUBST_FILES.rpath+= input_sources/input_sources.gpr
SUBST_FILES.rpath+= schema/schema.gpr
SUBST_SED.rpath= -e "s,@ADDITIONAL_RPATH@,${PREFIX}/lib,"

SUBST_STAGE.docs= pre-configure
SUBST_MESSAGE.docs= Set build xmlada documentation option
SUBST_FILES.docs= Makefile.in
SUBST_SED.docs= -e 's/^all: \(.*\)/all: \1 docs/g'

DESTSTATIC= ${DESTDIR}${PREFIX}/lib/xmlada/static
DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx

post-install:
# There is no reason to install sphinx source files
${RM} -rf ${DESTDIR}${PREFIX}/share/doc/xmlada/_sources
# Fix static library permissions
${CHMOD} a-x ${DESTSTATIC}/libxmlada_dom.a \
${DESTSTATIC}/libxmlada_input_sources.a \
${DESTSTATIC}/libxmlada_sax.a \
${DESTSTATIC}/libxmlada_schema.a \
${DESTSTATIC}/libxmlada_unicode.a

.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
Loading

0 comments on commit b799f08

Please sign in to comment.