1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/science/xloops-ginac/Makefile
Ade Lovett 3f651573ad Whoa there, boy, that's a mighty big commit y'all have there...
Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
2004-03-14 06:17:56 +00:00

41 lines
1.0 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: xloops
# Date created: Oct 15, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= xloops-ginac
PORTVERSION= 0.1.3
PORTREVISION= 1
PORTREVISOIN= 3
CATEGORIES= science
MASTER_SITES= http://wwwthep.physik.uni-mainz.de/~xloops/
MAINTAINER= ports@FreeBSD.org
COMMENT= A program calculating Feynman diagrams
LIB_DEPENDS= ginac-1.1.6:${PORTSDIR}/math/GiNaC
USE_GMAKE= yes
USE_LIBTOOL_VER=13
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
MAKE_ARGS= ACLOCAL="${TRUE}" AUTOCONF="${TRUE}" AUTOMAKE="${TRUE}" \
AUTOHEADER="${TRUE}"
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500035
BUILD_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
RUN_DEPENDS+= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
CPPFLAGS+= -I${LOCALBASE}/include/stlport ${PTHREAD_CFLAGS}
LDFLAGS+= -lstlport_gcc ${PTHREAD_LIBS}
.endif
.include <bsd.port.post.mk>