summaryrefslogtreecommitdiff
path: root/math/gap/gap.package.mk
blob: 1cd61f578cf1ea5c4160b597fef328794f84dbfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# $NetBSD: gap.package.mk,v 1.8 2003/03/28 21:24:25 wiz Exp $
#
# Set GAP_PKG_NAME in your Makefile. More may appear here later.

# Note that between nb1 == bug fix 3 and nb2 == bug fix 4 there are
# some interface changes

DEPENDS+=       	gap>=4.3nb6:../../math/gap
GAP_DIRECTORY=  	${LOCALBASE}/lib/gap4.3
GAP_PKG_ROOT=		${GAP_DIRECTORY}/pkg
GAP_PKG_DIRECTORY=	${GAP_PKG_ROOT}/${GAP_PKG_NAME}
GAP_PLATFORM=   	${MACHINE_GNU_PLATFORM}-cc

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == SunOS
GAP_PLATFORM=   ${MACHINE_GNU_PLATFORM}2-${CC}
.endif

PLIST_SUBST=    GAP_PLATFORM=${GAP_PLATFORM}