1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Update to 1c3

- Add LICENSE
- Support STAGEDIR
- While I'm here, pet stage-qa: fix STAGEDIR-prefix

Changes:	http://cvs.savannah.gnu.org/viewvc/*checkout*/jacal/jacal/ChangeLog
PR:		188157
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2014-04-06 05:51:57 +00:00
parent b245dd1bcb
commit 2a8826c2a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350338
5 changed files with 25 additions and 41 deletions

View File

@ -2,13 +2,15 @@
# $FreeBSD$
PORTNAME= jacal
PORTVERSION= 1c2
PORTVERSION= 1c3
CATEGORIES= math
MASTER_SITES= http://groups.csail.mit.edu/mac/ftpdir/scm/
MAINTAINER= 5u623l20@gmail.com
COMMENT= Symbolic mathematics program written in Scheme
LICENSE= GPLv3
RUN_DEPENDS= scm:${PORTSDIR}/lang/scm \
${LOCALBASE}/share/slib/require.scm:${PORTSDIR}/lang/slib
@ -17,14 +19,15 @@ WRKSRC= ${WRKDIR}/jacal
USES= gmake perl5 zip
NO_BUILD= yes
MAN1= jacal.1
INFO= jacal
NO_STAGE= yes
do-configure:
cd ${WRKSRC}; \
${FIND} . -type f -exec ${PERL} -spi -e 's|%%PREFIX%%|${PREFIX}|' {} ';'
cd ${WRKSRC}; \
./configure
post-install:
${SED} -i '' -e 's|${STAGEDIR}${PREFIX}|${PREFIX}|g' ${STAGEDIR}${PREFIX}/bin/jacal
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (jacal-1c2.zip) = 8bf0b52fe694927df26d896e81eb8ed6d9e9f79aac68f552b429616ad64adb9d
SIZE (jacal-1c2.zip) = 285025
SHA256 (jacal-1c3.zip) = 3ef253980ed303e30a3be4bb1e5a39aaa957e040d65d55d5b891483c7e22f9c3
SIZE (jacal-1c3.zip) = 287032

View File

@ -1,14 +1,6 @@
--- Makefile.orig 2012-03-28 01:06:27.000000000 +0600
+++ Makefile 2012-03-28 01:06:39.000000000 +0600
@@ -19,7 +19,6 @@
INSTALL = install
INSTALL_PROGRAM = ${INSTALL}
INSTALL_DATA = ${INSTALL} -m 644
-INSTALL_INFO = ginstall-info
CHPAT = $(HOME)/bin/chpat
MAKEDEV = $(MAKE) -f $(HOME)/makefile.dev
@@ -45,9 +44,6 @@
@@ -51,9 +51,6 @@
# ./configure --distdir=${HOME}/dist/ --snapdir=${HOME}/pub/ --docdir=${HOME}/public_html/
@ -18,7 +10,7 @@
include config.status
prevdocsdir = prevdocs/
@@ -80,9 +76,6 @@
@@ -86,9 +83,6 @@
mkdir -p $(DESTDIR)$(jacallibdir)
mkdir -p $(DESTDIR)$(bindir)
mkdir -p $(DESTDIR)$(infodir)
@ -28,20 +20,7 @@
jacal.dvi: jacal.texi version.txi
$(TEXI2DVI) -b -c $<
@@ -100,10 +93,8 @@
install-pdf: jacal.pdf installdirs
$(INSTALL_DATA) $< $(DESTDIR)$(pdfdir)
-jacal_toc.html: jacal.texi version.txi
- $(TEXI2HTML) $<
-html: jacal_toc.html
-$(DESTDIR)$(htmldir)jacal_toc.html: jacal_toc.html
+$(DESTDIR)$(htmldir)jacal_toc.html: jacal.texi version.txi
+ $(TEXI2HTML) $<
-rm -f jacal_stoc.html
if [ -f $(prevdocsdir)jacal_toc.html ]; \
then hitch $(prevdocsdir)jacal_\*.html jacal_\*.html \
@@ -124,16 +115,9 @@
@@ -142,16 +136,9 @@
cd DOC/; pdflatex ratint.tex
$(INSTALL_DATA) DOC/ratint.pdf $(DESTDIR)$(pdfdir)
@ -55,13 +34,13 @@
- $(INSTALL_DATA) $< $@
- -$(INSTALL_INFO) $@ $(DESTDIR)$(infodir)dir
- -rm $(DESTDIR)$(infodir)-jacal.info.gz
+$(DESTDIR)$(infodir)jacal.info: jacal.texi version.txi
+ $(MAKEINFO) $< --no-split -o jacal.info
+$(DESTDIR)$(infodir)jacal.info: jacal.texi version.txi
+ $(MAKEINFO) $< --no-split -o jacal.info
+ $(INSTALL_DATA) jacal.info $@
install-info: $(DESTDIR)$(infodir)jacal.info
info: install-info
$(DESTDIR)$(infodir)jacal.info.gz: $(DESTDIR)$(infodir)jacal.info
@@ -177,7 +161,6 @@
@@ -195,7 +182,6 @@
$(INSTALL_DATA) go-scm $(DESTDIR)$(jacallibdir)go.scm
rm go-scm
echo '#! /bin/sh' > jacal-script

View File

@ -1,11 +1,11 @@
--- jacal.sh.orig Wed Jun 22 03:52:36 2005
+++ jacal.sh Mon Jul 11 08:02:25 2005
@@ -98,6 +98,8 @@
SCHEME_LIBRARY_PATH=/usr/local/lib/slib/
elif [ -d /usr/share/slib/ ]; then
SCHEME_LIBRARY_PATH=/usr/share/slib/
+ elif [ -d %%PREFIX%%/lib/slib/ ]; then
+ export SCHEME_LIBRARY_PATH=%%PREFIX%%/lib/slib/
fi
export SCHEME_LIBRARY_PATH
fi;;
@@ -107,6 +107,8 @@
SCHEME_LIBRARY_PATH=/usr/local/lib/slib/
elif [ -d /usr/share/slib/ ]; then
SCHEME_LIBRARY_PATH=/usr/share/slib/
+ elif [ -d %%PREFIX%%/lib/slib/ ]; then
+ export SCHEME_LIBRARY_PATH=%%PREFIX%%/lib/slib/
fi
export SCHEME_LIBRARY_PATH
fi;;

View File

@ -6,6 +6,7 @@ lib/jacal/Makefile
lib/jacal/builtin.scm
lib/jacal/combin.scm
lib/jacal/debug.scm
lib/jacal/decompose.scm
lib/jacal/elim.scm
lib/jacal/ext.scm
lib/jacal/factors.scm
@ -31,4 +32,5 @@ lib/jacal/unparse.scm
lib/jacal/uv-hensel.scm
lib/jacal/vect.scm
lib/jacal/view.scm
man/man1/jacal.1.gz
@dirrm lib/jacal