summaryrefslogtreecommitdiff
path: root/sci-chemistry/surf
diff options
context:
space:
mode:
Diffstat (limited to 'sci-chemistry/surf')
-rw-r--r--sci-chemistry/surf/Manifest5
-rw-r--r--sci-chemistry/surf/metadata.xml8
-rw-r--r--sci-chemistry/surf/surf-1.0.ebuild43
3 files changed, 56 insertions, 0 deletions
diff --git a/sci-chemistry/surf/Manifest b/sci-chemistry/surf/Manifest
new file mode 100644
index 000000000000..de36ce2287c2
--- /dev/null
+++ b/sci-chemistry/surf/Manifest
@@ -0,0 +1,5 @@
+DIST surf-1.0.tar.Z 74347 SHA256 6d032e4b749e5e1971b5d97b0fcf552029068a87bcaebd6ce92db27179f7cb0a SHA512 55b0e771f880931e43d677498ef4cdd92e5f57980d90b686b13c7ae612c8d695353a6f3b5ad0dab184d44e67d8cc5244e7b3f45b4f067c4174ed4399c184d435 WHIRLPOOL 961e117b1e9fd5357224db76520fba7339da9e9f4a8aac73cd5b2f13e89b4e6f8ad731c092d1a5c52754b1f07a875bce253ba991b673e7bfa1f647b0d30226ef
+EBUILD surf-1.0.ebuild 822 SHA256 429c0d6e36ec40bb8ace7470c78aa6d253cbe4da0aae78d67dbe6985ec2fc58c SHA512 94b7de7a59085f10b60c3aa8ab5280a441239cb63ea3723d15dac949295a07d401c820c5b24e7ff1d03571086c6a1ead3a43d2688a17d6ab4928c9728270f706 WHIRLPOOL 95f4195361af92601c2a000a9613cf90050a31f9511edfd8aa93644646c0da1bd255e0e21aad1b762097d89437bad75766e6c959af628c74a530d9bf556f7301
+MISC ChangeLog 2419 SHA256 957f8d72b917e14204a2e0976cf7c74adc5fdf81f89e6f5eef08eab097e8be6e SHA512 1f84abfe31398b7713009929c2e3fd01deadbbdbec60d3eb40df76c0c6bffa18f083182b12b399cfdad0ab906e0df9a7b726f1e56b0f54b32e772808343ef60e WHIRLPOOL 50241b796fce8fc9e286039e29fb15c7987e85706c1317565cb5fddf8e3513a1c2b8bc3f8661cc8d700ef664215acec6965730f4322370a117a4790de831fb61
+MISC ChangeLog-2015 1005 SHA256 1f596bedd0ae1480dc6c961fd3c96f8961e80181d594e416a8eb9bb58815515b SHA512 e8cd17d51304f4e8ce58981322abc078dd989f02b63ffafd46a0322735de42f0b994c5ba08b591c253a8b25b73de38044b65e51b13cf906fa30b83137ea49be3 WHIRLPOOL 12d556624805f11cb95ef5238568caa720b71495485039971105de245c52efaec91bf3340de2694b73c65bbaae136cc5912e65f26566bc5172e8946192d98745
+MISC metadata.xml 261 SHA256 f53f2259ad8695c56f1457bcbd63ad8f51108ec471d728cd2fe6f523b36b09d8 SHA512 72682d17ec2b918131b551bd1ff41004965d3cf0c00d24222b34741d2eabf601cf36d4266be70ba7fb7bd0ab55d9dcb5b8e4ca41125bc31f176516797459c8c7 WHIRLPOOL 8ae9531cec25662e7d2a9df3c46039a66da22cb0becfc5cb2eacbb0ea5cfedf0491bd7110465ae37c4e8263b5a962f4973eed3dc569db0d524506943014444a2
diff --git a/sci-chemistry/surf/metadata.xml b/sci-chemistry/surf/metadata.xml
new file mode 100644
index 000000000000..4ac68c154bb0
--- /dev/null
+++ b/sci-chemistry/surf/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+ <email>sci-chemistry@gentoo.org</email>
+ <name>Gentoo Chemistry Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/sci-chemistry/surf/surf-1.0.ebuild b/sci-chemistry/surf/surf-1.0.ebuild
new file mode 100644
index 000000000000..138830fe777c
--- /dev/null
+++ b/sci-chemistry/surf/surf-1.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="4"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Solvent accesible Surface calculator"
+HOMEPAGE="http://www.ks.uiuc.edu/"
+SRC_URI="http://www.ks.uiuc.edu/Research/vmd/extsrcs/surf.tar.Z -> ${P}.tar.Z"
+
+LICENSE="SURF"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE=""
+
+DEPEND="
+ !www-client/surf
+ sys-apps/ed
+ x11-misc/makedepend"
+RDEPEND=""
+
+S=${WORKDIR}
+
+src_prepare() {
+ sed \
+ -e 's:$(CC) $(CFLAGS) $(OBJS):$(CC) $(CFLAGS) $(LDFLAGS) $(OBJS):g' \
+ -i Makefile || die
+}
+
+src_compile() {
+ emake depend \
+ && emake \
+ CC="$(tc-getCC)" \
+ OPT_CFLAGS="${CFLAGS} \$(INCLUDE)" \
+ CFLAGS="${CFLAGS} \$(INCLUDE)" \
+ || die
+}
+
+src_install() {
+ dobin ${PN} || die
+ dodoc README || die
+}