1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/lang/maude/Makefile
Edwin Groothuis e26e1fd281 Update port: lang/maude 2.2 -> 2.3
Maude 2.3 is compiles under 4.2 again, so port does not
	need to be marked as broken anymore.

	Quite a few hacks to get it installing properly:
	* Coder forgot to include the *.maude files into the
	Makefile.am while porting files into the MixFix directory
	to Main directory. Included again, which explains the current
	need of aclocal and automake to regenerate the Makefiles
	* Project requires MAUDE_LIB env to be set to the location
	of %%DATADIR%% which is quite cumbersome, introduced
	MAUDE_DATA_DIR into the code to get rid of the non handy
	environment variable.

PR:		ports/126438
Submitted by:	Rick van der Zwet <rick@wzoeterwoude.net>
2008-08-15 00:34:02 +00:00

39 lines
906 B
Makefile

# New ports collection makefile for: maude
# Date created: 25 Mar 2005
# Whom: Rick van der Zwet <rick@wzoeterwoude.net>
#
# $FreeBSD$
#
PORTNAME= maude
PORTVERSION= 2.3
CATEGORIES= lang
MASTER_SITES= http://maude.cs.uiuc.edu/versions/${PORTVERSION}/
DISTNAME= Maude-${PORTVERSION}
MAINTAINER= rick@wzoeterwoude.net
COMMENT= A high-performance reflective language
LIB_DEPENDS= bdd:${PORTSDIR}/science/buddy \
tecla:${PORTSDIR}/devel/libtecla \
gmp:${PORTSDIR}/math/libgmp4
USE_BISON= build
USE_AUTOTOOLS= aclocal:19 automake:19
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= --datadir=${DATADIR}
post-patch:
@${REINPLACE_CMD} -e 's|%%DATADIR%%|${DATADIR}|' \
${WRKSRC}/src/Mixfix/global.hh
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= does not compile on 4.X or 5.X
.endif
.include <bsd.port.post.mk>