diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /sci-chemistry/threeV | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'sci-chemistry/threeV')
-rw-r--r-- | sci-chemistry/threeV/Manifest | 1 | ||||
-rw-r--r-- | sci-chemistry/threeV/files/1.2-gentoo.patch | 107 | ||||
-rw-r--r-- | sci-chemistry/threeV/metadata.xml | 8 | ||||
-rw-r--r-- | sci-chemistry/threeV/threeV-1.2.ebuild | 34 |
4 files changed, 150 insertions, 0 deletions
diff --git a/sci-chemistry/threeV/Manifest b/sci-chemistry/threeV/Manifest new file mode 100644 index 000000000000..87b89d3f552f --- /dev/null +++ b/sci-chemistry/threeV/Manifest @@ -0,0 +1 @@ +DIST 3v-1.2.tgz 599194 RMD160 133d770fd2c7c353b05db74594998954be92e9a0 SHA1 86895fb5c33360db2c30cec258dacbc01f39638a SHA256 ae11ce61e6b7cac6aa07d91914b59507a04a1dbfbe624ed8356154cbabc6e8af diff --git a/sci-chemistry/threeV/files/1.2-gentoo.patch b/sci-chemistry/threeV/files/1.2-gentoo.patch new file mode 100644 index 000000000000..0827551599ba --- /dev/null +++ b/sci-chemistry/threeV/files/1.2-gentoo.patch @@ -0,0 +1,107 @@ +diff --git a/src/Makefile b/src/Makefile +index a58462c..616f51a 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -1,7 +1,7 @@ +-CC = g++ +-EXT=$(shell ./cpuflags.pl --opt ) +-FLAGS = -Wall $(EXT) +-#FLAGS = -O3 -Wall -ffast-math ++CXX ?= g++ ++#EXT=$(shell ./cpuCXXFLAGS.pl --opt ) ++#CXXFLAGS = -Wall $(EXT) ++#CXXFLAGS = -O3 -Wall -ffast-math + OBJS = utils-main.o utils-output.o utils-mrc.o + + all: cav chan fsv sol tun vdw vol +@@ -17,54 +17,65 @@ volume: vol + objects: utils-main.o utils-output.o utils-mrc.o + + cav: objects cavities.cpp +- $(CC) $(FLAGS) -o Cavities.exe $(OBJS) cavities.cpp +- chmod 777 Cavities.exe +- mv Cavities.exe ../bin ++ $(CXX) $(CXXFLAGS) -c -o cavities.o cavities.cpp ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o Cavities $(OBJS) cavities.o ++ chmod 755 Cavities ++ mv Cavities ../bin + + chan: objects channel.cpp +- $(CC) $(FLAGS) -o Channel.exe $(OBJS) channel.cpp +- chmod 777 Channel.exe +- mv Channel.exe ../bin ++ $(CXX) $(CXXFLAGS) -c -o channel.o channel.cpp ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o Channel $(OBJS) channel.o ++ chmod 755 Channel ++ mv Channel ../bin + + fsv: objects fsv_calc.cpp +- $(CC) $(FLAGS) -o FsvCalc.exe $(OBJS) fsv_calc.cpp +- chmod 777 FsvCalc.exe +- mv FsvCalc.exe ../bin ++ $(CXX) $(CXXFLAGS) -c -o fsv_calc.o fsv_calc.cpp ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o FsvCalc $(OBJS) fsv_calc.o ++ chmod 755 FsvCalc ++ mv FsvCalc ../bin + + sol: objects solvent.cpp +- $(CC) $(FLAGS) -o Solvent.exe $(OBJS) solvent.cpp +- chmod 777 Solvent.exe +- mv Solvent.exe ../bin ++ $(CXX) $(CXXFLAGS) -c -o solvent.o solvent.cpp ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o Solvent $(OBJS) solvent.o ++ chmod 755 Solvent ++ mv Solvent ../bin + + tun: objects tunnel.cpp +- $(CC) $(FLAGS) -o Tunnel.exe $(OBJS) tunnel.cpp +- chmod 777 Tunnel.exe +- mv Tunnel.exe ../bin ++ $(CXX) $(CXXFLAGS) -c -o tunnel.o tunnel.cpp ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o Tunnel $(OBJS) tunnel.o ++ chmod 755 Tunnel ++ mv Tunnel ../bin + + vdw: objects vdw.cpp +- $(CC) $(FLAGS) -o VDW.exe $(OBJS) vdw.cpp +- chmod 777 VDW.exe +- mv VDW.exe ../bin ++ $(CXX) $(CXXFLAGS) -c -o vdw.o vdw.cpp ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o VDW $(OBJS) vdw.o ++ chmod 755 VDW ++ mv VDW ../bin + + vol: objects volume.cpp +- $(CC) $(FLAGS) -o Volume.exe $(OBJS) volume.cpp +- chmod 777 Volume.exe +- mv Volume.exe ../bin ++ $(CXX) $(CXXFLAGS) -c -o volume.o volume.cpp ++ $(CXX) $(CXXFLAGS) $(LDFLAGS) -o Volume $(OBJS) volume.o ++ chmod 755 Volume ++ mv Volume ../bin + + utils-main.o: utils-main.cpp +- $(CC) $(FLAGS) -c -o utils-main.o utils-main.cpp ++ $(CXX) $(CXXFLAGS) -c -o utils-main.o utils-main.cpp + + utils-output.o: utils-main.o utils-output.cpp +- $(CC) $(FLAGS) -c -o utils-output.o utils-output.cpp ++ $(CXX) $(CXXFLAGS) -c -o utils-output.o utils-output.cpp + + utils-mrc.o: utils-mrc.cpp +- $(CC) $(FLAGS) -c -o utils-mrc.o utils-mrc.cpp ++ $(CXX) $(CXXFLAGS) -c -o utils-mrc.o utils-mrc.cpp ++ ++install: ++ install -d $(DESTDIR)/usr/bin ++ install ../bin/* $(DESTDIR)/usr/bin/ + + clean: + rm -fv *.o *~ + + distclean: +- rm -fv *.o ../bin/*.exe *~ ++ rm -fv *.o ../bin/* *~ + + none: + echo "Please type make xxx, where xxx = cav, cha, fsv, sol, tun, vdw, or vol" diff --git a/sci-chemistry/threeV/metadata.xml b/sci-chemistry/threeV/metadata.xml new file mode 100644 index 000000000000..043cc7527474 --- /dev/null +++ b/sci-chemistry/threeV/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>sci-chemistry</herd> +<maintainer> + <email>jlec@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/sci-chemistry/threeV/threeV-1.2.ebuild b/sci-chemistry/threeV/threeV-1.2.ebuild new file mode 100644 index 000000000000..7aaa18bba004 --- /dev/null +++ b/sci-chemistry/threeV/threeV-1.2.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="3" + +inherit eutils toolchain-funcs + +DESCRIPTION="3V: Voss Volume Voxelator" +HOMEPAGE="http://geometry.molmovdb.org/3v/" +SRC_URI="http://geometry.molmovdb.org/3v/3v-${PV}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +PDEPEND="sci-chemistry/msms-bin" +# sci-chemistry/usf-rave" + +S="${WORKDIR}/3v-${PV}/src" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-gentoo.patch + tc-export CXX + emake distclean || die +} + +src_install() { + emake DESTDIR="${ED}" install || die + + cd .. + dodoc AUTHORS ChangeLog QUICKSTART README TODO VERSION || die +} |