diff options
author | Ulrich Müller <ulm@gentoo.org> | 2009-03-01 16:10:11 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2009-03-01 16:10:11 +0000 |
commit | cd3895950f61aebe18c7480cbe8a37c609610b08 (patch) | |
tree | f18866b6bdca009630b8aec9843bf4576ebd76fb /app-emacs/cedet | |
parent | Set LICENSE to Kannel. (diff) | |
download | historical-cd3895950f61aebe18c7480cbe8a37c609610b08.tar.gz historical-cd3895950f61aebe18c7480cbe8a37c609610b08.tar.bz2 historical-cd3895950f61aebe18c7480cbe8a37c609610b08.zip |
Replace basename and dirname by their shell equivalents.
Package-Manager: portage-2.2_rc23/cvs/Linux i686
Diffstat (limited to 'app-emacs/cedet')
-rw-r--r-- | app-emacs/cedet/Manifest | 8 | ||||
-rw-r--r-- | app-emacs/cedet/cedet-1.0_pre6.ebuild | 25 |
2 files changed, 17 insertions, 16 deletions
diff --git a/app-emacs/cedet/Manifest b/app-emacs/cedet/Manifest index 91ae7e520382..60023c2971c4 100644 --- a/app-emacs/cedet/Manifest +++ b/app-emacs/cedet/Manifest @@ -8,13 +8,13 @@ AUX 60cedet-gentoo.el 269 RMD160 8772de35d81f0f8f3853bf17d9aee9787bd7d96a SHA1 5 DIST cedet-1.0pre4.tar.gz 1452946 RMD160 db09e6b5ae6bf3f9a357b4baf85447bd1ce80437 SHA1 586bc98f881cdd8e5d97d61b9c82a115f251a461 SHA256 9bead2d8e7e5f1ddb07b18674216c7ec85418fa29d14355c247de58666dc2c64 DIST cedet-1.0pre6.tar.gz 1895977 RMD160 9c82cdb47d7141703825cdc976dd47984b5b4750 SHA1 e8978695e0a552e1d9484721172ce0251658900c SHA256 abb7fbe7964e2df66848e8a72158c9837414c9467545fc3a13412d2a33296d5f EBUILD cedet-1.0_pre4-r2.ebuild 1766 RMD160 427cbc7ec1ced36b6dfdd8b14c27e1fc58a8cb04 SHA1 83ca2aaa348eb54f71b9ef35a8ec121ab221765c SHA256 0e0c59fee7dc0eecaff2206f91ccae04f649196ac02a7b34fb3a55b7401fd693 -EBUILD cedet-1.0_pre6.ebuild 1804 RMD160 262a18da86829fb33ff376b6da3b872f1fa80db8 SHA1 ebeaabc4a834079c2a13616760550a0584ddeeb7 SHA256 712bdbd120f45104952542606556ccb03b6254ded9466b69c3fbee701c9fec77 +EBUILD cedet-1.0_pre6.ebuild 1718 RMD160 6fc265c0d1b8647dd3ff363b263d46482efe1cb4 SHA1 69f2005ea3f07c4a2a772542c862fd40f4f7ec80 SHA256 65e589c6547143bac309e22ad94f3c2e34e3c3fe3cf044626e5aa169dfe520c5 MISC ChangeLog 5625 RMD160 824ba4ad2ce8a28ee3a0d31dbd413531e7c13bcb SHA1 9864ae31d9a589fd56989aae547c8f733b4cb93e SHA256 00aece75a7f87b69c5c1217a8a441ad1036e6d9c6e15c38ef0eebdc4224742a5 MISC metadata.xml 831 RMD160 742d588c9f37c4639acf627470e88e8da5c9e8c4 SHA1 315ec457e01f99f17211cf7229a17caec0ff3bf6 SHA256 3ef03457bb7af19d84fdd463e7a780ee79fa2812f5bd04fe5b15064d648b2999 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) -iEYEARECAAYFAkmqrDsACgkQOeoy/oIi7uy4FwCdEOcsqvEm52nFvZU/8q36hzt7 -vT8An1zzL9Hqjt+IWB6VJRzOBhm26IzU -=pzUO +iEYEARECAAYFAkmqs64ACgkQOeoy/oIi7uz4YACgwROgsD/WOOnnqNBMaQVt2bGh +3UcAnRWi+ckfqnWBRg5zcvfpffWLfe72 +=wbkk -----END PGP SIGNATURE----- diff --git a/app-emacs/cedet/cedet-1.0_pre6.ebuild b/app-emacs/cedet/cedet-1.0_pre6.ebuild index 221a21454fb5..4f4c42aeef36 100644 --- a/app-emacs/cedet/cedet-1.0_pre6.ebuild +++ b/app-emacs/cedet/cedet-1.0_pre6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/cedet-1.0_pre6.ebuild,v 1.1 2009/03/01 15:38:25 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/cedet/cedet-1.0_pre6.ebuild,v 1.2 2009/03/01 16:10:11 ulm Exp $ NEED_EMACS=22 @@ -33,30 +33,31 @@ src_test() { } src_install() { + local target file dir find . -type d -name tests -prune -o -type f -print | while read target do - local directory=$(dirname ${target}) file=$(basename ${target}) - local sub_directory=$(echo ${directory} | sed "s%^${S}/*%%;s/^$/./") - case $file in + file=${target##*/} + dir=${target%/*}; dir=${dir#./} + case "${file}" in *~ | Makefile | *.texi | *-script | PRERELEASE_CHECKLIST \ | Project.ede | USING_CEDET_FROM_CVS | grammar-fw-ov.txt) ;; ChangeLog | README | AUTHORS | *NEWS | INSTALL \ | renamelist.txt | semanticdb.sh) - docinto ${sub_directory} - dodoc ${target} || die ;; + docinto "${dir}" + dodoc "${target}" || die ;; *.el | *.elc | *.by | *.wy) # install grammar sources along with the elisp files, since # the location where semantic expects them is not configurable - insinto ${SITELISP}/${PN}/${sub_directory} - doins ${target} || die ;; + insinto "${SITELISP}/${PN}/${dir}" + doins "${target}" || die ;; *.srt | *.xpm) - insinto ${SITEETC}/${PN}/${sub_directory} - doins ${target} || die ;; + insinto "${SITEETC}/${PN}/${dir}" + doins "${target}" || die ;; *.info* | grammar-fw-ov.png) - doinfo ${target} || die ;; + doinfo "${target}" || die ;; *) - die "Unrecognised file ${sub_directory}/${file}" ;; + die "Unrecognised file ${target}" ;; esac done |