aboutsummaryrefslogtreecommitdiffstats
path: root/math/pari
diff options
context:
space:
mode:
authorsada <sada@FreeBSD.org>1999-04-04 07:35:38 +0800
committersada <sada@FreeBSD.org>1999-04-04 07:35:38 +0800
commitac228562fc152709c55b53b7f222b8931f4cfc0d (patch)
tree9e8ecd3ee2ef138fdc80ca96d4c3199566cacde8 /math/pari
parenta477fa7c1a8cb39fb4351d3846b7e050b4d6b23a (diff)
downloadfreebsd-ports-graphics-ac228562fc152709c55b53b7f222b8931f4cfc0d.tar.gz
freebsd-ports-graphics-ac228562fc152709c55b53b7f222b8931f4cfc0d.tar.zst
freebsd-ports-graphics-ac228562fc152709c55b53b7f222b8931f4cfc0d.zip
Remove dependency to emacs. The pr was sent from the maintainer.
Submitted by: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
Diffstat (limited to 'math/pari')
-rw-r--r--math/pari/files/patch-af21
-rw-r--r--math/pari/pkg-plist2
2 files changed, 22 insertions, 1 deletions
diff --git a/math/pari/files/patch-af b/math/pari/files/patch-af
new file mode 100644
index 00000000000..aafd718b222
--- /dev/null
+++ b/math/pari/files/patch-af
@@ -0,0 +1,21 @@
+--- config/Makefile.SH.orig Sun Apr 4 08:01:45 1999
++++ config/Makefile.SH Sun Apr 4 08:04:28 1999
+@@ -373,13 +373,13 @@
+
+ if test -n "$emacs"; then
+ cat >> $file << EOT
+-$pari_elc: $emx/pari.el
+- @echo "Byte-Compiling pari.el..."
+- -cd $emx; $emacs -batch -l compile
++#$pari_elc: $emx/pari.el
++# @echo "Byte-Compiling pari.el..."
++# -cd $emx; $emacs -batch -l compile
+
+-$install_emacs_files: $pari_elc
++$install_emacs_files: #$pari_elc
+ -mkdir -p \$(MISCDIR)
+- -\$(INSTALL_DATA) $pari_elc \$(MISCDIR)
++# -\$(INSTALL_DATA) $pari_elc \$(MISCDIR)
+ \$(INSTALL_DATA) $emx/pari.el \$(MISCDIR)
+ # otherwise Warning from emacs (file not writeable)
+ \$(INSTALL) -m 666 $emx/pari.menu \$(MISCDIR)
diff --git a/math/pari/pkg-plist b/math/pari/pkg-plist
index f58f8b0cac5..b3ea508b4e8 100644
--- a/math/pari/pkg-plist
+++ b/math/pari/pkg-plist
@@ -22,7 +22,7 @@
./include/pari/paridecl.h
./bin/gp-2.0
./bin/gp
-@exec /bin/mkdir %D/lib/pari %D/include/pari
+@exec /bin/mkdir -p %D/lib/pari %D/include/pari %D/lib/pari/data
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@unexec /bin/rmdir %D/lib/pari/data