[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / xmlada

Annotation of pkgsrc/textproc/xmlada/Makefile, Revision 1.18

1.18    ! bsiegert    1: # $NetBSD: Makefile,v 1.17 2018/07/03 05:03:37 adam Exp $
1.1       drochner    2:
1.2       marino      3: DISTNAME=      xmlada-${XMLADA_VERS}
1.18    ! bsiegert    4: PKGREVISION=   4
1.1       drochner    5: CATEGORIES=    textproc
1.6       marino      6: MASTER_SITES=  http://downloads.dragonlace.net/src/
1.1       drochner    7: EXTRACT_SUFX=  .tar.bz2
                      8:
1.16      wiz         9: MAINTAINER=    pkgsrc-users@NetBSD.org
1.1       drochner   10: HOMEPAGE=      http://libre.adacore.com/libre/tools/xmlada/
                     11: COMMENT=       Adacore XML suite for the Ada language
1.6       marino     12: LICENSE=       gnu-gpl-v3
1.1       drochner   13:
1.6       marino     14: XMLADA_VERS=           4.4.0.0
1.1       drochner   15: GNU_CONFIGURE=         yes
1.4       marino     16: USE_LANGUAGES=         c ada
1.2       marino     17: USE_TOOLS=             gmake makeinfo
                     18: MAKE_JOBS_SAFE=                no
1.1       drochner   19:
1.4       marino     20: # Link options were added for the sax, dom, schema, and input_sources libraries
                     21: # "-R" option disables all rpaths except adalib and compiler libs.  This is
                     22: #      done because by default the rpaths will points at the WRKOBJDIR because
                     23: #      it doesn't support the concept of DESTDIR.
                     24: # "-Wl,-R" adds a second rpath string.
                     25: # -Wl,-rpath is a better choice, but synonym -Wl,-R works on all BSD and SunOS
1.6       marino     26: SUBST_CLASSES+=        rpath docs
1.4       marino     27: SUBST_STAGE.rpath=     pre-configure
                     28: SUBST_MESSAGE.rpath=   Adjust rpaths of shared libraries
                     29: SUBST_FILES.rpath=     sax/sax.gpr
                     30: SUBST_FILES.rpath+=    dom/dom.gpr
                     31: SUBST_FILES.rpath+=    input_sources/input_sources.gpr
                     32: SUBST_FILES.rpath+=    schema/schema.gpr
                     33: SUBST_SED.rpath=       -e "s,@ADDITIONAL_RPATH@,${PREFIX}/lib,"
1.1       drochner   34:
1.6       marino     35: SUBST_STAGE.docs=      pre-configure
                     36: SUBST_MESSAGE.docs=    Set build xmlada documentation option
                     37: SUBST_FILES.docs=      Makefile.in
                     38: SUBST_SED.docs=                -e 's/^all: \(.*\)/all: \1 docs/g'
                     39:
1.10      jperkin    40: MAKE_ENV+=     SPHINXBUILD=${PREFIX}/bin/sphinx-build${PYVERSSUFFIX}
                     41:
1.6       marino     42: DESTSTATIC=    ${DESTDIR}${PREFIX}/lib/xmlada/static
                     43: DEPENDS+=      ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
1.17      adam       44: PYTHON_VERSIONS_INCOMPATIBLE=  34 35 36 37 # not yet ported as of 4.4.0.0
1.6       marino     45:
                     46: post-install:
                     47:        # There is no reason to install sphinx source files
                     48:        ${RM} -rf ${DESTDIR}${PREFIX}/share/doc/xmlada/_sources
                     49:        # Fix static library permissions
                     50:        ${CHMOD} a-x ${DESTSTATIC}/libxmlada_dom.a \
                     51:                     ${DESTSTATIC}/libxmlada_input_sources.a \
                     52:                     ${DESTSTATIC}/libxmlada_sax.a \
                     53:                     ${DESTSTATIC}/libxmlada_schema.a \
                     54:                     ${DESTSTATIC}/libxmlada_unicode.a
                     55:
                     56: .include "../../lang/python/application.mk"
1.1       drochner   57: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>