Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 100002 Details for
Bug 138619
sci-chemistry/jmol - new ebuild
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
jmol-10.2.0.ebuild
jmol-10.2.0.ebuild (text/plain), 1.99 KB, created by
Jeffrey Gardner (RETIRED)
on 2006-10-19 01:16:45 UTC
(
hide
)
Description:
jmol-10.2.0.ebuild
Filename:
MIME Type:
Creator:
Jeffrey Gardner (RETIRED)
Created:
2006-10-19 01:16:45 UTC
Size:
1.99 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit eutils java-pkg webapp > >DESCRIPTION="Jmol a java molecular viever for three-dimensional chemical structures" >SRC_URI="http://download.sourceforge.net/${PN}/${P}-full.tar.gz" >HOMEPAGE="http://jmol.sourceforge.net/" >KEYWORDS="~amd64" >SLOT="${PV}" >LICENSE="LGPL-2.1" > >IUSE="intl" > >RDEPEND=">=virtual/jre-1.4" >DEPEND=">=virtual/jre-1.4 > dev-java/ant-core > vhosts? app-admin/webapp-config" > > >pkg_setup() { > > if use vhosts ; then > webapp_pkg_setup > fi > >} > >src_unpack() { > > unpack ${A} > cd ${S} > ># i18n is broken without files from svn. Next release should be fixed. > if use intl ; then > epatch "${FILESDIR}/${P}-no-i18n.patch" > else > epatch "${FILESDIR}/${P}-nointl.patch" > fi > > epatch "${FILESDIR}/${P}-manifest.patch" > > sed -i "s/jmol/${P}/" "${PN}" > > mkdir "${S}/selfSignedCertificate" > cp "${FILESDIR}/selfSignedCertificate.store" "${S}/selfSignedCertificate/" > >} > >src_compile() { > > ant || die "Compilation problem" > >} > > >src_install() { > > java-pkg_jarinto /usr/share/${P} > java-pkg_dojar Jmol.jar JmolApplet.* > dohtml -r build/doc/* > dodoc *.txt doc/*license* > edos2unix jmol || die "Failed to convert jmol from DOS format." > dobin jmol > > use vhosts && { webapp_src_preinst > cp Jmol.* ${D}${MY_HTDOCSDIR} > cp jmol ${D}${MY_HTDOCSDIR} > cp JmolApplet.* ${D}${MY_HTDOCSDIR} > cp applet.classes ${D}${MY_HTDOCSDIR} > cp -r build/classes/* ${D}${MY_HTDOCSDIR} > cp -r build/appjars/* ${D}${MY_HTDOCSDIR} > cp ${FILESDIR}/caffeine.xyz ${D}${MY_HTDOCSDIR} > >cat >> ${D}${MY_HTDOCSDIR}/index.html << EOF ><html> > <head> > <title>Jmol Test Page</title> ><div align="center"> <b>All the Sugar and Twice the Caffeine.</b> <br><br> > <script src="./Jmol.js"></script> > </head> > <body> > <script> > jmolInitialize("./"); // REQUIRED > jmolApplet(400, "load ./caffeine.xyz"); > </script></div> > </body> ></html> >EOF > > webapp_src_install > > } >} > >pkg_postinst() { > use vhosts && webapp_pkg_postinst > >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 138619
:
90549
|
92662
|
92663
|
92683
|
92684
|
92826
|
92827
|
92828
|
92829
|
92830
|
98122
|
100002
|
100003
|
100004
|
100006
|
100011
|
100012
|
100078
|
100079
|
100877
|
100981