blob: 429af91a988d40d5020543b920a082a895299019 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: Makefile,v 1.5 2012/10/25 06:57:07 asau Exp $
#
DISTNAME= xmlada-${XMLADA_VERS}
PKGREVISION= 2
CATEGORIES= textproc
MASTER_SITES= http://downloads.dragonlace.net/src/ \
http://dragonlace.mirrors.ada.cx/src/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= draco@marino.st
HOMEPAGE= http://libre.adacore.com/libre/tools/xmlada/
COMMENT= Adacore XML suite for the Ada language
LICENSE= gnu-gpl-v2
XMLADA_VERS= 4.2.0.0
GNU_CONFIGURE= yes
USE_LANGUAGES= c ada
USE_TOOLS= gmake makeinfo
MAKE_JOBS_SAFE= no
# Link options were added for the sax, dom, schema, and input_sources libraries
# "-R" option disables all rpaths except adalib and compiler libs. This is
# done because by default the rpaths will points at the WRKOBJDIR because
# 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_STAGE.rpath= pre-configure
SUBST_MESSAGE.rpath= Adjust rpaths of shared libraries
SUBST_FILES.rpath= sax/sax.gpr
SUBST_FILES.rpath+= dom/dom.gpr
SUBST_FILES.rpath+= input_sources/input_sources.gpr
SUBST_FILES.rpath+= schema/schema.gpr
SUBST_SED.rpath= -e "s,@ADDITIONAL_RPATH@,${PREFIX}/lib,"
.include "../../mk/bsd.pkg.mk"
|