summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris White <chriswhite@gentoo.org>2005-04-01 19:02:58 +0000
committerChris White <chriswhite@gentoo.org>2005-04-01 19:02:58 +0000
commitcec82fb626d9cc996626d964ab6ec797dff433cf (patch)
treea551a645fc5fb59c90ac1437fc5e13cf173ad36e /dev-lang
parentstable on ia64 (diff)
downloadhistorical-cec82fb626d9cc996626d964ab6ec797dff433cf.tar.gz
historical-cec82fb626d9cc996626d964ab6ec797dff433cf.tar.bz2
historical-cec82fb626d9cc996626d964ab6ec797dff433cf.zip
Initial import into the tree. Closes bug #87486. Thanks to expose for the ebuild!
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/lazarus/ChangeLog11
-rw-r--r--dev-lang/lazarus/Manifest14
-rw-r--r--dev-lang/lazarus/files/digest-lazarus-0.9.61
-rw-r--r--dev-lang/lazarus/lazarus-0.9.6.ebuild68
-rw-r--r--dev-lang/lazarus/metadata.xml13
5 files changed, 107 insertions, 0 deletions
diff --git a/dev-lang/lazarus/ChangeLog b/dev-lang/lazarus/ChangeLog
new file mode 100644
index 000000000000..e8d3fb6b4c82
--- /dev/null
+++ b/dev-lang/lazarus/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-lang/lazarus
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/ChangeLog,v 1.1 2005/04/01 19:02:58 chriswhite Exp $
+
+*lazarus-0.9.6 (02 Apr 2005)
+
+ 02 Apr 2005; Chris White <chriswhite@gentoo.org> +metadata.xml,
+ +lazarus-0.9.6.ebuild:
+ Initial import into the tree. Closes bug #87486. Thanks to expose for the
+ ebuild!
+
diff --git a/dev-lang/lazarus/Manifest b/dev-lang/lazarus/Manifest
new file mode 100644
index 000000000000..c41d86b42830
--- /dev/null
+++ b/dev-lang/lazarus/Manifest
@@ -0,0 +1,14 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 b0b439a5fc011901ddc50c3226495066 lazarus-0.9.6.ebuild 2138
+MD5 2e2c3e076e0a920ac9a015742173ae31 metadata.xml 372
+MD5 2537b0f4be5fe2d48f2c45d0c36a2197 ChangeLog 417
+MD5 2c5da358e9346c528a1a6b76f1eff1d1 files/digest-lazarus-0.9.6 63
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.0 (GNU/Linux)
+
+iD8DBQFCTZNmFdQwWVoAgN4RAgoBAJ9M1sw/Qb6stAmQ3IbDZudTiYV+6ACff9mw
+xEKv+pDyQEmCaRQ8hPbM6aQ=
+=cK8j
+-----END PGP SIGNATURE-----
diff --git a/dev-lang/lazarus/files/digest-lazarus-0.9.6 b/dev-lang/lazarus/files/digest-lazarus-0.9.6
new file mode 100644
index 000000000000..6e7d69625012
--- /dev/null
+++ b/dev-lang/lazarus/files/digest-lazarus-0.9.6
@@ -0,0 +1 @@
+MD5 883163983cd0c81410e5971e5a1e3dc3 lazarus-0.9.6.tgz 7686485
diff --git a/dev-lang/lazarus/lazarus-0.9.6.ebuild b/dev-lang/lazarus/lazarus-0.9.6.ebuild
new file mode 100644
index 000000000000..3ee2deb94889
--- /dev/null
+++ b/dev-lang/lazarus/lazarus-0.9.6.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/lazarus/lazarus-0.9.6.ebuild,v 1.1 2005/04/01 19:02:58 chriswhite Exp $
+
+inherit eutils
+
+SLOT="0" # Note: Slotting Lazarus needs slotting fpc, see DEPEND.
+LICENSE="GPL-2 LGPL-2.1 LGPL-2.1-linking-exception"
+KEYWORDS="~x86"
+DESCRIPTION="Lazarus IDE is a feature rich visual programming environment emulating Delphi."
+HOMEPAGE="http://www.lazarus.freepascal.org/"
+IUSE=""
+SRC_URI="mirror://sourceforge/lazarus/lazarus-0.9.6.tgz"
+
+# Do not allow other versions of FPC.
+DEPEND="=dev-lang/fpc-2.0.0_rc2
+ =dev-lang/fpc-source-2.0.0_rc2
+ >=media-libs/gdk-pixbuf-0.22.0-r3
+ net-misc/rsync"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/lazarus
+
+src_unpack () {
+ unpack ${A} || die "Unpacking ${A} failed!"
+}
+
+src_compile () {
+ emake -j1 \
+ all \
+ || die "make all failed!"
+}
+
+src_install () {
+ # Note: Make install is broken and wont be fixed.
+ einfo "Copying files. Please wait..."
+
+ diropts -m0755
+ dodir /usr/share/
+ # Using rsync to avoid unnecessary copies and cleaning...
+ # Note: *.o and *.ppu are needed
+ rsync -a \
+ --exclude="CVS" --exclude=".cvsignore" \
+ --exclude="*.ppw" --exclude="*.ppl" \
+ --exclude="*.ow" --exclude="*.a"\
+ --exclude="*.rst" --exclude=".#*" \
+ --exclude="*.~*" --exclude="*.bak" \
+ --exclude="*.orig" --exclude="*.rej" \
+ --exclude=".xvpics" --exclude="*.compiled" \
+ --exclude="killme*" --exclude=".gdb_hist*" \
+ ${S} ${D}usr/share/ \
+ || die "Unable to copy files!"
+}
+
+pkg_preinst () {
+ # Fixing permissions.
+ find ${D} -name '*.sh' -exec chmod a+x {} \; || die "Failed to chmod *.sh files!"
+ find ${D} -name '*.pl' -exec chmod a+x {} \; || die "Failed to chmod *.pl files!"
+
+ # Symlinking binary
+ dodir /usr/bin/
+ dosym ../share/lazarus/startlazarus usr/bin/startlazarus || die "Symlinking startlazarus failed!"
+
+ # Desktop entry.
+ dodir /usr/share/pixmaps/
+ dosym ../lazarus/images/mainicon.xpm usr/share/pixmaps/lazarus.xpm || die "Symlinking icon failed!"
+ make_desktop_entry startlazarus "Lazarus IDE" "lazarus.xpm" || die "Failed making desktop entry!"
+}
diff --git a/dev-lang/lazarus/metadata.xml b/dev-lang/lazarus/metadata.xml
new file mode 100644
index 000000000000..1b61a0f66367
--- /dev/null
+++ b/dev-lang/lazarus/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>lang-misc</herd>
+<maintainer>
+ <email>chriswhite@gentoo.org</email>
+ <name>Chris White</name>
+</maintainer>
+<longdescription lang="en">
+A Borland Delphi lookalike for linux. Uses the free pascal compiler.
+</longdescription>
+</pkgmetadata>
+