diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-07-17 04:36:20 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-07-17 04:36:20 +0000 |
commit | e54465cf562a6e19e162085bc9a6750a428a4fa0 (patch) | |
tree | 9b5d3618853a907c069c20bb2277cfa2a5e59c18 /app-editors | |
parent | Fix building with linux-2.6.18 #140674. (diff) | |
download | historical-e54465cf562a6e19e162085bc9a6750a428a4fa0.tar.gz historical-e54465cf562a6e19e162085bc9a6750a428a4fa0.tar.bz2 historical-e54465cf562a6e19e162085bc9a6750a428a4fa0.zip |
Switch nanorc file over to new include system and add some more colorization by Benno Schulenberg #138056.
Package-Manager: portage-2.1.1_pre2-r8
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/nano/ChangeLog | 7 | ||||
-rw-r--r-- | app-editors/nano/Manifest | 26 | ||||
-rw-r--r-- | app-editors/nano/files/gentoo.nanorc | 48 | ||||
-rw-r--r-- | app-editors/nano/nano-1.3.12-r1.ebuild | 21 |
4 files changed, 79 insertions, 23 deletions
diff --git a/app-editors/nano/ChangeLog b/app-editors/nano/ChangeLog index a87be39c101b..1a6dd18c2554 100644 --- a/app-editors/nano/ChangeLog +++ b/app-editors/nano/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-editors/nano # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.119 2006/07/15 02:34:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.120 2006/07/17 04:36:20 vapier Exp $ + + 17 Jul 2006; Mike Frysinger <vapier@gentoo.org> +files/gentoo.nanorc, + nano-1.3.12-r1.ebuild: + Switch nanorc file over to new include system and add some more colorization + by Benno Schulenberg #138056. *nano-1.3.12-r1 (15 Jul 2006) diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest index 6f7260dc528e..cd0516111bf1 100644 --- a/app-editors/nano/Manifest +++ b/app-editors/nano/Manifest @@ -1,6 +1,10 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX gentoo.nanorc 2488 RMD160 a6f63f32b8fb0f6fce016f3eddf0ca66e63cfe1b SHA1 5aec4fb09ca0795b7f7f1f8bec1a270757edd800 SHA256 4adf339744fe2bf4f1bd1217957b5b36d0361293d0cb7a98488eeae05d4237ed +MD5 7d50a4249c66395a87e86e932ccf6420 files/gentoo.nanorc 2488 +RMD160 a6f63f32b8fb0f6fce016f3eddf0ca66e63cfe1b files/gentoo.nanorc 2488 +SHA256 4adf339744fe2bf4f1bd1217957b5b36d0361293d0cb7a98488eeae05d4237ed files/gentoo.nanorc 2488 AUX nano-1.3.10-crash.patch 2409 RMD160 5aa12ba776b5f1be0a906c97bcba5afccd734d36 SHA1 50a01feb7d03d174ea0bcbf3b7953276a932547f SHA256 ea4ac8594bbbe0a2e4305ceca9390dfe72fcb86cb9ac94e2a05c11b1895c3a99 MD5 7151e8b7b8c9267b63a4f9b84148992a files/nano-1.3.10-crash.patch 2409 RMD160 5aa12ba776b5f1be0a906c97bcba5afccd734d36 files/nano-1.3.10-crash.patch 2409 @@ -52,14 +56,14 @@ EBUILD nano-1.3.11-r2.ebuild 2164 RMD160 f04abce3c5125417c2aa3e8d133b1398a012c2e MD5 35862031e410e0c5510565e3acd5a9c6 nano-1.3.11-r2.ebuild 2164 RMD160 f04abce3c5125417c2aa3e8d133b1398a012c2e2 nano-1.3.11-r2.ebuild 2164 SHA256 bca2f6bd56c8528b607fcd6e16ce471bda759d0ba1f2bfdb5e3418d7221df35c nano-1.3.11-r2.ebuild 2164 -EBUILD nano-1.3.12-r1.ebuild 2007 RMD160 fbeb87b4382a52c1b2a40d1501378ae6acf5fa51 SHA1 e26389734ea832da0892b6807099bea44bcec3e4 SHA256 a3ae91bd265d04a435f37b3104487a728ce88d917c4f43803dd643948d35ce9f -MD5 36b321742cd9ef221f48091367b73c2a nano-1.3.12-r1.ebuild 2007 -RMD160 fbeb87b4382a52c1b2a40d1501378ae6acf5fa51 nano-1.3.12-r1.ebuild 2007 -SHA256 a3ae91bd265d04a435f37b3104487a728ce88d917c4f43803dd643948d35ce9f nano-1.3.12-r1.ebuild 2007 -MISC ChangeLog 13668 RMD160 5b4e013534066dc972a3af32460d7724b549764f SHA1 2c1fd976f7004366ad2d4f0cef83d5fb90846556 SHA256 dae23f04844be88a446ea32b94c8a363288a698355501caa84a1b53da4f68404 -MD5 724c93f95afbec9aef0a1c4db546a567 ChangeLog 13668 -RMD160 5b4e013534066dc972a3af32460d7724b549764f ChangeLog 13668 -SHA256 dae23f04844be88a446ea32b94c8a363288a698355501caa84a1b53da4f68404 ChangeLog 13668 +EBUILD nano-1.3.12-r1.ebuild 2029 RMD160 1632b2dd7394b92e82f90e10a08cd1e4de0c3793 SHA1 f9da39dc108646eb5be6fc06050506f02d76ebca SHA256 ede4f2e8dc2dbb01f6f888d082fa25f195c0d3afae683ecae78863fe056f81f3 +MD5 f8541aab90114905f21679959ab80bae nano-1.3.12-r1.ebuild 2029 +RMD160 1632b2dd7394b92e82f90e10a08cd1e4de0c3793 nano-1.3.12-r1.ebuild 2029 +SHA256 ede4f2e8dc2dbb01f6f888d082fa25f195c0d3afae683ecae78863fe056f81f3 nano-1.3.12-r1.ebuild 2029 +MISC ChangeLog 13877 RMD160 d53f578ca98813d17061fa39f6ad78277a4b23fa SHA1 c2cd0832f49a852596a9daa494f140c7f9e4eeb1 SHA256 c12e7a480e7807c91deb6eb897c5933ebad45c1c0023561859aed828501a07f5 +MD5 23f4aeebaa32fcf82c5eb2cd9a8fd01b ChangeLog 13877 +RMD160 d53f578ca98813d17061fa39f6ad78277a4b23fa ChangeLog 13877 +SHA256 c12e7a480e7807c91deb6eb897c5933ebad45c1c0023561859aed828501a07f5 ChangeLog 13877 MISC metadata.xml 1015 RMD160 37b6ed999eb17334da133052b31559ed1114b7c5 SHA1 d61278aeff2b1e410144c57c58490ae6099e2aa3 SHA256 79a849e6d5d37060b2b14a3b5addfdf9a9d01b928caeade6c6b078851713d57b MD5 b297797b490f7c6ca8d5f40f2d6347cc metadata.xml 1015 RMD160 37b6ed999eb17334da133052b31559ed1114b7c5 metadata.xml 1015 @@ -76,7 +80,7 @@ SHA256 ea6e29364ff13378968ac433b1142ceabbc525a0424760b66fa1d8524bbd17cf files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) -iD8DBQFEuFSJamhnQswr0vIRAsRuAJwOeMMtP+ozFf+zT9kz8I17LCN9XgCglATB -nvOihT0WZ4xUzmToCUnvnJo= -=3v5l +iD8DBQFEuxQPamhnQswr0vIRArRZAJ4m+djjxVbOjz2IsFmNlXNZZtkkXACgqvU+ +zlPvFrrNZEQdd9KgAQGEp2Q= +=aWyX -----END PGP SIGNATURE----- diff --git a/app-editors/nano/files/gentoo.nanorc b/app-editors/nano/files/gentoo.nanorc new file mode 100644 index 000000000000..e9d8ee8c00da --- /dev/null +++ b/app-editors/nano/files/gentoo.nanorc @@ -0,0 +1,48 @@ +## Here is an example for ebuilds/eclasses +## +syntax "ebuild" "\.e(build|class)$" +## All the standard portage functions +color brightgreen "^src_(unpack|compile|install|test)" "^pkg_(config|nofetch|setup|(pre|post)(inst|rm))" +## Highlight bash related syntax +color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>" +color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)" +color green "-(e|d|f|r|g|u|w|x|L)\>" +color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>" +## Highlight variables ... official portage ones in red, all others in bright red +color brightred "\$\{?[a-zA-Z_0-9]+\}?" +color red "\<(ARCH|HOMEPAGE|DESCRIPTION|IUSE|SRC_URI|LICENSE|SLOT|KEYWORDS|FILESDIR|WORKDIR|(P|R)?DEPEND|PROVIDE|DISTDIR|RESTRICT|USERLAND)\>" +color red "\<(S|D|T|PV|PF|P|PN|A)\>" "\<C(XX)?FLAGS\>" "\<LDFLAGS\>" "\<C(HOST|TARGET|BUILD)\>" +## Highlight portage commands +color magenta "\<use(_(with|enable))?\> [!a-zA-Z0-9_+ -]*" "inherit.*" +color brightblue "\<e(begin|end|conf|install|make|warn|infon?|error|patch)\>" +color brightblue "\<die\>" "\<use(_(with|enable))?\>" "\<inherit\>" "\<has\>" "\<(has|best)_version\>" "\<unpack\>" +color brightblue "\<(do|new)(ins|s?bin|doc|lib(|\.so|\.a)|man|info|exe|initd|confd|envd|pam|menu|icon)\>" +color brightblue "\<do(python|sed|dir|hard|sym|html|jar|mo)\>" "\<keepdir\>" +color brightblue "prepall(|docs|info|man|strip)" "prep(info|lib|lib\.(so|a)|man|strip)" +color brightblue "\<(|doc|ins|exe)into\>" "\<f(owners|perms)\>" "\<(exe|ins|dir)opts\>" +## Highlight common commands used in ebuilds +color blue "\<make\>" "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|let|ln|mkdir|mv|rm|sed|set|tar|touch|unset)\>" +## Highlight comments (doesnt work that well) +color yellow "#.*$" +## Highlight strings (doesnt work that well) +color brightyellow ""(\\.|[^\"])*"" "'(\\.|[^'])*'" + +## Here is an example for Portage control files +## +syntax "/etc/portage" "\.(keywords|mask|unmask|use)$" +## Base text: +color green "^.+$" +## Use flags: +color brightred "[[:space:]]+\+?[a-zA-Z0-9_-]+" +color brightblue "[[:space:]]+-[a-zA-Z0-9_-]+" +## Likely version numbers: +color magenta "-[[:digit:]].*([[:space:]]|$)" +## Accepted arches: +color white "[~-]?\<(alpha|amd64|arm|hppa|ia64|mips|ppc|ppc64|s390|sh|sparc|x86|x86-fbsd)\>" +color white "[[:space:]][~-]?\*" +## Categories: +color cyan "^[[:space:]]*.*/" +## Masking regulators: +color brightmagenta "^[[:space:]]*(=|~|<|<=|=<|>|>=|=>)" +## Comments: +color yellow "#.*$" diff --git a/app-editors/nano/nano-1.3.12-r1.ebuild b/app-editors/nano/nano-1.3.12-r1.ebuild index b7281fd7baee..f6ce1269802c 100644 --- a/app-editors/nano/nano-1.3.12-r1.ebuild +++ b/app-editors/nano/nano-1.3.12-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.3.12-r1.ebuild,v 1.2 2006/07/15 02:34:48 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.3.12-r1.ebuild,v 1.3 2006/07/17 04:36:20 vapier Exp $ #ECVS_SERVER="savannah.gnu.org:/cvsroot/nano" #ECVS_MODULE="nano" @@ -17,7 +17,7 @@ SRC_URI="http://www.nano-editor.org/dist/v1.3/${MY_P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="build debug justify minimal ncurses nls slang spell unicode" +IUSE="debug justify minimal ncurses nls slang spell unicode" DEPEND=">=sys-libs/ncurses-5.2 nls? ( sys-devel/gettext ) @@ -61,15 +61,14 @@ src_compile() { src_install() { make DESTDIR="${D}" install || die - if use build ; then - rm -rf "${D}"/usr/share - else - cat "${FILESDIR}"/nanorc-* >> doc/nanorc.sample - dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO - dohtml *.html - insinto /etc - newins doc/nanorc.sample nanorc - fi + dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO + dohtml *.html + insinto /etc + newins doc/nanorc.sample nanorc + + insinto /usr/share/nano + doins "${FILESDIR}"/*.nanorc || die + echo $'\n''# include "/usr/share/nano/gentoo.nanorc"' >> "${D}"/etc/nanorc dodir /usr/bin dosym /bin/nano /usr/bin/nano |