public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] ebuild syntax file for midnight commander
       [not found]     ` <1072230447.18673.16.camel@rivendell>
@ 2003-12-29  6:58       ` T'Eval
  2004-01-04 21:10         ` Aron Griffis
  0 siblings, 1 reply; 2+ messages in thread
From: T'Eval @ 2003-12-29  6:58 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 518 bytes --]

Is anyone interested in that?
I made one to help me learn how ebuilds work and what the
functions/variables are. I've found it useful in making new ebuilds, and
it's nice in places when you don't have a gui and only mc. If anyone is
interested, I could ask the mc people to add it in. I didn't add a bug
for it, because if noone is interested, there's no point.

It goes in /usr/share/mc/syntax and you'll need to add:

file ..\*\\.(ebuild)$ Ebuild/sFile
include ebuild.syntax

In /usr/share/mc/syntax/Syntax


Andrei

[-- Attachment #2: ebuild.syntax --]
[-- Type: text/plain, Size: 2622 bytes --]

# Syntax highlighting for gentoo portage ebuilds
# 2003, Andrei Barbu, teval@myrealbox.com

context default

# Functions

    keyword whole src_install yellow
    keyword whole src_compile yellow
    keyword whole src_unpack yellow
    keyword whole pkg_setup yellow
    keyword whole pkg_nofetch yellow
    keyword whole pkg_preinst yellow
    keyword whole pkg_postinst yellow
    keyword whole pkg_postrm yellow
    keyword whole pkg_prerm yellow
    keyword whole pkg_config yellow
    
# Helper functions

    keyword whole use yellow
    keyword whole has_version yellow
    keyword whole best_version yellow
    keyword whole use_with yellow
    keyword whole check_KV yellow
    keyword whole keepdir yellow
    keyword whole econf yellow
    keyword whole einstall yellow
    keyword whole die yellow
    keyword whole einfo yellow
    
# Scripts and Programs

    keyword whole diropts yellow
    keyword whole dobin yellow
    keyword whole dodir yellow
    keyword whole dodoc yellow
    keyword whole doexe yellow
    keyword whole dohard yellow
    keyword whole dohtml yellow
    keyword whole doinfo yellow
    keyword whole doins yellow
    keyword whole dolib yellow
    keyword whole dolib.a yellow
    keyword whole dolib.so yellow
    keyword whole doman yellow
    keyword whole dosbin yellow
    keyword whole dosym yellow
    keyword whole emake yellow
    keyword whole exeinto yellow
    keyword whole exeopts yellow
    keyword whole fowners yellow
    keyword whole fperms yellow
    keyword whole insinto yellow
    keyword whole insopts yellow
    keyword whole into yellow
    keyword whole libopts yellow
    keyword whole newbin yellow
    keyword whole newdoc yellow
    keyword whole newexe yellow
    keyword whole newins yellow
    keyword whole newman yellow
    keyword whole newsbin yellow
    keyword whole prepall yellow
    keyword whole prepalldocs yellow
    keyword whole prepallinfo yellow
    keyword whole prepallman yellow
 
# Variables
    keyword whole P white
    keyword whole PN white
    keyword whole PV white
    keyword whole PR white
    keyword whole PVR white 
    keyword whole A white
    keyword whole WORKDIR white
    keyword whole FILESDIR white
    keyword whole S white
    keyword whole T white
    keyword whole D white
    keyword whole SLOT white
    keyword whole LICENSE white
    keyword whole KEYWORDS white
    keyword whole DESCRIPTION white
    keyword whole SRC_URI white
    keyword whole HOMEPAGE white
    keyword whole IUSE white
    keyword whole DEPEND white
    keyword whole RDEPEND white
    
    keyword "*" green
# Comments
    

[-- Attachment #3: Type: text/plain, Size: 37 bytes --]

--
gentoo-dev@gentoo.org mailing list

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [gentoo-dev] ebuild syntax file for midnight commander
  2003-12-29  6:58       ` [gentoo-dev] ebuild syntax file for midnight commander T'Eval
@ 2004-01-04 21:10         ` Aron Griffis
  0 siblings, 0 replies; 2+ messages in thread
From: Aron Griffis @ 2004-01-04 21:10 UTC (permalink / raw
  To: gentoo-dev; +Cc: T'Eval

T'Eval wrote:	[Mon Dec 29 2003, 01:58:49AM EST]
> Is anyone interested in that?

I don't know if anybody else has responded off-list to this question,
but you should file a bug at bugs.gentoo.org for this, and include your
syntax file as an attachment.  I imagine that it will be well-received.

Aron

--
gentoo-dev@gentoo.org mailing list


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-01-05 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <200312190140.55238.george@gentoo.org>
     [not found] ` <1071929800.5202.5.camel@rivendell>
     [not found]   ` <200312201126.04052.george@gentoo.org>
     [not found]     ` <1072230447.18673.16.camel@rivendell>
2003-12-29  6:58       ` [gentoo-dev] ebuild syntax file for midnight commander T'Eval
2004-01-04 21:10         ` Aron Griffis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox