diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2007-09-11 15:06:58 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2007-09-11 15:06:58 +0000 |
commit | 07a8152823d3f5f14c0c77a42ef360d47a943ed8 (patch) | |
tree | 877f257e767793bed95fa6a6535eb209c787433d /sci-astronomy/predict | |
parent | new 0.20 rev for xmltv fixes. new 0.21 for upstream trunk fixes. remove old v... (diff) | |
download | historical-07a8152823d3f5f14c0c77a42ef360d47a943ed8.tar.gz historical-07a8152823d3f5f14c0c77a42ef360d47a943ed8.tar.bz2 historical-07a8152823d3f5f14c0c77a42ef360d47a943ed8.zip |
Removed old versions, added longdescription, added a patch for xforms.
Package-Manager: portage-2.1.2.12
Diffstat (limited to 'sci-astronomy/predict')
-rw-r--r-- | sci-astronomy/predict/ChangeLog | 7 | ||||
-rw-r--r-- | sci-astronomy/predict/Manifest | 46 | ||||
-rw-r--r-- | sci-astronomy/predict/files/digest-predict-2.2.2-r3 | 3 | ||||
-rw-r--r-- | sci-astronomy/predict/files/predict-2.2.3-xforms.patch | 79 | ||||
-rw-r--r-- | sci-astronomy/predict/metadata.xml | 6 | ||||
-rw-r--r-- | sci-astronomy/predict/predict-2.2.2-r3.ebuild | 170 | ||||
-rw-r--r-- | sci-astronomy/predict/predict-2.2.3.ebuild | 36 |
7 files changed, 138 insertions, 209 deletions
diff --git a/sci-astronomy/predict/ChangeLog b/sci-astronomy/predict/ChangeLog index 0ad50eafc81c..248e02c361ed 100644 --- a/sci-astronomy/predict/ChangeLog +++ b/sci-astronomy/predict/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-astronomy/predict # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/predict/ChangeLog,v 1.9 2007/01/26 14:43:43 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/predict/ChangeLog,v 1.10 2007/09/11 15:06:57 bicatali Exp $ + + 11 Sep 2007; SĂ©bastien Fabbro <bicatali@gentoo.org> + -predict-2.2.2-r3.ebuild, predict-2.2.3.ebuild, +files/predict-2.2.3-xforms.patch + Removed old versions, added longdescription, added a patch for + xforms. Should fix bug #140991. 26 Jan 2007; Steve Dibb <beandog@gentoo.org> predict-2.2.3.ebuild: amd64 stable, bug 160130 diff --git a/sci-astronomy/predict/Manifest b/sci-astronomy/predict/Manifest index 0e7225c8ca85..8ba1885c979f 100644 --- a/sci-astronomy/predict/Manifest +++ b/sci-astronomy/predict/Manifest @@ -1,28 +1,34 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX predict-2.2.3-xforms.patch 2498 RMD160 168a806d750d2b3bd17cf8f21c44a1de1376cefa SHA1 e59d8e756b604cd549e06dbb6a01ca87e135ae1e SHA256 b639b8674b907692ff8780d9df8ae07d17c8e235f201635bccb2f2a6a941fe89 +MD5 556ba4a5d838ad03d2ae69a78d4f043a files/predict-2.2.3-xforms.patch 2498 +RMD160 168a806d750d2b3bd17cf8f21c44a1de1376cefa files/predict-2.2.3-xforms.patch 2498 +SHA256 b639b8674b907692ff8780d9df8ae07d17c8e235f201635bccb2f2a6a941fe89 files/predict-2.2.3-xforms.patch 2498 AUX predict-update 4039 RMD160 85c5c74dcf7cbdb0a8520790309fc7b1025246f1 SHA1 c5f78498c411f6dfa5e828f65deb6d1a36fcab2a SHA256 83dbf5f5e08f7d017391f7cfa7a30730f8930dec195dfa60bcd075188275d892 MD5 8a9d525b47fcb8f60306564fb9a3c5e5 files/predict-update 4039 RMD160 85c5c74dcf7cbdb0a8520790309fc7b1025246f1 files/predict-update 4039 SHA256 83dbf5f5e08f7d017391f7cfa7a30730f8930dec195dfa60bcd075188275d892 files/predict-update 4039 -DIST predict-2.2.2.tar.gz 1637893 RMD160 555db99142521408d2c24065972eaba16d8541e2 SHA1 f0159bca055ea686886af149253fe4a5ae4ac73e SHA256 6996bc4219483fb3bb0e33de5bd58bc7a921fad4298a951b5a6a3c97f8d95d7f DIST predict-2.2.3.tar.gz 1639784 RMD160 b0ec4efcad5ca530f787b2a83d3ba9bb80489d6e SHA1 1eb4fcc9cf1aca79d890ef62b512763617453c9e SHA256 fbaa7c78227a2216ee22b25c914c4dd538abfc22d96f0bb5d21e3e61976e5166 -EBUILD predict-2.2.2-r3.ebuild 4418 RMD160 215874f894b3e741fe73a6e9856a59e819da8842 SHA1 eecaa5152993da8205240d30f4ab064caa325234 SHA256 2fbbb7f682721601d2ee93cc3367576720143e7a2909397441a6dccccbb8582e -MD5 7b8d3b5a1afd8f9ac705eeed70ffe10c predict-2.2.2-r3.ebuild 4418 -RMD160 215874f894b3e741fe73a6e9856a59e819da8842 predict-2.2.2-r3.ebuild 4418 -SHA256 2fbbb7f682721601d2ee93cc3367576720143e7a2909397441a6dccccbb8582e predict-2.2.2-r3.ebuild 4418 -EBUILD predict-2.2.3.ebuild 4750 RMD160 3db022186af6eb109afc0eb111926bcb1be03eef SHA1 ae45c96d5bb0159ff16e7d959cb1a09be5031a5d SHA256 daee1b2b7ea9e169e98b77a8648e5a4109d3f65ca16a4b4a870652fd575c09bf -MD5 9264102f6602fe034ab4a75e7bf172f2 predict-2.2.3.ebuild 4750 -RMD160 3db022186af6eb109afc0eb111926bcb1be03eef predict-2.2.3.ebuild 4750 -SHA256 daee1b2b7ea9e169e98b77a8648e5a4109d3f65ca16a4b4a870652fd575c09bf predict-2.2.3.ebuild 4750 -MISC ChangeLog 2676 RMD160 76a54fa69cbc976e9015e1085947f0b70f7656b7 SHA1 af05579fe48fa8619464d9e24c6f9f3888dfafdd SHA256 43199938795f851a33c834398674e60a2dfcbd3941da3ebdd1433979e6b712a5 -MD5 8c231d3b47f5069e0e3ebe9d854fe9aa ChangeLog 2676 -RMD160 76a54fa69cbc976e9015e1085947f0b70f7656b7 ChangeLog 2676 -SHA256 43199938795f851a33c834398674e60a2dfcbd3941da3ebdd1433979e6b712a5 ChangeLog 2676 -MISC metadata.xml 156 RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 SHA1 da2b240a255820145b7c83a5c48e45b96b7e9ee6 SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 -MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156 -RMD160 dc078172bfebcb25d69bdf8731714f9cce9d3e36 metadata.xml 156 -SHA256 5d22100902db7507a5b5493dd4a66cdb08025faf80a2c0b75e6392315c47f900 metadata.xml 156 -MD5 b36d97c0cac641963b9346a4f153cd1f files/digest-predict-2.2.2-r3 244 -RMD160 70e008cebd7c3c4bfe9cc0ff1e4acb71883842df files/digest-predict-2.2.2-r3 244 -SHA256 773122e6f501906793008b52b3578ec3623325c7f42b694052381ae1e16f4301 files/digest-predict-2.2.2-r3 244 +EBUILD predict-2.2.3.ebuild 4836 RMD160 cd209fe232bad1d664bea52008782cb9b4b4f567 SHA1 ed387428cd159c0e5c3aecc105dbc45fb2c165ad SHA256 ddfa74aabbdc80350e48ca8c18e68462b430cea1e239695bbd512d57bccc8bb7 +MD5 2848a24a91ff388f53d0bde2cc84bd0e predict-2.2.3.ebuild 4836 +RMD160 cd209fe232bad1d664bea52008782cb9b4b4f567 predict-2.2.3.ebuild 4836 +SHA256 ddfa74aabbdc80350e48ca8c18e68462b430cea1e239695bbd512d57bccc8bb7 predict-2.2.3.ebuild 4836 +MISC ChangeLog 2917 RMD160 a248af1e43e7953c6475cc7ec62cee4e61576165 SHA1 ce82f8524bfbe55d22fcbb3f1eb575330cb26dd8 SHA256 40298abbc904eccc52cb16738befe815bd4142cf30a51012d2750d452900583e +MD5 9a403734b4b26ca101e31413a98e2349 ChangeLog 2917 +RMD160 a248af1e43e7953c6475cc7ec62cee4e61576165 ChangeLog 2917 +SHA256 40298abbc904eccc52cb16738befe815bd4142cf30a51012d2750d452900583e ChangeLog 2917 +MISC metadata.xml 453 RMD160 58d87a6df1cc7d98228f5b73296b0902e5fb4546 SHA1 7968ba6ea9921adab3ee4131ccd5d686edf02adb SHA256 da3543edc1f336cf5585e1d8d02e58af7518ea6a239b0526a91a25121ee6b3e0 +MD5 9529a655826515e43ff1447c6f6defbc metadata.xml 453 +RMD160 58d87a6df1cc7d98228f5b73296b0902e5fb4546 metadata.xml 453 +SHA256 da3543edc1f336cf5585e1d8d02e58af7518ea6a239b0526a91a25121ee6b3e0 metadata.xml 453 MD5 b30842b692f70600a4d7c5804e49090e files/digest-predict-2.2.3 244 RMD160 f5e4ae43e4b73c190298041527a32f91a55a08c6 files/digest-predict-2.2.3 244 SHA256 482dc8f82c0cda69033c60971e3b300d3c46a8540779a132e23931ecc7cc213b files/digest-predict-2.2.3 244 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.7 (GNU/Linux) + +iD8DBQFG5q8X1ycZbhPLE2ARAiIcAJ96NVPDZPlJrt29NCQdIt4Oq3vPjwCdHLi3 +3oDFnYFSQU2Q9rJtGCBFyt0= +=zVlD +-----END PGP SIGNATURE----- diff --git a/sci-astronomy/predict/files/digest-predict-2.2.2-r3 b/sci-astronomy/predict/files/digest-predict-2.2.2-r3 deleted file mode 100644 index 4e4d2c185c83..000000000000 --- a/sci-astronomy/predict/files/digest-predict-2.2.2-r3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 2512bc6b584ece66de027e46f114ab53 predict-2.2.2.tar.gz 1637893 -RMD160 555db99142521408d2c24065972eaba16d8541e2 predict-2.2.2.tar.gz 1637893 -SHA256 6996bc4219483fb3bb0e33de5bd58bc7a921fad4298a951b5a6a3c97f8d95d7f predict-2.2.2.tar.gz 1637893 diff --git a/sci-astronomy/predict/files/predict-2.2.3-xforms.patch b/sci-astronomy/predict/files/predict-2.2.3-xforms.patch new file mode 100644 index 000000000000..49bce1b14e36 --- /dev/null +++ b/sci-astronomy/predict/files/predict-2.2.3-xforms.patch @@ -0,0 +1,79 @@ +diff -Nur clients/map.orig/map.c clients/map/map.c +--- clients/map.orig/map.c 2007-09-11 15:56:24.838414157 +0100 ++++ clients/map/map.c 2007-09-11 15:52:24.148698032 +0100 +@@ -18,7 +18,7 @@ + *****************************************************************************/ + /* Form definition file generated with fdesign. */ + +-#include "forms.h" ++#include <forms.h> + #include <stdlib.h> + #include "map.h" + #include "world_fill.h" +diff -Nur clients/map.orig/map_cb.c clients/map/map_cb.c +--- clients/map.orig/map_cb.c 2007-09-11 15:56:24.838414157 +0100 ++++ clients/map/map_cb.c 2007-09-11 15:54:05.190456074 +0100 +@@ -18,9 +18,11 @@ + *****************************************************************************/ + #include <stdio.h> + #include <stdlib.h> ++#include <unistd.h> + #include <sys/types.h> + #include <sys/socket.h> + #include <netinet/in.h> ++#include <arpa/inet.h> + #include <netdb.h> + #include <signal.h> + #include <time.h> +@@ -39,7 +41,7 @@ + /* This function implements the arccosine function, + returning a value between 0 and two pi. */ + +- double result, fraction; ++ double result=0.0, fraction; + + fraction=x/y; + +@@ -76,7 +78,7 @@ + bzero((char *)&sin,sizeof(struct sockaddr_in)); + sin.sin_family = AF_INET; + +- if (pse=getservbyname(service,protocol)) ++ if ((pse=getservbyname(service,protocol))) + sin.sin_port=pse->s_port; + + else if ((sin.sin_port=htons((unsigned short)atoi(service)))==0) +@@ -85,7 +87,7 @@ + return -1; + } + +- if (phe=gethostbyname(host)) ++ if ((phe=gethostbyname(host))) + bcopy(phe->h_addr,(char *)&sin.sin_addr,phe->h_length); + + else if ((sin.sin_addr.s_addr = inet_addr(host))==INADDR_NONE) +diff -Nur clients/map.orig/map_main.c clients/map/map_main.c +--- clients/map.orig/map_main.c 2007-09-11 15:56:24.838414157 +0100 ++++ clients/map/map_main.c 2007-09-11 15:55:58.208896628 +0100 +@@ -16,9 +16,11 @@ + * for more details. * + * * + *****************************************************************************/ +-#include "forms.h" ++#include <forms.h> + #include "map.h" + #include <sys/timeb.h> ++#include <unistd.h> ++#include <stdlib.h> + + extern int connectsock(); + extern void handler(); +@@ -29,7 +31,7 @@ + int main(int argc, char *argv[]) + { + int i, skt, x, y, z; +- char cmd[16], bufr[625], satnamelist[26][26]; ++ char bufr[625], satnamelist[26][26]; + const char *ptrsat; + FD_map *fd_map; + struct timeb tptr; diff --git a/sci-astronomy/predict/metadata.xml b/sci-astronomy/predict/metadata.xml index b229aec85b8f..c73af199f515 100644 --- a/sci-astronomy/predict/metadata.xml +++ b/sci-astronomy/predict/metadata.xml @@ -2,4 +2,10 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>sci</herd> +<longdescription lang="en"> +Predict is a satellite tracking program. It is probably mostly of interest +to users of amateur satellites, but includes support for optionally +announcing azimuth and elevation to help in manual antenna pointing, +or optical observation of satellites. +</longdescription> </pkgmetadata> diff --git a/sci-astronomy/predict/predict-2.2.2-r3.ebuild b/sci-astronomy/predict/predict-2.2.2-r3.ebuild deleted file mode 100644 index ab928ed04c58..000000000000 --- a/sci-astronomy/predict/predict-2.2.2-r3.ebuild +++ /dev/null @@ -1,170 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/predict/predict-2.2.2-r3.ebuild,v 1.4 2005/12/08 00:53:27 cryos Exp $ - -inherit multilib - -DESCRIPTION="Satellite tracking and orbital prediction." -HOMEPAGE="http://www.qsl.net/kd2bd/predict.html" -SRC_URI="http://www.amsat.org/amsat/ftp/software/Linux/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -IUSE="xforms gtk nls" -KEYWORDS="amd64 ~ppc x86" - -DEPEND="sys-libs/ncurses - gtk? ( =x11-libs/gtk+-1.2* ) - xforms? ( x11-libs/xforms )" -RDEPEND="gtk? ( =x11-libs/gtk+-1.2* ) - xforms? ( x11-libs/xforms )" - -if [ -x /usr/bin/xearth ]; then - EARTHTRACKOK="yes" -elif [ -x /usr/bin/xplanet ]; then - EARTHTRACKOK="yes" -fi - -src_compile() { - # predict uses a ncurses based configure script - # this is what it does if it was bash based ;) - - # set compiler string to a var so if compiler checks - # can be added at a later date - COMPILER="cc ${CFLAGS} -fomit-frame-pointer" - - # write predict.h - echo "char *predictpath=\"/usr/share/predict/\";" > predict.h - echo "char soundcard=1;" >> predict.h - echo "char *version=\"${PV}\";" >> predict.h - - # compile predict - einfo "compiling predict" - ${COMPILER} -L/$(get_libdir) -lm -lncurses -lpthread predict.c -o predict - - # write vocalizer.h - cd vocalizer - echo "char *path={\"/usr/share/predict/vocalizer/\"};" > vocalizer.h - - # compile vocalizer - einfo "compiling vocalizer" - ${COMPILER} vocalizer.c -o vocalizer - - einfo "compiling clients" - - # earthtrack - if test "${EARTHTRACKOK}" = "yes"; then - einfo "compiling earthtrack" - cd ${S}/clients/earthtrack - ${COMPILER} -lm earthtrack.c -o earthtrack - fi - - # kep_reload - einfo "compiling kep_reload" - cd ${S}/clients/kep_reload - ${COMPILER} kep_reload.c -o kep_reload - - # map - if use xforms; then - einfo "compiling map" - cd ${S}/clients/map - TCOMP="${COMPILER} -I/usr/X11R6/include -L/usr/X11R6/$(get_libdir) -lforms -lX11 -lm map.c map_cb.c map_main.c -o map" - ${TCOMP} - fi - - # gsat - if use gtk; then - # note there are plugins for gsat but they are missing header files and wont compile - use nls || myconf="--disable-nls" - einfo "compiling gsat" - cd ${S}/clients/gsat-* - ./configure --prefix=/usr ${myconf} - cd src - sed -e "s:#define DEFAULTPLUGINSDIR .*:#define DEFAULTPLUGINSDIR \"/usr/$(get_libdir)/gsat/plugins/\":" -i globals.h - sed -e 's:int errno;::' -i globals.h - cd .. - emake - fi -} - -src_install() { - # install predict - cd ${S} - dobin predict ${FILESDIR}/predict-update - dodoc CHANGES COPYING CREDITS HISTORY README - dodoc docs/pdf/predict.pdf - dodoc docs/postscript/predict.ps - doman docs/man/predict.1 - - insinto /usr/share/${PN}/default - doins default/predict.* - - #install vocalizer - exeinto /usr/bin - cd vocalizer - doexe vocalizer - dodir /usr/share/predict/vocalizer - insinto /usr/share/predict/vocalizer - dosym /usr/bin/vocalizer /usr/share/predict/vocalizer/vocalizer - doins *.wav - - mv README README.vocalizer - dodoc README.vocalizer - - # install clients - - # earthtrack - if test "${EARTHTRACKOK}" = "yes"; then - cd ${S}/clients/earthtrack - ln -s earthtrack earthtrack2 - dobin earthtrack earthtrack2 - mv README_FIRST README_FIRST.earthtrack - mv README README.earthtrack - dodoc README_FIRST.earthtrack README.earthtrack - fi - - # kep_reload - cd ${S}/clients/kep_reload - dobin kep_reload - mv INSTALL INSTALL.kep_reload - mv README README.kep_reload - dodoc INSTALL.kep_reload README.kep_reload - - # map - if use xforms; then - cd ${S}/clients/map - dobin map - for i in CHANGES README COPYING; do - mv ${i} ${i}.map - dodoc ${i}.map - done - fi - - # gsat - if use gtk; then - # the install seems broken so do manually... - cd ${S}/clients/gsat-* - dodir /usr/$(get_libdir)/gsat/plugins - keepdir /usr/$(get_libdir)/gsat/plugins - cd src - dobin gsat - cd .. - for i in AUTHORS ABOUT-NLS COPYING ChangeLog INSTALL NEWS README Plugin_API; do - mv ${i} ${i}.gsat - dodoc ${i}.gsat - done - fi -} - -pkg_postinst() { - einfo "to use the clients the following line will" - einfo "have to be inserted into /etc/services" - einfo "predict 1210/udp" - einfo "the port can be changed to anything" - einfo "the name predict is what is needed to work" - einfo "after that is set run 'predict -s'" - einfo "" - einfo "to get list of satellites run 'predict-update'" - einfo "before running predict this script will also update" - einfo "the list of satellites so they are up to date." -} diff --git a/sci-astronomy/predict/predict-2.2.3.ebuild b/sci-astronomy/predict/predict-2.2.3.ebuild index 37be9bb4f47f..fb731b217616 100644 --- a/sci-astronomy/predict/predict-2.2.3.ebuild +++ b/sci-astronomy/predict/predict-2.2.3.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/predict/predict-2.2.3.ebuild,v 1.3 2007/01/26 14:43:43 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/predict/predict-2.2.3.ebuild,v 1.4 2007/09/11 15:06:57 bicatali Exp $ -inherit toolchain-funcs +inherit toolchain-funcs eutils DESCRIPTION="Satellite tracking and orbital prediction." HOMEPAGE="http://www.qsl.net/kd2bd/predict.html" @@ -18,6 +18,12 @@ DEPEND="sys-libs/ncurses xforms? ( x11-libs/xforms ) xplanet? ( || ( x11-misc/xplanet x11-misc/xearth ) )" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-xforms.patch +} + src_compile() { # predict uses a ncurses based configure script # this is what it does if it was bash based ;) @@ -50,7 +56,7 @@ src_compile() { # earthtrack if use xplanet; then einfo "compiling earthtrack" - cd ${S}/clients/earthtrack + cd "${S}"/clients/earthtrack # fix include path sed -e "s:/usr/local/share/xplanet:/usr/share/xplanet:" \ -i earthtrack.c || die "Failed to fix xplanet paths" @@ -60,14 +66,14 @@ src_compile() { # kep_reload einfo "compiling kep_reload" - cd ${S}/clients/kep_reload + cd "${S}"/clients/kep_reload ${COMPILER} kep_reload.c -o kep_reload || \ die "Failed compiling kep_reload" # map if use xforms; then einfo "compiling map" - cd ${S}/clients/map + cd "${S}"/clients/map TCOMP="${COMPILER} -I/usr/X11R6/include -L/usr/X11R6/$(get_libdir) -lforms -lX11 -lm map.c map_cb.c map_main.c -o map" ${TCOMP} || die "Failed compiling map" fi @@ -77,7 +83,7 @@ src_compile() { # note there are plugins for gsat but they are missing header files and wont compile use nls || myconf="--disable-nls" einfo "compiling gsat" - cd ${S}/clients/gsat-* + cd "${S}"/clients/gsat-* ./configure --prefix=/usr ${myconf} cd src sed -e "s:#define DEFAULTPLUGINSDIR .*:#define DEFAULTPLUGINSDIR \"/usr/$(get_libdir)/gsat/plugins/\":" -i globals.h @@ -89,9 +95,9 @@ src_compile() { src_install() { # install predict - cd ${S} - dobin predict ${FILESDIR}/predict-update - dodoc CHANGES COPYING CREDITS HISTORY README NEWS + cd "${S}" + dobin predict "${FILESDIR}"/predict-update + dodoc CHANGES CREDITS HISTORY README NEWS dodoc docs/pdf/predict.pdf dodoc docs/postscript/predict.ps doman docs/man/predict.1 @@ -112,7 +118,7 @@ src_install() { # earthtrack if use xplanet; then - cd ${S}/clients/earthtrack + cd "${S}"/clients/earthtrack ln -s earthtrack earthtrack2 dobin earthtrack earthtrack2 mv README README.earthtrack && \ @@ -121,7 +127,7 @@ src_install() { fi # kep_reload - cd ${S}/clients/kep_reload + cd "${S}"/clients/kep_reload dobin kep_reload mv INSTALL INSTALL.kep_reload && \ mv README README.kep_reload && \ @@ -130,9 +136,9 @@ src_install() { # map if use xforms; then - cd ${S}/clients/map + cd "${S}"/clients/map dobin map - for i in CHANGES README COPYING; do + for i in CHANGES README; do mv ${i} ${i}.map && dodoc ${i}.map || \ die "Failed to install xforms docs" done @@ -141,13 +147,13 @@ src_install() { # gsat if use gtk; then # the install seems broken so do manually... - cd ${S}/clients/gsat-* + cd "${S}"/clients/gsat-* dodir /usr/$(get_libdir)/gsat/plugins keepdir /usr/$(get_libdir)/gsat/plugins cd src dobin gsat cd .. - for i in AUTHORS ABOUT-NLS COPYING ChangeLog INSTALL NEWS README Plugin_API; do + for i in AUTHORS ABOUT-NLS ChangeLog INSTALL NEWS README Plugin_API; do mv ${i} ${i}.gsat && dodoc ${i}.gsat || \ die "Failed to install gsat docs" done |