summaryrefslogtreecommitdiffstats
path: root/math/mathomatic/Makefile
blob: 2a61a2fe9cc4a6abfc731bfec1bd7f669c58228c (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
# New ports collection makefile for:	Mathomatic
# Date created:			Tue Mar 22 10:05:25 CET 2005
# Whom:				Roman Neuhauser <neuhauser@sigpipe.cz>
#
# $FreeBSD$
#

PORTNAME=	mathomatic
PORTVERSION=	12.6.3
CATEGORIES=	math
MASTER_SITES=	http://www.panix.com/~gesslein/ \
		http://critical.ch/distfiles/ \
		http://energy.critical.ch/distfiles/

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Highly portable, general purpose CAS (Computer Algebra System)

USE_BZIP2=	yes

MAKEFILE=	makefile
MAKE_ARGS=	-DREADLINE

PLIST_FILES=	bin/mathomatic
PORTDOCS=	*

MAN1=		mathomatic.1

post-patch:
	@${REINPLACE_CMD} -e '/^CFLAGS/ s|-O||; /^LDFLAGS/ s|-s||' \
		${WRKSRC}/makefile

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/mathomatic ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/mathomatic.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/changes.txt ${WRKSRC}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud