aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2007-04-24 00:50:33 +0000
committergrozin <grozin@32389bae-6d03-0410-99cf-db05cde120eb>2007-04-24 00:50:33 +0000
commitfb42ae9accf77fcdcbd9f41ad4c121c03ccd3ddf (patch)
tree933610edc5be860b1a07e9ce0c8eb8acd7468158 /dev-lang/aldor/aldor-1.1.0_rc.ebuild
parentjdk dep for vtk (diff)
downloadsci-fb42ae9accf77fcdcbd9f41ad4c121c03ccd3ddf.tar.gz
sci-fb42ae9accf77fcdcbd9f41ad4c121c03ccd3ddf.tar.bz2
sci-fb42ae9accf77fcdcbd9f41ad4c121c03ccd3ddf.zip
minor cleanup
git-svn-id: http://overlays.gentoo.org/svn/proj/science/overlay@567 32389bae-6d03-0410-99cf-db05cde120eb
Diffstat (limited to 'dev-lang/aldor/aldor-1.1.0_rc.ebuild')
-rw-r--r--dev-lang/aldor/aldor-1.1.0_rc.ebuild9
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-lang/aldor/aldor-1.1.0_rc.ebuild b/dev-lang/aldor/aldor-1.1.0_rc.ebuild
index f508234d0..e47dada02 100644
--- a/dev-lang/aldor/aldor-1.1.0_rc.ebuild
+++ b/dev-lang/aldor/aldor-1.1.0_rc.ebuild
@@ -73,6 +73,9 @@ ALDORROOT=/opt/${PN}/linux/${PV0}
PATH=/opt/${PN}/linux/${PV0}/bin
EOF
doenvd 64aldor
+ dodir "/opt/${PN}/${PV0}"
+ dosym "/opt/${PN}/linux/${PV0}" "/opt/${PN}/${PV0}/linux"
+ dosym `which ar` "/opt/${PN}/linux/${PV0}/bin/uniar"
if use doc; then
insinto "/usr/share/doc/aldor-${PV}"
doins *.pdf
@@ -84,15 +87,9 @@ EOF
}
pkg_postinst() {
- mkdir "${ROOT}opt/${PN}/${PV0}"
- ln -s "${ROOT}opt/${PN}/linux/${PV0}" "${ROOT}opt/${PN}/${PV0}/linux"
- ln -s `which ar` "${ROOT}opt/${PN}/linux/${PV0}/bin/uniar"
use emacs && elisp-site-regen
}
pkg_prerm() {
- rm -f "${ROOT}opt/${PN}/${PV0}/linux"
- rmdir "${ROOT}opt/${PN}/${PV0}"
- rm -f "${ROOT}opt/${PN}/linux/${PV0}/bin/uniar"
[ -f "${SITELISP}/site-gentoo.el" ] && elisp-site-regen
}