summaryrefslogtreecommitdiff
path: root/math/gp-grape/Makefile
blob: 933c50a4c3b5dd00642850b1dce1767e0f650ce9 (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
33
34
# $NetBSD: Makefile,v 1.2 2002/12/22 17:43:49 cjep Exp $
#

DISTNAME=	grape4r1
PKGNAME=	gp-grape-4.1
CATEGORIES=	math
MASTER_SITES=	http://www.maths.qmul.ac.uk/~leonard/grape4r1/
EXTRACT_SUFX=	.zoo

MAINTAINER=	cjep@netbsd.org
HOMEPAGE=	http://www.gap-system.org/Share/grape.html
COMMENT=	GRAPE (GRape Algorithms using PErmutation groups)

BUILD_DEPENDS+=	zoo-[0-9]*:../../archivers/zoo

EXTRACT_CMD=	${LOCALBASE}/bin/zoo -extract ${DOWNLOADED_DISTFILE}
WRKSRC=		${WRKDIR}/${GAP_PKG_NAME}

ALL_TARGET=	bsd-gcc

GAP_PKG_NAME=	grape

do-configure:
	(cd ${WRKSRC} && ${SH} configure ${GAP_DIRECTORY} )

do-install:
	${INSTALL_PROGRAM_DIR} ${GAP_PKG_DIRECTORY}
	@for I in COPYING bin doc grh htm init.g lib nauty20/read.me 	\
					prs; do				\
		${CP} -R ${WRKSRC}/$$I ${GAP_PKG_DIRECTORY};		\
	done

.include "../../math/gap/gap.package.mk"
.include "../../mk/bsd.pkg.mk"