aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2006-01-25 11:13:38 +0000
committerbicatali <bicatali@32389bae-6d03-0410-99cf-db05cde120eb>2006-01-25 11:13:38 +0000
commit9b1376360572afd19806059bffaa1055494ea0c2 (patch)
tree48bbc259fc319b8efc96654781655f3e3555c15a
parentadded package dev-python/numdisplay (diff)
downloadsci-9b1376360572afd19806059bffaa1055494ea0c2.tar.gz
sci-9b1376360572afd19806059bffaa1055494ea0c2.tar.bz2
sci-9b1376360572afd19806059bffaa1055494ea0c2.zip
pspp-0.4.0.ebuild: emacs now uses elisp-common stuff
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@71 32389bae-6d03-0410-99cf-db05cde120eb
-rw-r--r--sci-mathematics/pspp/Manifest2
-rw-r--r--sci-mathematics/pspp/pspp-0.4.0.ebuild22
2 files changed, 15 insertions, 9 deletions
diff --git a/sci-mathematics/pspp/Manifest b/sci-mathematics/pspp/Manifest
index b40b8a1ca..5ea4b7bda 100644
--- a/sci-mathematics/pspp/Manifest
+++ b/sci-mathematics/pspp/Manifest
@@ -1,4 +1,4 @@
MD5 3e61d1f96907e321207198abf4bfcdf9 ChangeLog 354
MD5 a98a19c7e550d46ae7edc230ab73d7f9 files/digest-pspp-0.4.0 63
MD5 db6b7bcfdff65546db2b62be1a72fe93 metadata.xml 257
-MD5 1fa2b95c25bcf36127243574c3d50d14 pspp-0.4.0.ebuild 1200
+MD5 1bb33e8e281b3c8cf0908d5859c6177d pspp-0.4.0.ebuild 1228
diff --git a/sci-mathematics/pspp/pspp-0.4.0.ebuild b/sci-mathematics/pspp/pspp-0.4.0.ebuild
index 87d639873..bc6d97757 100644
--- a/sci-mathematics/pspp/pspp-0.4.0.ebuild
+++ b/sci-mathematics/pspp/pspp-0.4.0.ebuild
@@ -2,6 +2,8 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+inherit elisp-common
+
DESCRIPTION="PSPP is a program for statistical analysis of sampled data."
HOMEPAGE="http://www.gnu.org/software/pspp/pspp.html"
SRC_URI="ftp://ftp.gnu.org/pub/gnu/${PN}/${P}.tar.gz"
@@ -19,9 +21,9 @@ DEPEND=">=sci-libs/gsl-1.6
src_compile() {
econf \
- $(use_with plotutils ) \
- $(use_with ncurses ) \
- $(use_enable nls ) \
+ $(use_with plotutils) \
+ $(use_with ncurses) \
+ $(use_enable nls) \
|| die "econf failed"
emake || die "emake failed"
use doc && (emake html || die "make html failed")
@@ -29,7 +31,6 @@ src_compile() {
src_install() {
make DESTDIR="${D}" install || die "make install failed"
- make DESTDIR="${D}" install-man || die "make install-man failed"
dodoc ABOUT-NLS AUTHORS ChangeLog \
INSTALL NEWS ONEWS README THANKS TODO
@@ -40,8 +41,13 @@ src_install() {
dohtml doc/pspp.html/*.html
fi
- if use emacs; then
- insinto /usr/share/emacs/site-lisp
- doins pspp.el
- fi
+ use emacs && elisp-site-file-install pspp-mode.el
+}
+
+pkg_postinst () {
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
}