summaryrefslogtreecommitdiffstats
path: root/math/mathomatic/Makefile
blob: d5bb1bf4e26ccf87566e437c49e8ef2c279fa833 (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
# ex: ts=8 sts=0 noet
# 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.1.e
CATEGORIES=	math
MASTER_SITES=	http://www.panix.com/~gesslein/
EXTRACT_SUFX=	.tgz

MAINTAINER=	neuhauser@sigpipe.cz
COMMENT=	Highly portable, general purpose CAS (Computer Algebra System)

DISTVERSION=	${PORTVERSION:C/\.([[:alpha:]]+)/\1/}
WRKSRC=		${WRKDIR}/${DISTNAME}
MAKEFILE=	makefile
MAKE_ARGS+=	-DREADLINE prefix=${PREFIX} docdir='$$(prefix)/share/doc'
USE_REINPLACE=	yes

PLIST_FILES=	bin/mathomatic
PORTDOCS=	am.htm ctips.html index.html manual.htm notes.htm

MAN1=		mathomatic.1

pre-configure:
.if !defined(NOPORTDOCS)
	@${REINPLACE_CMD} -e "s|#%%PORTDOCS%%|	|" ${WRKSRC}/makefile
.endif

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