summaryrefslogtreecommitdiff
path: root/math/pari
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-02-28 00:47:16 +0000
committerSteve Price <steve@FreeBSD.org>2000-02-28 00:47:16 +0000
commit57c2bed734e545c792b18b46f115c652d1563252 (patch)
treea8263c9b0446cb5fc46eaa5dd3d02bc16a806679 /math/pari
parentUpdate to 0.29.1 (diff)
On second thought (and with a light prod) install the pari-mode files if
the user has Emacs installed on their box. Hopefully now it does the right thing in either case. Suggested by: billf
Notes
Notes: svn path=/head/; revision=26397
Diffstat (limited to 'math/pari')
-rw-r--r--math/pari/Makefile5
-rw-r--r--math/pari/pkg-plist12
-rw-r--r--math/pari/pkg-plist.emacs38
3 files changed, 49 insertions, 6 deletions
diff --git a/math/pari/Makefile b/math/pari/Makefile
index 60226a6728a6..a8dfea709324 100644
--- a/math/pari/Makefile
+++ b/math/pari/Makefile
@@ -26,6 +26,11 @@ MAKE_ARGS= gp
MAN1= gp.1 gphelp.1
MLINKS= gp.1 pari.1
+HAVE_EMACS!= which emacs || echo nope
+.if ${HAVE_EMACS} != "nope"
+PLIST= ${PKGDIR}/PLIST.emacs
+.endif
+
post-install:
${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
diff --git a/math/pari/pkg-plist b/math/pari/pkg-plist
index 613d01fab389..37dc559603eb 100644
--- a/math/pari/pkg-plist
+++ b/math/pari/pkg-plist
@@ -2,28 +2,28 @@ bin/gp
bin/gp-2.0
bin/gphelp
include/pari/genpari.h
-include/pari/paricfg.h
-include/pari/pariinl.h
include/pari/pari.h
-include/pari/paritype.h
include/pari/paricast.h
+include/pari/paricfg.h
include/pari/paricom.h
+include/pari/paridecl.h
include/pari/parierr.h
include/pari/parigen.h
+include/pari/pariinl.h
+include/pari/pariport.h
include/pari/paristio.h
include/pari/parisys.h
-include/pari/pariport.h
-include/pari/paridecl.h
+include/pari/paritype.h
lib/libpari.so
lib/libpari.so.2
lib/libpari.so.2.0.18
@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@exec /bin/mkdir -p %D/lib/pari/data
-lib/pari/translations
lib/pari/Makefile
lib/pari/paricfg.tex
lib/pari/parimacro.tex
+lib/pari/translations
lib/pari/usersch1.tex
lib/pari/usersch2.tex
lib/pari/usersch3.tex
diff --git a/math/pari/pkg-plist.emacs b/math/pari/pkg-plist.emacs
new file mode 100644
index 000000000000..acbe693f0e27
--- /dev/null
+++ b/math/pari/pkg-plist.emacs
@@ -0,0 +1,38 @@
+bin/gp
+bin/gp-2.0
+bin/gphelp
+include/pari/genpari.h
+include/pari/pari.h
+include/pari/paricast.h
+include/pari/paricfg.h
+include/pari/paricom.h
+include/pari/paridecl.h
+include/pari/parierr.h
+include/pari/parigen.h
+include/pari/pariinl.h
+include/pari/pariport.h
+include/pari/paristio.h
+include/pari/parisys.h
+include/pari/paritype.h
+lib/libpari.so
+lib/libpari.so.2
+lib/libpari.so.2.0.18
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+@exec /bin/mkdir -p %D/lib/pari/data
+lib/pari/Makefile
+lib/pari/pari-translator.el
+lib/pari/pari.el
+lib/pari/paricfg.tex
+lib/pari/pariemacs.txt
+lib/pari/parimacro.tex
+lib/pari/translations
+lib/pari/usersch1.tex
+lib/pari/usersch2.tex
+lib/pari/usersch3.tex
+lib/pari/usersch4.tex
+lib/pari/usersch5.tex
+lib/pari/with-syntax.el
+@dirrm include/pari
+@dirrm lib/pari/data
+@dirrm lib/pari