Gentoo Archives: gentoo-commits

From: "Thomas Beierlein (tomjbe)" <tomjbe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-electronics/puff: metadata.xml ChangeLog puff-20100127.ebuild
Date: Sun, 02 Jan 2011 15:36:21
Message-Id: 20110102153610.D574620054@flycatcher.gentoo.org
1 tomjbe 11/01/02 15:36:10
2
3 Added: metadata.xml ChangeLog puff-20100127.ebuild
4 Log:
5 Initial ebuild (bug #316807). Moved from sci overlay.
6
7 (Portage version: 2.1.9.27/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sci-electronics/puff/metadata.xml
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/puff/metadata.xml?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/puff/metadata.xml?rev=1.1&content-type=text/plain
14
15 Index: metadata.xml
16 ===================================================================
17 <?xml version="1.0" encoding="UTF-8"?>
18 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
19 <pkgmetadata>
20 <herd>sci-electronics</herd>
21 <maintainer>
22 <email>tomjbe@g.o</email>
23 <name>Thomas Beierlein</name>
24 </maintainer>
25 </pkgmetadata>
26
27
28
29 1.1 sci-electronics/puff/ChangeLog
30
31 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/puff/ChangeLog?rev=1.1&view=markup
32 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/puff/ChangeLog?rev=1.1&content-type=text/plain
33
34 Index: ChangeLog
35 ===================================================================
36 # ChangeLog for sci-electronics/puff
37 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
38 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/puff/ChangeLog,v 1.1 2011/01/02 15:36:10 tomjbe Exp $
39
40 02 Jan 2011; Thomas Beierlein <tomjbe@g.o> +puff-20100127.ebuild,
41 +metadata.xml:
42 Initial ebuild (bug #316807). Moved from sci overlay.
43
44 *puff-20100127 (04 Jul 2010)
45
46 04 Jul 2010; Thomas Beierlein <tomjbe@g.o> +puff-20100127.ebuild,
47 +metadata.xml:
48 Initial ebuild (see bug #316807)
49
50
51
52
53 1.1 sci-electronics/puff/puff-20100127.ebuild
54
55 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/puff/puff-20100127.ebuild?rev=1.1&view=markup
56 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-electronics/puff/puff-20100127.ebuild?rev=1.1&content-type=text/plain
57
58 Index: puff-20100127.ebuild
59 ===================================================================
60 # Copyright 1999-2011 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 # $Header: /var/cvsroot/gentoo-x86/sci-electronics/puff/puff-20100127.ebuild,v 1.1 2011/01/02 15:36:10 tomjbe Exp $
63
64 EAPI="2"
65
66 inherit flag-o-matic multilib
67
68 DESCRIPTION="microwave CAD software"
69 HOMEPAGE="http://www.vf.utwente.nl/~ptdeboer/ham/puff/"
70 SRC_URI="http://www.vf.utwente.nl/~ptdeboer/ham/${PN}/${P}.tgz"
71
72 LICENSE="GPL-3"
73 SLOT="0"
74 KEYWORDS="~amd64 ~x86"
75 IUSE=""
76
77 RDEPEND="x11-libs/libX11"
78 DEPEND="${RDEPEND}
79 dev-lang/fpc
80 amd64? ( >=dev-lang/fpc-2.4.0 )"
81
82 src_prepare() {
83 # fix lib path for X11 and dont ignore LDFLAGS
84 sed -i -e "s#lib\\\/#$(get_libdir)\\\/#" \
85 -e 's/link.res pu/link.res $(LDFLAGS) pu/' Makefile || die
86 }
87
88 src_compile() {
89 LDFLAGS="$(raw-ldflags)"
90 emake -j1 || die
91 }
92
93 src_install() {
94 dobin puff || die
95
96 dodoc changelog.txt README.txt || die
97 newdoc "Puff Manual.pdf" Puff_Manual.pdf || die
98
99 insinto /usr/share/${PN}
100 doins setup.puf || die
101 doins -r orig_dev_and_puf_files || die
102 }
103
104 pkg_postinst() {
105 elog "You must copy /usr/share/${PN}/setup.puf into your working directory"
106 elog "before using the program."
107 }