Gentoo ebuild portage

This commit is contained in:
Stas Degteff 2011-02-19 01:05:28 +00:00
parent 54dee577c3
commit c4bdce3da8
5 changed files with 131 additions and 0 deletions

View File

@ -0,0 +1,2 @@
AUX mygolded.h 1818 RMD160 d910c120ff147a3dc5f19b711ec7c364044b3fe9 SHA1 b0b4ffc0fe3ba90b9c91d123ce0cb2801dec54c5 SHA256 54511c5574c67deee2f29983d7c78dbe72c40de1f637558dacf096331686d9ea
EBUILD golded+-9999.ebuild 1602 RMD160 b8228d113e9e3026b2404bdfa60a13068dec545c SHA1 f2fa3833a688dca53b0767d57b4040b606a77cd2 SHA256 0df077f45725bc9b3ad119c1095c610b9869a7250446f1d4e554f8bcbd353da6

View File

@ -0,0 +1,53 @@
// ------------------------------------------------------------------
// GoldED+
// Personalized strings.
// ------------------------------------------------------------------
// $Id$
// ------------------------------------------------------------------
// Please do not modify this file. It's just a template for your
// local "mygolded.h" settings file. So please change your copy only.
// ------------------------------------------------------------------
// Please edit these fields to match your real name
#undef __GVER_VENDOR_NAME__
#define __GVER_VENDOR_NAME__ "Semen Panevin"
#undef __GVER_VENDOR_FIDO__
#define __GVER_VENDOR_FIDO__ "2:5025/121"
#undef __GVER_VENDOR_EMAIL__
#define __GVER_VENDOR_EMAIL__ "panevin@box.vsi.ru"
// ------------------------------------------------------------------
// If you have an important message every user should read, put it
// here in. If you don't, leave it as default. ;-)
#undef __GVER_RELEASENAME__
#define __GVER_RELEASENAME__ __GVER_VENDOR_NAME__"\'s public edition"
// ------------------------------------------------------------------
// It is highly recommended to leave these fields unchanged.
// They are reserved for future use.
#undef __GVER_PRENAME__
#define __GVER_PRENAME__ ""
#undef __GVER_POSTNAME__
#define __GVER_POSTNAME__ "+"
#undef __GVER_PRESHORTNAME__
#define __GVER_PRESHORTNAME__ ""
#undef __GVER_POSTSHORTNAME__
#define __GVER_POSTSHORTNAME__ "+"
// ------------------------------------------------------------------
// Version numbers.
#undef __GVER_PREVERSION__
#define __GVER_PREVERSION__ ""
#undef __GVER_POSTVERSION__
#define __GVER_POSTVERSION__ ""
__GVER__(1,1,5)
// ------------------------------------------------------------------

View File

@ -0,0 +1,74 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=2
ECVS_AUTH="pserver"
ECVS_SERVER="golded-plus.cvs.sourceforge.net:/cvsroot/golded-plus"
ECVS_MODULE="${PN}"
ECVS_LOCALNAME="${PN}"
inherit cvs
DESCRIPTION="FTN Editor ${PN}"
SRC_URI=""
HOMEPAGE="http://golded-plus.sourceforge.net"
LICENSE="LGPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="spell -doc"
DEPEND=">=sys-libs/ncurses-5.4
spell? ( app-dicts/myspell-${LINGUAS} )
doc? ( sys-apps/texinfo )"
S="${WORKDIR}/${ECVS_LOCALNAME}"
src_unpack() {
cvs_src_unpack
}
src_prepare() {
cd "${S}"
# Add header with personal configuration
cp ${FILESDIR}/mygolded.h ./golded3/mygolded.h
# Disable MS Office spellchecker support
sed -i 's/#CPPFLAGS+=-DGCFG_NO_MSSPELL/CPPFLAGS+=-DGCFG_NO_MSSPELL/' ./Config.def
# Disable HunSpell spellchecker support if need
use spell || sed -i 's/#CPPFLAGS+=-DGCFG_NO_MYSPELL/CPPFLAGS+=-DGCFG_NO_MYSPELL/' ./Config.def
}
src_compile() {
cd "${S}"
emake PLATFORM=lnx
use doc && emake docs
}
src_install() {
cd "${S}"
dobin bin/gedlnx bin/gnlnx bin/rddtlnx
doman docs/*.1
if useq doc ; then
dodoc docs/*.txt docs/notework.rus
dodoc manuals/*.txt
dohtml docs/*.html
fi
insinto /usr/share/golded-plus
doins bin/screenrc_koi8r
exeinto /etc/ftn/golded.sample
doexe bin/golded
insinto /etc/ftn/golded.sample/charset
doins cfgs/charset/*
insinto /etc/ftn/golded.sample/colorset
doins cfgs/colorset/*
insinto /etc/ftn/golded.sample/config
doins cfgs/config/*
insinto /etc/ftn/golded.sample/template
doins cfgs/template/*
}

View File

@ -0,0 +1 @@
net-ftn

View File

@ -0,0 +1 @@
golded+