diff options
author | Michael Januszewski <spock@gentoo.org> | 2008-09-13 22:21:19 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2008-09-13 22:21:19 +0000 |
commit | 7e3b1375e124e96ef28dba81f6aef1be10233be7 (patch) | |
tree | 37bb371c840bd3466f360846e5873036fb446252 /x11-misc/xfractint | |
parent | Final preparation for KDE 3.5.10. (diff) | |
download | gentoo-2-7e3b1375e124e96ef28dba81f6aef1be10233be7.tar.gz gentoo-2-7e3b1375e124e96ef28dba81f6aef1be10233be7.tar.bz2 gentoo-2-7e3b1375e124e96ef28dba81f6aef1be10233be7.zip |
Version bump.
(Portage version: 2.2_rc8/cvs/Linux 2.6.26 x86_64)
Diffstat (limited to 'x11-misc/xfractint')
-rw-r--r-- | x11-misc/xfractint/ChangeLog | 8 | ||||
-rw-r--r-- | x11-misc/xfractint/files/xfractint-20.04p08-Makefile.patch | 75 | ||||
-rw-r--r-- | x11-misc/xfractint/xfractint-20.04_p08.ebuild | 45 |
3 files changed, 127 insertions, 1 deletions
diff --git a/x11-misc/xfractint/ChangeLog b/x11-misc/xfractint/ChangeLog index ce87a72719d8..1074125214a8 100644 --- a/x11-misc/xfractint/ChangeLog +++ b/x11-misc/xfractint/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-misc/xfractint # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/xfractint/ChangeLog,v 1.50 2008/09/13 09:22:17 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xfractint/ChangeLog,v 1.51 2008/09/13 22:21:18 spock Exp $ + +*xfractint-20.04_p08 (13 Sep 2008) + + 13 Sep 2008; Michał Januszewski <spock@gentoo.org> + +files/xfractint-20.04p08-Makefile.patch, +xfractint-20.04_p08.ebuild: + Version bump. 13 Sep 2008; nixnut <nixnut@gentoo.org> xfractint-20.04_p07.ebuild: Stable on ppc wrt bug 237004 diff --git a/x11-misc/xfractint/files/xfractint-20.04p08-Makefile.patch b/x11-misc/xfractint/files/xfractint-20.04p08-Makefile.patch new file mode 100644 index 000000000000..46fbeaa4b218 --- /dev/null +++ b/x11-misc/xfractint/files/xfractint-20.04p08-Makefile.patch @@ -0,0 +1,75 @@ +diff -Naurp xfractint-20.04p08-orig/Makefile xfractint-20.04p08/Makefile +--- xfractint-20.04p08-orig/Makefile 2008-09-13 23:53:43.000000000 +0200 ++++ xfractint-20.04p08/Makefile 2008-09-14 00:13:18.000000000 +0200 +@@ -1,4 +1,6 @@ +-SHELL=/bin/sh ++SHELL = /bin/sh ++STRIP = strip ++INSTALL = /usr/bin/install + + # Architecture + # automatic detection +@@ -330,40 +332,18 @@ clean: + cd $(UDIR) ; ${MAKE} clean + + install: xfractint fractint.hlp +- strip xfractint +-# only next 6 lines might need su +- sudo cp xfractint $(BINDIR)/xfractint; +-# install fractint if built +- if [ -x fractint ] ; then sudo install -c -s fractint $(BINDIR) ; fi +- sudo chmod a+x $(BINDIR)/xfractint; +- sudo cp $(UDIR)/xfractint.man $(MANDIR)/xfractint.1; +- sudo chmod a+r $(MANDIR)/xfractint.1 +- if [ ! -d $(SRCDIR) ] ; then sudo mkdir $(SRCDIR) ; fi +- cd $(SRCDIR); cd ..; sudo chmod -R a+rw $(SRCDIR) +-# create directories if they don't exist +- if [ ! -d $(SRCDIR)/$(PDIR) ] ; then mkdir $(SRCDIR)/$(PDIR) ; fi +- if [ ! -d $(SRCDIR)/$(FDIR) ] ; then mkdir $(SRCDIR)/$(FDIR) ; fi +- if [ ! -d $(SRCDIR)/$(IDIR) ] ; then mkdir $(SRCDIR)/$(IDIR) ; fi +- if [ ! -d $(SRCDIR)/$(LDIR) ] ; then mkdir $(SRCDIR)/$(LDIR) ; fi +- if [ ! -d $(SRCDIR)/$(MDIR) ] ; then mkdir $(SRCDIR)/$(MDIR) ; fi +- if [ ! -d $(SRCDIR)/$(XDIR) ] ; then mkdir $(SRCDIR)/$(XDIR) ; fi +-# copy all the files to the appropriate directories +- cp fractint.hlp sstools.ini $(DOCS) $(SRCDIR) +- cp $(PARFILES) $(SRCDIR)/$(PDIR) +- cp $(FRMFILES) $(SRCDIR)/$(FDIR) +- cp $(IFSFILES) $(SRCDIR)/$(IDIR) +- cp $(LFILES) $(SRCDIR)/$(LDIR) +- cp $(MAPFILES) $(SRCDIR)/$(MDIR) +- cp $(XTRAFILES) $(SRCDIR)/$(XDIR) +-# set permissions +- cd $(SRCDIR); chmod a+r fractint.hlp +- cd $(SRCDIR); chmod a+rw sstools.ini +- cd $(SRCDIR); chmod a+rw $(PARFILES) +- cd $(SRCDIR); chmod a+rw $(FRMFILES) +- cd $(SRCDIR); chmod a+rw $(IFSFILES) +- cd $(SRCDIR); chmod a+rw $(LFILES) +- cd $(SRCDIR); chmod a+rw $(MAPFILES) +- cd $(SRCDIR); chmod a+rw $(XTRAFILES) ++ $(STRIP) xfractint ++ $(INSTALL) -d $(BINDIR) $(MANDIR) $(SRCDIR)/$(PDIR) $(SRCDIR)/$(FDIR) \ ++ $(SRCDIR)/$(IDIR) $(SRCDIR)/$(LDIR) $(SRCDIR)/$(MDIR) $(SRCDIR)/$(XDIR) ++ $(INSTALL) xfractint -T $(BINDIR)/xfractint; ++ $(INSTALL) -m 644 -T $(UDIR)/xfractint.man $(MANDIR)/xfractint.1; ++ $(INSTALL) -m 644 -t $(SRCDIR) fractint.hlp sstools.ini $(DOCS) ++ $(INSTALL) -m 644 -t $(SRCDIR)/$(PDIR) $(PARFILES) ++ $(INSTALL) -m 644 -t $(SRCDIR)/$(FDIR) $(FRMFILES) ++ $(INSTALL) -m 644 -t $(SRCDIR)/$(IDIR) $(IFSFILES) ++ $(INSTALL) -m 644 -t $(SRCDIR)/$(LDIR) $(LFILES) ++ $(INSTALL) -m 644 -t $(SRCDIR)/$(MDIR) $(MAPFILES) ++ $(INSTALL) -m 644 -t $(SRCDIR)/$(XDIR) $(XTRAFILES) + + uninstall: + cd $(SRCDIR); rm -f $(PARFILES) +@@ -375,8 +355,8 @@ uninstall: + cd $(SRCDIR); rm -f fractint.hlp sstools.ini $(DOCS) + cd $(SRCDIR); rmdir $(PDIR) $(FDIR) $(IDIR) $(LDIR) $(MDIR) $(XDIR) + # only next 2 lines might need su +- cd $(SRCDIR); cd ..; sudo rmdir $(SRCDIR) +- sudo rm -f $(BINDIR)/xfractint $(MANDIR)/xfractint.1 ++ cd $(SRCDIR); cd ..; rmdir $(SRCDIR) ++ rm -f $(BINDIR)/xfractint $(MANDIR)/xfractint.1 + + fractint.hlp: hc $(DOSHELPDIR)/$(HELP) + cd $(DOSHELPDIR); ../hc /c; mv fractint.hlp .. diff --git a/x11-misc/xfractint/xfractint-20.04_p08.ebuild b/x11-misc/xfractint/xfractint-20.04_p08.ebuild new file mode 100644 index 000000000000..60c40c0fbd99 --- /dev/null +++ b/x11-misc/xfractint/xfractint-20.04_p08.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/xfractint/xfractint-20.04_p08.ebuild,v 1.1 2008/09/13 22:21:18 spock Exp $ + +inherit eutils toolchain-funcs + +MY_P=${P/_} + +DESCRIPTION="a fractal generator" +HOMEPAGE="http://www.fractint.org" +SRC_URI="http://www.fractint.org/ftp/current/linux/${MY_P}.tar.gz" + +LICENSE="freedist" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11" +DEPEND="${RDEPEND}" +# x86? ( dev-lang/nasm )" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/xfractint-20.04p08-Makefile.patch" +} + +src_compile() { + # Untested, any x86 archteam dev. is allowed to uncomment this. + local myasm="foo" +# use x86 && myasm="/usr/bin/nasm" + emake CC="$(tc-getCC)" AS="${myasm}" || die "emake failed." +} + +src_install() { + emake DESTDIR="${D}/usr" STRIP="true" install || die "emake install failed." + newenvd "${FILESDIR}"/xfractint.envd 60xfractint +} + +pkg_postinst() { + elog "XFractInt requires the FRACTDIR variable to be set in order to start." + elog "Please re-login or \`source /etc/profile\` to have this variable set." +} |