blob: 56230fbd0ffd638ea3eaae9b95e5891df4aa748e (
plain) (
tree)
|
|
# ex:ts=8
# Ports collection makefile for: xloops
# Date created: Oct 15, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= xloops-ginac
PORTVERSION= 0.1.3
PORTREVISOIN= 2
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.5:${PORTSDIR}/math/GiNaC
USE_GMAKE= yes
USE_LIBTOOL= yes
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>
|