aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-util/cmt/Manifest2
-rw-r--r--dev-util/cmt/cmt-1.18.20060301.ebuild10
2 files changed, 8 insertions, 4 deletions
diff --git a/dev-util/cmt/Manifest b/dev-util/cmt/Manifest
index 4df8f33f4..bb238ed8e 100644
--- a/dev-util/cmt/Manifest
+++ b/dev-util/cmt/Manifest
@@ -1,5 +1,5 @@
MD5 7c5a35c8be2d3b143210eaf8d64388ff ChangeLog 288
-MD5 d55ec37b624382cab0687b48674ca525 cmt-1.18.20060301.ebuild 1607
+MD5 7677533087802175507664442dd86205 cmt-1.18.20060301.ebuild 1695
MD5 114d61e10aa17f3b71985c584c8ebcd7 files/80cmt-mode-gentoo.el 205
MD5 4831b6bacc528a3d94b4abc5099bcab7 files/digest-cmt-1.18.20060301 69
MD5 2c2d668d98add1b58ce77ea24f619547 metadata.xml 680
diff --git a/dev-util/cmt/cmt-1.18.20060301.ebuild b/dev-util/cmt/cmt-1.18.20060301.ebuild
index e680379a4..3305df300 100644
--- a/dev-util/cmt/cmt-1.18.20060301.ebuild
+++ b/dev-util/cmt/cmt-1.18.20060301.ebuild
@@ -17,7 +17,8 @@ KEYWORDS="~amd64 ~x86"
IUSE="java doc"
S=${WORKDIR}/CMT/${CMT_PV}
-CMTDIR=/usr/share/${PN}/${CMT_PV}
+CMTDIR=/usr/share/CMT/${CMT_PV}
+
src_compile() {
cd ${S}/mgr
@@ -33,16 +34,19 @@ src_install() {
sed -i -e "s:${S}:${CMTDIR}:" mgr/setup.{sh,csh}
dodir ${CMTDIR}
cp -pPR mgr src "${D}"/${CMTDIR}
- exeinto /usr/bin
- newexe ${CMTCONFIG}/cmt.exe cmt
echo "CMTROOT=${CMTDIR}" > 99cmt
echo "CMTBIN=`uname`-`uname -m | sed -e 's# ##g'`" >> 99cmt
echo "CMTCONFIG=`${CMTROOT}/mgr/cmt_system.sh`" >> 99cmt
+ rm -f ${CMTBIN}/*.o
+ cp -pPR ${CMTBIN} "${D}"/${CMTDIR}
+ dodir /usr/bin
+ dosym ${CMTDIR}/${CMTBIN}/cmt.exe /usr/bin/cmt
if use java; then
echo "#!/bin/sh" > jcmt
echo "java cmt_parser" >> jcmt
+ exeinto /usr/bin
doexe jcmt
echo "CLASSPATH=${CLASSPATH}:${CMTDIR}/java/cmt.jar" >> 99cmt
fi