1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/math/mathomatic/Makefile
2007-03-24 09:23:00 +00:00

41 lines
931 B
Makefile

# 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.11
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>