1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/textproc/xmlada/Makefile
Baptiste Daroussin 295c6a5bba Update to use USES=ada
Additionally potential rpath problems have been eliminated that will appear when xmlada is built in a staging area (seen and fixed in pkgsrc). This eliminates need for ldconfig, too.

PR:		ports/178144
Submitted by:	John Marino <draco@marino.st>
2013-04-30 11:49:57 +00:00

36 lines
995 B
Makefile

# Created by: John Marino <draco@marino.st>
# $FreeBSD$
PORTNAME= xmlada
PORTVERSION= 4.2.0.0
PORTREVISION= 1
CATEGORIES= textproc
MASTER_SITES= http://downloads.dragonlace.net/src/
MAINTAINER= draco@marino.st
COMMENT= Adacore XML suite for the Ada language
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_BZIP2= yes
USES= ada
LICENSE= GPLv2
MAKE_JOBS_UNSAFE= yes
# Link options were added for 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
post-patch:
@${REINPLACE_CMD} -e "s,@ADDITIONAL_RPATH@,${LOCALBASE}/lib," \
${WRKSRC}/sax/sax.gpr \
${WRKSRC}/dom/dom.gpr \
${WRKSRC}/schema/schema.gpr \
${WRKSRC}/input_sources/input_sources.gpr
.include <bsd.port.mk>