mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-18 08:02:48 +00:00
- Update to 12.5.0 [1]
- Install with ${INSTALL_*} - Remove -O from vendor ${CFLAGS} - Remove -s from vendor ${LDFLAGS} - Polish the Makefile [1]: PR: ports/87887 Submitted by: maintainer
This commit is contained in:
parent
f090b6facc
commit
dadda5a563
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=146241
@ -7,7 +7,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= mathomatic
|
||||
PORTVERSION= 12.4.11
|
||||
PORTVERSION= 12.5.0
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= http://www.panix.com/~gesslein/
|
||||
EXTRACT_SUFX= .tgz
|
||||
@ -15,20 +15,25 @@ 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'
|
||||
MAKE_ARGS= -DREADLINE
|
||||
USE_REINPLACE= yes
|
||||
|
||||
PLIST_FILES= bin/mathomatic
|
||||
PORTDOCS= am.htm ctips.html index.html manual.htm notes.html changes.txt
|
||||
PORTDOCS= *
|
||||
|
||||
MAN1= mathomatic.1
|
||||
|
||||
pre-configure:
|
||||
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)
|
||||
@${REINPLACE_CMD} -e "s|#%%PORTDOCS%%| |" ${WRKSRC}/makefile
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/changes.txt ${WRKSRC}/doc/* ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
MD5 (mathomatic-12.4.11.tgz) = ee54e976e1a99f8e08fa6c4a4e7924ad
|
||||
SIZE (mathomatic-12.4.11.tgz) = 128156
|
||||
MD5 (mathomatic-12.5.0.tgz) = cefebb73893dd55e7ecadff33464ee18
|
||||
SIZE (mathomatic-12.5.0.tgz) = 128893
|
||||
|
@ -1,20 +0,0 @@
|
||||
--- makefile.orig Sat Sep 10 23:21:26 2005
|
||||
+++ makefile Fri Oct 7 15:03:27 2005
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
prefix = /usr
|
||||
bindir = /usr/local/bin
|
||||
-mandir = $(prefix)/share/man
|
||||
+mandir = $(prefix)/man
|
||||
docdir = $(prefix)/share/doc
|
||||
|
||||
AOUT =mathomatic
|
||||
@@ -42,7 +42,7 @@
|
||||
install -d $(docdir)/mathomatic
|
||||
install -m 0755 $(AOUT) $(bindir)
|
||||
install -m 0644 doc/mathomatic.1 $(mandir)/man1
|
||||
- install -m 0644 changes.txt doc/*.htm doc/*.html $(docdir)/mathomatic
|
||||
+#%%PORTDOCS%%install -m 0644 changes.txt doc/*.htm doc/*.html $(docdir)/mathomatic
|
||||
@echo Install completed.
|
||||
|
||||
uninstall:
|
Loading…
Reference in New Issue
Block a user