summaryrefslogtreecommitdiff
path: root/sci-electronics/puff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/puff')
-rw-r--r--sci-electronics/puff/Manifest1
-rw-r--r--sci-electronics/puff/puff-20100127-r1.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/sci-electronics/puff/Manifest b/sci-electronics/puff/Manifest
index 9f939c689bfc..0f6071d99f06 100644
--- a/sci-electronics/puff/Manifest
+++ b/sci-electronics/puff/Manifest
@@ -1,3 +1,4 @@
DIST puff-20100127.tgz 430028 BLAKE2B e3c019c4034f4f70c3f1a2468360a8838ee338ec167b8da9ef6ec630d6443c66e798e22e6e2b80f6d706191756831aa3fa5146170e0bdb2cebe3cfcf13f6cd99 SHA512 d39d74300a5f6d226dcd6147f3c63cf30396abd14d765b24b48dbd1956c81a10d4233c141789648423aa44631197e1ec160630f9b20b6ac5ae641ae67cdcb2da
+EBUILD puff-20100127-r1.ebuild 991 BLAKE2B d71c2956192892074c75cea8628c6627803cd01143c241f2920dbed68d992f7c002e93946ca5f262ace996abd9eb1ec39d866e4be46faf000ec0a543d42ea29b SHA512 1cd1216feb494f22d798a04a1105f185558d171b3a6108fe597bcbe26571c90ef4e907534ebd08453be56ea6583bae8bb5811a776834ad74cf716ed1e7b06e12
EBUILD puff-20100127.ebuild 1076 BLAKE2B e5dbd08f27ab8a8f12d953abb7fdefe58dc5aeaf88816a0794b21a1b63cdaf44948768ecde83bc100d0f9b1e739f9289058de5e87ab4fbaa735e62fedbe4b020 SHA512 25b1ea4ed0abd027cfd4682aed6c2194f289a55cf7bdcf43ee0826e14d7252d1fadefa488c8dd9039e78ad7b3855e98564ebc439e0833e5df6a4da4beaa92959
MISC metadata.xml 378 BLAKE2B b89c27528f1e752ccee9a0150ea027f80f1a123d78e625d40344dc915e24aa7682d78e75289e16259ade5e35377149981f363fe9020e6ccbc065be0b3fff731f SHA512 e6cdfd1639a8c45afd779dfda0d3a76d66576a7fa089d2285cc044a627a1ba4c5a3d3814a43fc8a7be118d7d2c58b2ffc9d3ade71025fc0f51508d98c7265aa0
diff --git a/sci-electronics/puff/puff-20100127-r1.ebuild b/sci-electronics/puff/puff-20100127-r1.ebuild
new file mode 100644
index 000000000000..9ea282b9822f
--- /dev/null
+++ b/sci-electronics/puff/puff-20100127-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic
+
+DESCRIPTION="microwave CAD software"
+HOMEPAGE="http://wwwhome.cs.utwente.nl/~ptdeboer/ham/puff/"
+SRC_URI="http://wwwhome.cs.utwente.nl/~ptdeboer/ham/${PN}/${P}.tgz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="x11-libs/libX11"
+DEPEND="${RDEPEND}
+ dev-lang/fpc"
+
+src_prepare() {
+ default
+ # fix lib path for X11 and dont ignore LDFLAGS
+ sed -i -e "s#lib\\\/#$(get_libdir)\\\/#" \
+ -e 's/CFLAGS/#CFLAGS/' \
+ -e 's/link.res pu/link.res $(LDFLAGS) pu/' Makefile || die
+}
+
+src_compile() {
+ LDFLAGS="$(raw-ldflags)"
+ emake -j1
+}
+
+src_install() {
+ dobin puff
+
+ dodoc changelog.txt README.txt
+ newdoc "Puff Manual.pdf" Puff_Manual.pdf
+
+ insinto /usr/share/${PN}
+ doins setup.puf
+ doins -r orig_dev_and_puf_files
+}
+
+pkg_postinst() {
+ elog "You must copy /usr/share/${PN}/setup.puf into your working directory"
+ elog "before using the program."
+}