diff options
author | steve <steve@FreeBSD.org> | 2000-02-28 08:47:16 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-02-28 08:47:16 +0800 |
commit | 7c2d39eae07bd47a145c7248d56c6ce617ce238f (patch) | |
tree | 8846ed40e2e942cdefcb79a0d521033081cfb211 /math | |
parent | a7a7a39754c0771973b35cbef3511f861e37759f (diff) | |
download | freebsd-ports-gnome-7c2d39eae07bd47a145c7248d56c6ce617ce238f.tar.gz freebsd-ports-gnome-7c2d39eae07bd47a145c7248d56c6ce617ce238f.tar.zst freebsd-ports-gnome-7c2d39eae07bd47a145c7248d56c6ce617ce238f.zip |
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
Diffstat (limited to 'math')
-rw-r--r-- | math/pari/Makefile | 5 | ||||
-rw-r--r-- | math/pari/pkg-plist | 12 | ||||
-rw-r--r-- | math/pari/pkg-plist.emacs | 38 |
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 |