forked from Lainports/freebsd-ports
- Install with ${INSTALL_*}
- Remove -O from vendor ${CFLAGS}
- Remove -s from vendor ${LDFLAGS}
- Polish the Makefile
[1]:
PR: ports/87887
Submitted by: maintainer
39 lines
901 B
Makefile
39 lines
901 B
Makefile
# 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.5.0
|
|
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)
|
|
|
|
MAKEFILE= makefile
|
|
MAKE_ARGS= -DREADLINE
|
|
USE_REINPLACE= yes
|
|
|
|
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>
|