summaryrefslogtreecommitdiff
path: root/math/otter/Makefile
blob: 7e8ad69e8d9900a0f23fe675993b19899cd68fc8 (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
35
36
37
38
39
40
# $NetBSD: Makefile,v 1.4 2001/04/14 21:43:54 jtb Exp $
#
#  XXX  Otter doesn't respect CFLAGS because -O2 optimization causes
#	the program to malfunction (-O is fine).

DISTNAME=	otter-3.0.6
CATEGORIES=	math
MASTER_SITES=	ftp://info.mcs.anl.gov/pub/Otter/

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.mcs.anl.gov/AR/otter/
COMMENT=	Automated Deduction System

WRKSRC=		${WRKDIR}/${PKGNAME}/source

ALL_TARGET=	otter

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/otter ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/otter
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/otter
	@(cd ${WRKDIR}/${PKGNAME};					\
	for r in Announce Changelog Copying README*;			\
	do								\
	${INSTALL_DATA} $$r ${PREFIX}/share/doc/otter;			\
	done;								\
	for d in auto fringe ivy kalman misc program split wos;		\
	do								\
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/otter/$$d;		\
	${INSTALL_DATA} examples/$$d/* ${PREFIX}/share/examples/otter/$$d;\
	done;								\
	for p in Run_all objects summary;				\
	do								\
	${INSTALL_SCRIPT} examples/$$p ${PREFIX}/share/examples/otter/$$p;\
	done;								\
	${INSTALL_DATA} examples/README ${PREFIX}/share/examples/otter;	\
	${INSTALL_DATA} ${WRKDIR}/${PKGNAME}/document/* 		\
	${PREFIX}/share/doc/otter)

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