diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-04-02 20:14:26 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-04-02 20:14:26 +0000 |
commit | 15e4940dff8b8b0fda2da26f4ee86fd14867dbda (patch) | |
tree | 1593070152e5ddce65a35bf44eae72b9f04d31d7 /app-editors/nano | |
parent | Fix previous commit (#463930 by pschuprikov) (diff) | |
download | historical-15e4940dff8b8b0fda2da26f4ee86fd14867dbda.tar.gz historical-15e4940dff8b8b0fda2da26f4ee86fd14867dbda.tar.bz2 historical-15e4940dff8b8b0fda2da26f4ee86fd14867dbda.zip |
Version bump #464222 by Joe M.
Package-Manager: portage-2.2.0_alpha170/cvs/Linux x86_64
Manifest-Sign-Key: 0xFB7C4156
Diffstat (limited to 'app-editors/nano')
-rw-r--r-- | app-editors/nano/ChangeLog | 8 | ||||
-rw-r--r-- | app-editors/nano/Manifest | 21 | ||||
-rw-r--r-- | app-editors/nano/files/nano-2.3.2-bind-unbind-docs.patch | 119 | ||||
-rw-r--r-- | app-editors/nano/nano-2.3.2.ebuild | 67 |
4 files changed, 210 insertions, 5 deletions
diff --git a/app-editors/nano/ChangeLog b/app-editors/nano/ChangeLog index c038d1a6681b..fc378060b364 100644 --- a/app-editors/nano/ChangeLog +++ b/app-editors/nano/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-editors/nano # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.287 2013/02/21 05:32:41 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.288 2013/04/02 20:14:20 vapier Exp $ + +*nano-2.3.2 (02 Apr 2013) + + 02 Apr 2013; Mike Frysinger <vapier@gentoo.org> + +files/nano-2.3.2-bind-unbind-docs.patch, +nano-2.3.2.ebuild: + Version bump #464222 by Joe M. 21 Feb 2013; Zac Medico <zmedico@gentoo.org> nano-2.3.1-r2.ebuild: Add ~arm-linux keyword. diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest index f76117362f35..fa610f8e99bf 100644 --- a/app-editors/nano/Manifest +++ b/app-editors/nano/Manifest @@ -12,12 +12,14 @@ AUX nano-2.3.1-drop-target.patch 833 SHA256 a8fc698463c35f96ae2124bbc608d0eb4bd7 AUX nano-2.3.1-gentoo-nanorc.patch 5355 SHA256 87b29d6bbf1b94585dff1cb72a3142d69fe856a32f2a0173112b19a9641c1fd3 SHA512 211ecde8df18df270f10d418a3e04ec53be14612d0d9d52ea5e664dc1759015508d5dc065a4d7ef5505d9b1b43efc6410019098771ad1912ddc5761605062452 WHIRLPOOL 70f103f53eb2d870331ba8eac7568b884cbaacf61ff3684174b90a851a7acef85e1fe1782db35d8d7fd51bd2644a69ddb73f99f426b13d478bf14cfe93531972 AUX nano-2.3.1-ncurses-pkg-config.patch 1401 SHA256 dbb472978eb92d4a5518710daaa5861f20e2d2d29c9e683b5f1d125e303018c2 SHA512 83920c1b0a934cf025abffb8ce786373313233e2383ee8de683bb27fca47186958c7c0ebb8b117ae7eed31e1e158fc6339765fe988a60c17f6964cc802496e04 WHIRLPOOL 8c6eb4b7a134bb0d8a710e9499136673a628e761793caccd71edca73e047d3c99c6dfa797f19f585e13dd0addccb085e778b39510985af53d307e645c2884e7b AUX nano-2.3.1-shell-nanorc.patch 2089 SHA256 ca46218301c47fc2e0088cc109adc47d45dcd57425f98e7900d7e4a5ac3c0152 SHA512 e94a8345cd934f49833b2d415e7c72c266eeb04755ab6b986b42b86d3863235bc8f879429ba9e3336ec91d383dbd07eb95dcceaaae468ea6436c2c66dc1710e1 WHIRLPOOL 3dfa102243a615043e483005eb2fe48f87ba5e0b54bcdc8356e24601a99960ab27bcd8fe991def2f0de312be3c7bdc580e54d7cbc55f603e0c1b64f8b52c09b4 +AUX nano-2.3.2-bind-unbind-docs.patch 4732 SHA256 881060d028dc24ef55d80fff790971b5da633d92f0bce754fa88feb0df11537c SHA512 92badd7e08b326621a3dbba488b23988185d56e56e60054dc537926612e4e4c97755d73d902e171b3160039a488a9ba33dce8d6db56294b3b88cc7749588a9eb WHIRLPOOL 83e08cec1793132597aadffa8c994514e3a9ad5db93d5874dcf187ecd0c9729855cf1c63aa282179256154d6b2cb681c377e5a18e3d479ea6e56a4de3692f08f AUX xml.nanorc 260 SHA256 d8de59f2993d921801e38127043a05b07277373b32714e7489d0947b3415a406 SHA512 7a0fbd00c3db7a3c662ae7835ce6bb252d0c64c2cb78d8ab6a33381dd635a25f052e0975d79030d7426ca66c0efb3a7de667ca8ae2258d373a80a025eccc3c5f WHIRLPOOL e415068d82aab4a36ca89a9a1889269b6aadf4f8cf495f1e0c2d7a0bb94b8812e969801e6b9125b362ee92c7d87745aa593c6028d4c4d0e5af4892b7acde90d0 DIST nano-1.3.12.tar.gz 1250777 SHA256 f5537b8a988618fa8524b6a4b0a6950184d37db983b4521ad843b98845da571c SHA512 30d95122486e13159c4e36d4408ab977351d0d46bb28e21b0e867ab6246a3a5a51d987fcca956d66d629753698188bffec34f076a1cf505cbadd6bec4cd54afb WHIRLPOOL a2ef9482ade321ffc231e5bc0429a363389049ab4fbb82f74719003ca3446681805fbcf8c78dd6fad62c0363030e9804f649b297a7c6840fff83148cb031c7d1 DIST nano-2.0.9.tar.gz 1403773 SHA256 6d212385680d29dcda35dda7801da19c80182a8bc6bc6d5cf7533034c853d37f SHA512 9090dc005670998db2d10657e8c37751051a71ea4a6ba514d1c8e36d5d5030c778ede5d2c3734106a92e100e3755add828f3094b3b5c2b41def8e15e674e4907 WHIRLPOOL 4d16cb2c684bf34f441096311778b9249243cc84351af7586ff1bbbbbd7c0fb251548a1fc987cb91a08633b49fb0841e97d3ca79e8392b8f0ff2e12560b2b098 DIST nano-2.1.10.tar.gz 1478204 SHA256 03af11adace9f6c482a06f5304c5aba5d134972a416ce4368307b604420b2e40 SHA512 647174879abb0658776e9f3c6734db0989cfe1cb445bda616997d24e2955f7df790bf1c6b7d8dd3fe4878c73d589d84c6c1acae6b851dbf6ab623f0992cf284e WHIRLPOOL 8b813d18c9b2d94c1ec11377f9b7467e18a0fd9d425fe84d9209f6a6c4192bbdd1377f78306c489830a563f4aba0962bfd7349086e59cd12fed6ea96ea67531a DIST nano-2.2.5.tar.gz 1554750 SHA256 9015945d1badabbada203b37c4779d3dd1066234235c714deb439989c5cd7d9e SHA512 5dd9bd1bccb8ab5c6592310e2e6cee5a59370595ab1ce2065f0d77a6eb58d8e115559a00b17582ccc6321dcd93a557af391e716977d3ce86f99d83b1aad648fc WHIRLPOOL b2b65c589dc4bfc665e3f73a6fa6bfecfc6bae0d68d99a43ec392fd625717b9e3792b868d84fece44622e245c15c8f20d0c97aa129813319327c42cc89fc96c3 DIST nano-2.3.1.tar.gz 1624332 SHA256 b7bace9a8e543b84736d6ef5ce5430305746efea3aacb24391f692efc6f3c8d3 SHA512 ab8e17f712c0609e5e7e7caeec79c4bb28d1d6e1c837d2a9c2e7a691156f58c6770375d8c410898648a3629a38cf6b3bb2de9a6c02556e62a583c0500a1aec94 WHIRLPOOL ea14ce055f41884956ad5de5e763396522b9f63c8fd64720078f11c1c97e0fbc6f760789fc52bd3f485d1856dda2727899fb8e79cae3c87850ba0ad8793b1a4d +DIST nano-2.3.2.tar.gz 1725485 SHA256 ff309248071486445609ad4269b798262a1324d7503dc09dea289f5b60106be8 SHA512 c4bf4a152e797e860e9f8aee5091b8e380f5305d3457d5503c2b6187897394510dd756948cce7157fe986bbb9db7a5b98c9cb5794d12cf6399d7e96e0db1be49 WHIRLPOOL 48111c18a50ab5215646b0a85a6f90a55274d349890fee54e18a66028b1b5a79f51c6f2f12a039751342845b3c8e5f58854e3368d7f8f18c1ab94d6f56f40b02 EBUILD nano-1.3.12-r1.ebuild 2047 SHA256 5e681e65f6ef9297480ad062618edf62869c896098bcbee3b88c6c97ba236d83 SHA512 f06c30327506b2370a73f405ae0d128d7a75e89affe045fb69b64d943942ecf50d50ed0969f84c55a413c406c29d9e14b467c6bd6fc424802b93e736d5ec4ad5 WHIRLPOOL e9ebc8f1995036e97130b376501a8967938f736481db3fa72fcb042b36a543c542ed96d5fd125d26ab32dbdf3edaefe3d47db1f9a7a03ddf7aaf9f6876ce0233 EBUILD nano-2.0.9.ebuild 1967 SHA256 9a58ab861d5909bc63dd5dc83d27c04bbf414de98d44cf64b56e825f699e9848 SHA512 ca4b28c006e00e38a58c892a65123dfd5b0b11e460f9cc5065d219c09a679b2bcee0720e12322448a51812f4dfdbb0d2b05dfa8c6397cd0925eafde7acffcda4 WHIRLPOOL 2cf6cb8c2433c6e9ac60f2fa676f61c6844cca7b4378c469c780db1334bcbb104f22a67f5695a08116ebf43c6678e6771158d37a1ac036d4aab8e067042354c5 EBUILD nano-2.1.10.ebuild 2129 SHA256 1fa1ede2e5cc32ca4e9df85c0fe9d319463444e4f64e4bba787f182c12b32fb8 SHA512 2d1fff4f03801d05bf9435e1d7ebab24a1af00cc572cafeb54812e63d29349834c2735232b59b70cce46c217e7cc27d037c5d9f6ed29953052b63f6af0c6a061 WHIRLPOOL 4091d62426a43ee2eed4013bc2faf0ae199c04a06dee01b7e770b310ad601bd20b293a5350d1572b06fc5905647a8e7758d0695d8af0c4bacbb7eca09af4fcc3 @@ -25,12 +27,23 @@ EBUILD nano-2.2.5.ebuild 2354 SHA256 bb2c6fe8fedf8e7396bd056ead857d816dfb1943f9f EBUILD nano-2.3.1-r1.ebuild 2085 SHA256 a7b97a50b3c313d572d05d8fa708f556598820a49f32e233f9c978be89129f85 SHA512 7b1dd6527ae09d01d952f425c83d78981b3090d193199eecb54e51a862f989e5e97b756d246e1184f0856bf0d35d8a280df555fe9e013be83bc5edb7022ba4e0 WHIRLPOOL 0aebbefe78a90cef5718d85a1b96bd2aa37443e3368cef1c17488c3cf89cafada7a8a1285d9e609b4f34ef5bd84bcf06b49284fd3c941b91e79a3bcc03c132c2 EBUILD nano-2.3.1-r2.ebuild 2282 SHA256 2dd46647f746f83b3ba8f20ea5404a7a1389ff7a4dbae72b1cf740ded4b27d0f SHA512 2bada0976f648b1932acc7ba7cc154248ad0d5ea77519d721eba9888329eace8bd2e7325f063797501ae67c4a9677d045df81d2df03d9ddbf4d081fdc4107fd5 WHIRLPOOL 4733384799f9ba600f993e9871c52d4b0ddc78de32916f49d29c02b1163208a523506c29dd60460bdcb486ede0940c0c51d61e3fd091befdd433a2318a22ee13 EBUILD nano-2.3.1.ebuild 2226 SHA256 c5d2d20d13bf85f122958c5f169701aeda6e388fe34e16e4989e759534a1f155 SHA512 96c316e4f45a57310c4c2ffbae1dd07dec669f37b0323e28889a89ef3b2b7e1d1d6b9ab1d8c5c30f7a6a763572470742e97a4e3c7a1c53eda79a01593edf4f7c WHIRLPOOL 930349f02d5f79c4400f1388c80f6a0381f6f8e72dffb693d9a3534f968cef2a344d6a0811786ee5ea71114f371e14f208b99cb5716556940af57adef0c4e6a8 -MISC ChangeLog 33529 SHA256 0eadd37e29e70bb83fe2cd6d123c45bdc5228a5609c43227a406ac2220bf97ac SHA512 72b17ce34c8f96f08aa4ef1603465947799dd9db40b8c450dab865e165c3420cdd96d90f52f879d60ffc7364678d038158743fa0a38df6cd2026c44579e3efa5 WHIRLPOOL 7ae1c52ba600a0068b847813730859f7252dc331f2403a8c1ee7950930203c44227af72132dc75bc50dd744d4d6d8b0be33e80621c8d7869e75c5b6136fe01c3 +EBUILD nano-2.3.2.ebuild 2237 SHA256 5bbc6c5ad990ca22395cd396e96dd4bfcd267412c88b784293b9d89f0afa2850 SHA512 6d95ea8985a0d5520ac52bae22d82c931c31dea9b2bf4daa668ca1389889109f50b1cfd833fb9801c7cd5632be941098f903a5ea2c50b38b2fcef6ea2355e698 WHIRLPOOL ca052c578e662e40f9161b4e79e56f5d84727d42c939010982aa6336f277ef80ac0d41838f09064170bba158db315662c2cd2f44940d742cece6b9dc595c0cb7 +MISC ChangeLog 33703 SHA256 491c54c033f6cf0a7287bbeaee1d2037eb53c7cfcc8f6eed9e31f5b729743bf6 SHA512 62e601429d24b9a661d34272a71ddef281ec7d290cafeb9a824358f04725516bd9cf8ab3cceacb59886891d87d2b4026e016dc07f40c21ad27914313a591e9f3 WHIRLPOOL 7450d0860ea9a73d4e7b6d5ed17bb4d249d347e72ac9be75a0476892e8f24b2dcebdd17e25fb11b5b6b07bb7486c8c7d447289778d147da3bd4cb479022fb9eb MISC metadata.xml 1495 SHA256 b6af8e3dc22f6d9ea0acd4b446469298e8bff0ca8834aa56fe0a6baa129399c9 SHA512 b2e0ec89520c02263d660a5a3d570e426999967af183344b066b2dd293fc958018f7c360a1df02ae5207b24f32914bc800311ea985043c60459a83abdf237da9 WHIRLPOOL 138f93840416fd75eefccaa6cf48d4f5fd908987b505ba4621157e85ca997dc1f6cc6bbf21059d8b0dec3f358605547a364a5b4982b8f43b52fe6d1be130da81 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iEYEAREIAAYFAlElsXsACgkQ/ejvha5XGaPdYQCfS+YKUMy5pzSrPyhg7QFOnsgl -jZcAoOlnKRnvJO46kh8J73QcjXvoc8Z+ -=pjmY +iQIcBAEBCAAGBQJRWzwvAAoJELEHsLL7fEFWULoP/3f4sEqLAqjQxMI8Te+ZhFQR +dtDeqF9BdOLZeuWpd3AnoV1AU0HWRTAADIt+hNfTPL60zWE8UJE7TYtVTPYG54Pu +hJ2nI8bJVxMyTzuvRa2Hx48zlUJ8N5N+bwGHYkOYOH4vY0n+y0dFy4VcndJLvikO +tzRccZvh8wefOWni9LN7ElJDnrZWfa6hVT4OySCBkYn7Cc24Oi6hG1AmAkvAgLLZ +0TRy3OBNmvq7Xv3cetFMa1wOMUz9plUytWMk9pOAw5/AWnPADmfNBFQzXZxZGXaf +w41br8b9KQHf0foMIz4y3a1ZF8v93ckozZocbTEBzqhVvbjawFGCRp8JaaNQfNrX +BI+fwta0PyGA7LvOW2elJZQ1DTfJRjEds8vpxEDYxrUanjUpjt5QzZCa+X7f3KM2 +8MxQbkfeaCzBEgBlCvcqo/hanNRryjfzPmEKwxAxHX8KcH41pEl5NWHJtVMhgmNn +st/PpG9lcs7MD9+BFWEp+yQcVvenqP7A0RuhmRF0nphshPkOHM2sEopZTmBnssQJ +6Rt/Bt0juXg2k8i+bpFhy9UTafF02vRrrXA6L5eCoeD0nTxRU4CyCG+A2KNhsC5a +I80W+uroRyyqAtG9F1t2e/1jtSWZYbSsp/iKlTBmvWjAdTmtKU4jwoEHE8hFkxEb +JJxMH43UGYnBsMLCrwIQ +=sL55 -----END PGP SIGNATURE----- diff --git a/app-editors/nano/files/nano-2.3.2-bind-unbind-docs.patch b/app-editors/nano/files/nano-2.3.2-bind-unbind-docs.patch new file mode 100644 index 000000000000..cd7dd343f783 --- /dev/null +++ b/app-editors/nano/files/nano-2.3.2-bind-unbind-docs.patch @@ -0,0 +1,119 @@ +From 17e1ba8530b9e21932935ad052ad416a0c2058a7 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Mon, 28 Nov 2011 15:37:02 -0500 +Subject: [PATCH] nanorc(5): fix bind/unbind documentation + +The unbind section is listed after valid key/menu/functions, but tries +to say those sections come after it. So reorganization the section so +that bind/unbind comes first, and then we cover the key/menu/functions +after both of them. + +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + doc/man/nanorc.5 | 32 +++++++++++++++++++------------- + 1 file changed, 19 insertions(+), 13 deletions(-) + +diff --git a/doc/man/nanorc.5 b/doc/man/nanorc.5 +index b9c0a19..3fc3c5d 100644 +--- a/doc/man/nanorc.5 ++++ b/doc/man/nanorc.5 +@@ -285,9 +285,19 @@ Read in self-contained color syntaxes from \fIsyntaxfile\fP. Note that + .SH KEY BINDINGS + Key bindings may be reassigned via the following commands: + .TP +-.B bind \fIkey\fP \fIfunction\fP \fImenu\fP ++.B bind \fIkey\fP \fIfunction\fP \fImenu\fP + Rebinds the key \fIkey\fP to a new function named \fIfunction\fP in the +-context of menu \fImenu\fP. The format of \fIkey\fP should be one of: ++context of menu \fImenu\fP. ++.TP ++.B unbind \fIkey\fP \fImenu\fP ++Unbind the key \fIkey\fP from the menu named \fImenu\fP or from all ++menus by using \fIall\fP. Same key syntax as for binding. ++Rebinds the key \fIkey\fP to a new function named \fIfunction\fP in the ++context of menu \fImenu\fP. ++.TP ++ ++The format of \fIkey\fP should be one of: ++ + .TP + .B ^ + followed by an alpha character or the word "Space". +@@ -301,8 +311,10 @@ Example: M-C + followed by a numeric value from 1 to 16. + Example: F10 + .TP +-Valid function names to be bound include: +-.TP 3 ++ ++Valid \fIfunction\fP names to be bound include: ++ ++.TP 2 + .B help + Invoke the help menu. + .TP +@@ -509,8 +521,9 @@ Toggle whether long lines will be wrapped to the next line. + Toggle whether the suspend sequence (normally ^Z) will suspend the editor window. + .TP + +-Valid menu sections are: +-.TP ++Valid \fImenu\fP sections are: ++ ++.TP 2 + .B main + The main editor window where text is entered. + .TP +@@ -552,13 +565,6 @@ The 'go to directory' menu. + .TP + .B all + A special name meaning: apply to all menus where this function exists. +- +-.TP +-.B unbind \fIkey\fP \fImenu\fP +-Unbind the key \fIkey\fP from the menu named \fImenu\fP or from all +-menus by using \fIall\fP. Same key syntax as for binding. +-Rebinds the key \fIkey\fP to a new function named \fIfunction\fP in the +-context of menu \fImenu\fP. The format of \fIkey\fP should be one of: + .SH FILES + .TP + .I SYSCONFDIR/nanorc +-- +1.8.1.2 + +From 0d49d9f0c62013e0d86169a92a2d0f5557e7be05 Mon Sep 17 00:00:00 2001 +From: Mike Frysinger <vapier@gentoo.org> +Date: Mon, 28 Nov 2011 15:38:26 -0500 +Subject: [PATCH] nanorc syntax: add bind/unbind commands + +We don't currently handle the bind/unbind commands, so adding them to +your nanorc file with colorization enabled makes it look like they're +not actually supported. + +Signed-off-by: Mike Frysinger <vapier@gentoo.org> +--- + doc/syntax/nanorc.nanorc | 6 ++++-- + 1 file changed, 4 insertions(+), 2 deletions(-) + +diff --git a/doc/syntax/nanorc.nanorc b/doc/syntax/nanorc.nanorc +index 2c9f23a..494c2f4 100644 +--- a/doc/syntax/nanorc.nanorc ++++ b/doc/syntax/nanorc.nanorc +@@ -2,10 +2,12 @@ + ## + syntax "nanorc" "\.?nanorc$" + ## Possible errors and parameters +-icolor brightwhite "^[[:space:]]*((un)?set|include|syntax|i?color).*$" ++icolor brightwhite "^[[:space:]]*((un)?(bind|set)|include|syntax|i?color).*$" + ## Keywords + icolor brightgreen "^[[:space:]]*(set|unset)[[:space:]]+(allow_insecure_backup|autoindent|backup|backupdir|backwards|boldtext|brackets|casesensitive|const|cut|fill|historylog|matchbrackets|morespace|mouse|multibuffer|noconvert|nofollow|nohelp|nonewlines|nowrap|operatingdir|poslog|preserve|punct)\>" "^[[:space:]]*(set|unset)[[:space:]]+(quickblank|quotestr|rebinddelete|rebindkeypad|regexp|smarthome|smooth|softwrap|speller|suspend|suspendenable|tabsize|tabstospaces|tempfile|undo|view|whitespace|wordbounds|locking)\>" +-icolor green "^[[:space:]]*(set|unset|include|syntax|header|magic)\>" ++icolor brightgreen "^[[:space:]]*bind[[:space:]]+((\^|M-)([[:alpha:]]|space)|F([0-9]|1[0-6]))[[:space:]]+[[:alpha:]]+[[:space:]]+[[:alpha:]]+[[:space:]]*$" ++icolor brightgreen "^[[:space:]]*unbind[[:space:]]+((\^|M-)([[:alpha:]]|space)|F([0-9]|1[0-6]))[[:space:]]+[[:alpha:]]+[[:space:]]*$" ++icolor green "^[[:space:]]*((un)?(bind|set)|include|syntax|header|magic)\>" + ## Colors + icolor yellow "^[[:space:]]*i?color[[:space:]]*(bright)?(white|black|red|blue|green|yellow|magenta|cyan)?(,(white|black|red|blue|green|yellow|magenta|cyan))?\>" + icolor magenta "^[[:space:]]*i?color\>" "\<(start|end)=" +-- +1.8.1.2 + diff --git a/app-editors/nano/nano-2.3.2.ebuild b/app-editors/nano/nano-2.3.2.ebuild new file mode 100644 index 000000000000..25a745ce01d1 --- /dev/null +++ b/app-editors/nano/nano-2.3.2.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-2.3.2.ebuild,v 1.1 2013/04/02 20:14:20 vapier Exp $ + +EAPI="3" + +inherit eutils autotools +if [[ ${PV} == "9999" ]] ; then + ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano" + inherit subversion autotools +else + MY_P=${PN}-${PV/_} + SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz" +fi + +DESCRIPTION="GNU GPL'd Pico clone with more functionality" +HOMEPAGE="http://www.nano-editor.org/ http://www.gentoo.org/doc/en/nano-basics-guide.xml" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="debug justify +magic minimal ncurses nls slang spell unicode" + +RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?] + magic? ( sys-apps/file ) + nls? ( virtual/libintl ) + !ncurses? ( slang? ( sys-libs/slang ) )" +DEPEND="${RDEPEND} + nls? ( sys-devel/gettext ) + virtual/pkgconfig" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.3.1-ncurses-pkg-config.patch + epatch "${FILESDIR}"/${PN}-2.3.2-bind-unbind-docs.patch + epatch "${FILESDIR}"/${PN}-2.3.1-{shell,gentoo}-nanorc.patch + eautoreconf +} + +src_configure() { + eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic) + econf \ + --bindir="${EPREFIX}"/bin \ + $(use_enable !minimal color) \ + $(use_enable !minimal multibuffer) \ + $(use_enable !minimal nanorc) \ + --disable-wrapping-as-root \ + $(use_enable spell speller) \ + $(use_enable justify) \ + $(use_enable debug) \ + $(use_enable nls) \ + $(use_enable unicode utf8) \ + $(use_enable minimal tiny) \ + $(usex ncurses --without-slang $(use_with slang)) +} + +src_install() { + emake DESTDIR="${D}" install || die + rm -rf "${ED}"/usr/share/nano/man-html + + dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO + dohtml doc/faq.html + insinto /etc + newins doc/nanorc.sample nanorc + + dodir /usr/bin + dosym /bin/nano /usr/bin/nano +} |