summaryrefslogtreecommitdiff
path: root/math/openaxiom/Makefile
blob: 4ab8e990de5ba790f6e93c2b82e94d85d0d5490a (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
32
# $NetBSD: Makefile,v 1.4 2009/12/16 01:54:13 asau Exp $
#

DISTNAME=		open-axiom-1.3.0
PKGNAME=		${DISTNAME:S/open-/open/}
CATEGORIES=		math
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE:=open-axiom/}
EXTRACT_SUFX=		.tar.bz2

MAINTAINER=		asau@inbox.ru
HOMEPAGE=		http://www.open-axiom.org/
COMMENT=		Platform for symbolic, algebraic, and numerical computations

PKG_DESTDIR_SUPPORT=	user-destdir
MAKE_JOBS_SAFE=		no

GNU_CONFIGURE=		yes
USE_TOOLS+=		gmake makeinfo awk:run
BUILD_DEPENDS+=		noweb-[0-9]*:../../devel/noweb

CONFIGURE_ENV=		HOST_AWK=${TOOLS_PLATFORM.awk:Q}
BUILD_MAKE_FLAGS+=	TOOLS_PLATFORM.install=${TOOLS_PLATFORM.install:Q}

.include "options.mk"

SUBST_CLASSES+=			dragonfly
SUBST_STAGE.dragonfly=		post-patch
SUBST_MESSAGE.dragonfly=	Fixing BSD Family pattern
SUBST_FILES.dragonfly+=		configure
SUBST_SED.dragonfly=		-e 's/\*bsd\*)/*bsd*|*dragonfly*)/'

.include "../../mk/bsd.pkg.mk"