summaryrefslogtreecommitdiff
path: root/math/ppl/Makefile
blob: 196a2babf845fa0053c0e1dfe819739ada2d03e7 (plain)
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
# $NetBSD: Makefile,v 1.6 2014/02/05 18:04:05 wiz Exp $

DISTNAME=	ppl-1.1
CATEGORIES=	math
#MASTER_SITES=	ftp://gcc.gnu.org/pub/gcc/infrastructure/
MASTER_SITES=	ftp://ftp.cs.unipr.it/pub/ppl/releases/1.1/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.cs.unipr.it/ppl/
COMMENT=	The Parma Polyhedra Library
LICENSE=	gnu-gpl-v3

USE_LIBTOOL=	yes
USE_TOOLS+=	autoconf automake gmake perl
DEPENDS+=	gsed-[0-9]*:../../textproc/gsed

USE_LANGUAGES=	c c++
GNU_CONFIGURE=	yes

MAKE_ENV+=	lt_cv_path_SED=${PREFIX}/bin/gsed
CONFIGURE_ARGS+=	--with-gmp-prefix=${PREFIX}
#CONFIGURE_ARGS+=	--enable-interfaces=c,cxx

do-build:
	set -e; cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE}

TEST_TARGET=	-k check

.include "../../devel/gmp/buildlink3.mk"
.include "../../math/mpfr/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"