summaryrefslogtreecommitdiff
path: root/astro/xephem/Makefile
diff options
context:
space:
mode:
authorJustin M. Seger <jseger@FreeBSD.org>1999-04-06 01:11:20 +0000
committerJustin M. Seger <jseger@FreeBSD.org>1999-04-06 01:11:20 +0000
commit49b60d09e205a1fd175fc0b7c2adb16ca098bf18 (patch)
treee5058779ad4ee6f2d89e7a9e6d2c02e82406b1db /astro/xephem/Makefile
parentUpgrade to less-335 (diff)
Upgrade to xephem 3.2.2
PR: ports/10951 Submitted by: Michael Haro <mharo@area51.fremont.ca.us>
Notes
Notes: svn path=/head/; revision=17660
Diffstat (limited to 'astro/xephem/Makefile')
-rw-r--r--astro/xephem/Makefile51
1 files changed, 48 insertions, 3 deletions
diff --git a/astro/xephem/Makefile b/astro/xephem/Makefile
index 6294914ab692..4f4f4d312397 100644
--- a/astro/xephem/Makefile
+++ b/astro/xephem/Makefile
@@ -3,12 +3,12 @@
# Date created: Thu Aug 1 09:10:22 CDT 1996
# Whom: erich@FreeBSD.org
#
-# $Id: Makefile,v 1.10 1998/09/17 00:32:26 asami Exp $
+# $Id: Makefile,v 1.11 1998/09/26 23:40:12 steve Exp $
#
-DISTNAME= xephem-3.1
+DISTNAME= xephem-3.2.2
CATEGORIES= astro
-MASTER_SITES= ftp://iraf.noao.edu/contrib/xephem/xephem-3.1/ \
+MASTER_SITES= ftp://iraf.noao.edu/contrib/xephem/xephem-3.2/ \
ftp://gastro23.physics.uiowa.edu/pub/xephem/ \
ftp://iphcip1.physik.uni-mainz.de/pub/xephem/ \
ftp://wolf.ifj.edu.pl/mirror/xephem/
@@ -19,16 +19,61 @@ LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
REQUIRES_MOTIF= yes
USE_IMAKE= yes
+MANCOMPRESSED= no
WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem
LIBSRC= ${WRKDIR}/${DISTNAME}/libastro
MAN1= xephem.1
+AUXIL= README jupiter.9910 logo.gif mars.9910 mars_db marsmap.fts \
+ moon.fts moon_db saturne.9910 uranus.9910 xephem.hlp \
+ xephem_sites
+
+CATALOGS= ISS.edb Messier.edb NGC.edb README SAC.edb YBS.edb comets.edb \
+ minorpl.edb
+
+TOOLS= README extract.awk jost2edb.awk mpcorb2edb.pl tle2edb.pl
+
+GSC= Makefile README gscload.c support.c
+
+XEPHEMDBD= INSTALL Makefile README cgi-lib.pl db.c fsfetch.c request.c \
+ stubs.c xephemdbd.c xephemdbd.html xephemdbd.pl
+
pre-configure:
@(cd ${LIBSRC} && ${XMKMF})
pre-build:
@(cd ${LIBSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xephem ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xephem.man ${PREFIX}/man/man1/xephem.1
+ ${MKDIR} ${PREFIX}/lib/X11/xephem
+
+ ${MKDIR} ${PREFIX}/lib/X11/xephem/auxil
+.for file in ${AUXIL}
+ ${INSTALL_DATA} ${WRKSRC}/auxil/${file} ${PREFIX}/lib/X11/xephem/auxil/${file}
+.endfor
+
+ ${MKDIR} ${PREFIX}/lib/X11/xephem/catalogs
+.for file in ${CATALOGS}
+ ${INSTALL_DATA} ${WRKSRC}/catalogs/${file} ${PREFIX}/lib/X11/xephem/catalogs/${file}
+.endfor
+
+ ${MKDIR} ${PREFIX}/lib/X11/xephem/tools
+.for file in ${TOOLS}
+ ${INSTALL_DATA} ${WRKSRC}/tools/${file} ${PREFIX}/lib/X11/xephem/tools/${file}
+.endfor
+
+ ${MKDIR} ${PREFIX}/lib/X11/xephem/tools/gsc
+.for file in ${GSC}
+ ${INSTALL_DATA} ${WRKSRC}/tools/gsc/${file} ${PREFIX}/lib/X11/xephem/tools/gsc/${file}
+.endfor
+
+ ${MKDIR} ${PREFIX}/lib/X11/xephem/tools/xephemdbd
+.for file in ${XEPHEMDBD}
+ ${INSTALL_DATA} ${WRKSRC}/tools/xephemdbd/${file} ${PREFIX}/lib/X11/xephem/tools/xephemdbd/${file}
+.endfor
+
.include <bsd.port.mk>