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
This commit is contained in:
Steve Price 2000-02-28 00:47:16 +00:00
parent 95805cdb28
commit 57c2bed734
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26397
3 changed files with 49 additions and 6 deletions

View file

@ -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

View file

@ -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

38
math/pari/pkg-plist.emacs Normal file
View file

@ -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