aboutsummaryrefslogtreecommitdiffstats
path: root/science/xloops-ginac/Makefile
blob: 20032c5ccd421f289274bb7ca02c39b5996fe375 (plain) (blame)
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
# ex:ts=8
# Ports collection makefile for:    xloops
# Date created:         Oct 15, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   xloops-ginac
PORTVERSION=    0.1.3
PORTREVISION=   8
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.4.0:${PORTSDIR}/math/GiNaC

USE_GNOME=  gnometarget
USE_GMAKE=  yes
USE_AUTOTOOLS=  aclocal:110 autoheader:262 autoconf:262 automake:110 \
        libtool:15
ACLOCAL_ARGS=   -I ${LOCALBASE}/share/aclocal
AUTOMAKE_ARGS=  --add-missing
CONFIGURE_ENV=  CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"

CFLAGS+=    -fpermissive
CPPFLAGS=   -I${LOCALBASE}/include
LDFLAGS=    -L${LOCALBASE}/lib

post-patch:
    @${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||g' ${WRKSRC}/Makefile.am

.include <bsd.port.mk>