diff options
author | Michael Palimaka <kensington@gentoo.org> | 2012-11-04 14:31:19 +0000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2012-11-04 14:31:19 +0000 |
commit | f70ece70fb80771971586b4a78d94509b3846c95 (patch) | |
tree | 15c38bd00a3b1cd350f29576e325b0c0b2660b2c /dev-lang/regina-rexx | |
parent | Fix boost-1.50 build #425190. Version bump, drop old, fix #441586. Get ready ... (diff) | |
download | gentoo-2-f70ece70fb80771971586b4a78d94509b3846c95.tar.gz gentoo-2-f70ece70fb80771971586b4a78d94509b3846c95.tar.bz2 gentoo-2-f70ece70fb80771971586b4a78d94509b3846c95.zip |
Migrate to EAPI 4. Respect *FLAGS. Avoid bashisms in init script. Add upstream metadata.
(Portage version: 2.1.11.31/cvs/Linux x86_64, signed Manifest commit with key 675D0D2C)
Diffstat (limited to 'dev-lang/regina-rexx')
-rw-r--r-- | dev-lang/regina-rexx/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lang/regina-rexx/files/rxstack-r1 | 14 | ||||
-rw-r--r-- | dev-lang/regina-rexx/metadata.xml | 4 | ||||
-rw-r--r-- | dev-lang/regina-rexx/regina-rexx-3.6-r1.ebuild | 47 |
4 files changed, 73 insertions, 2 deletions
diff --git a/dev-lang/regina-rexx/ChangeLog b/dev-lang/regina-rexx/ChangeLog index bc2b9b331311..348e4ed09185 100644 --- a/dev-lang/regina-rexx/ChangeLog +++ b/dev-lang/regina-rexx/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-lang/regina-rexx # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/regina-rexx/ChangeLog,v 1.26 2012/09/01 16:31:18 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/regina-rexx/ChangeLog,v 1.27 2012/11/04 14:31:19 kensington Exp $ + +*regina-rexx-3.6-r1 (04 Nov 2012) + + 04 Nov 2012; Michael Palimaka <kensington@gentoo.org> +files/rxstack-r1, + +regina-rexx-3.6-r1.ebuild, metadata.xml: + Migrate to EAPI 4. Respect *FLAGS. Avoid bashisms in init script. Add upstream + metadata. *regina-rexx-3.6 (01 Sep 2012) @@ -101,4 +108,3 @@ also a language ideally suited as a macro language for other applications. ebuild submitted by Maik Schreiber <bZ@iq-computing.de> - diff --git a/dev-lang/regina-rexx/files/rxstack-r1 b/dev-lang/regina-rexx/files/rxstack-r1 new file mode 100644 index 000000000000..da4299d84e40 --- /dev/null +++ b/dev-lang/regina-rexx/files/rxstack-r1 @@ -0,0 +1,14 @@ +#!/sbin/runscript + +start() { + ebegin "Starting Regina stack" + start-stop-daemon --start --pidfile /var/run/rxstack.pid \ + --exec /usr/bin/rxstack -- -d + eend $? +} + +stop() { + ebegin "Stopping Regina stack" + start-stop-daemon --stop --exec /usr/bin/rxstack + eend $? +} diff --git a/dev-lang/regina-rexx/metadata.xml b/dev-lang/regina-rexx/metadata.xml index c2dd28e483e2..d79e10a4f9f1 100644 --- a/dev-lang/regina-rexx/metadata.xml +++ b/dev-lang/regina-rexx/metadata.xml @@ -11,4 +11,8 @@ enough for experienced users. It is also a language ideally suited as a macro language for other applications. </longdescription> + <upstream> + <remote-id type="sourceforge">regina-rexx</remote-id> + <bugs-to>http://sourceforge.net/tracker/?group_id=28102</bugs-to> + </upstream> </pkgmetadata> diff --git a/dev-lang/regina-rexx/regina-rexx-3.6-r1.ebuild b/dev-lang/regina-rexx/regina-rexx-3.6-r1.ebuild new file mode 100644 index 000000000000..7da14a0a8b6d --- /dev/null +++ b/dev-lang/regina-rexx/regina-rexx-3.6-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/regina-rexx/regina-rexx-3.6-r1.ebuild,v 1.1 2012/11/04 14:31:19 kensington Exp $ + +EAPI=4 + +inherit autotools toolchain-funcs + +DESCRIPTION="Portable Rexx interpreter" +HOMEPAGE="http://regina-rexx.sourceforge.net" +SRC_URI="mirror://sourceforge/regina-rexx/Regina-REXX-${PV}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~s390 ~sparc ~x86" +IUSE="" + +S=${WORKDIR}/Regina-REXX-${PV} + +src_prepare() { + sed -e 's/CFLAGS=/UPSTREAM_CFLAGS=/' -i common/incdebug.m4 + + sed -e 's|-$(INSTALL) -m 755 -c ./rxstack.init.d $(DESTDIR)$(sysconfdir)/rc.d/init.d/rxstack||' \ + -i Makefile.in || die + + eautoconf +} + +src_compile() { + emake -j1 CC="$(tc-getCC)" +} + +src_install() { + emake -j1 install DESTDIR="${D}" + + newinitd "${FILESDIR}"/rxstack-r1 rxstack + + dodoc BUGS HACKERS.txt README.Unix README_SAFE TODO +} + +pkg_postinst() { + elog "You may want to run" + elog + elog "\trc-update add rxstack default" + elog + elog "to enable Rexx queues (optional)." +} |