diff options
author | tron <tron@pkgsrc.org> | 1998-09-01 21:44:58 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 1998-09-01 21:44:58 +0000 |
commit | 12aeef71daf3d9a3f362ab8ac6130a785082d7f2 (patch) | |
tree | fc934551ccb3a031ba7894811305c9c50bacaafa /x11/xephem/Makefile | |
parent | 027fac3931d1b322363280a7da688efa03333725 (diff) | |
download | pkgsrc-12aeef71daf3d9a3f362ab8ac6130a785082d7f2.tar.gz |
New "xephem-3.1" package created by Jim Bernard:
An interactive astronomical ephemeris program.
Diffstat (limited to 'x11/xephem/Makefile')
-rw-r--r-- | x11/xephem/Makefile | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/x11/xephem/Makefile b/x11/xephem/Makefile new file mode 100644 index 00000000000..f4ae71ad6d6 --- /dev/null +++ b/x11/xephem/Makefile @@ -0,0 +1,60 @@ +# $NetBSD: Makefile,v 1.1 1998/09/01 21:44:58 tron Exp $ + +DISTNAME= xephem-3.1 +CATEGORIES= x11 +MASTER_SITES= ftp://iraf.noao.edu/contrib/xephem/xephem-3.1/ \ + ftp://gastro23.physics.uiowa.edu/pub/xephem/ \ + ftp://iphcip1.physik.uni-mainz.de/pub/xephem/ \ + ftp://wolf.ifj.edu.pl/mirror/xephem/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://iraf.noao.edu/~ecdowney/xephem.html + +DEPENDS+= xpm-3.4k:../../graphics/xpm + +WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem +LIBSRC= ${WRKDIR}/${DISTNAME}/libastro +USE_IMAKE= yes +USE_MOTIF= yes + +LICENSE= non-commercial-use + +pre-configure: + @(cd ${LIBSRC} && ${SETENV} ${SCRIPTS_ENV} XPROJECTROOT=${X11BASE} \ + ${XMKMF}) + +pre-build: + @(cd ${LIBSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \ + -f ${MAKEFILE} ${ALL_TARGET}) + +PERL_SCRIPTS= astorb2edb.pl encke2edb.pl yeomans.pl + +post-install: + @${SED} s,@PREFIX@,${PREFIX}, ${WRKSRC}/XEphem.ad > ${WRKDIR}/XEphem + ${INSTALL_DATA} ${WRKDIR}/XEphem ${PREFIX}/lib/X11/app-defaults + @${INSTALL_DATA_DIR} ${PREFIX}/share/xephem/auxil \ + ${PREFIX}/share/xephem/catalogs \ + ${PREFIX}/share/xephem/tools \ + ${PREFIX}/share/doc/xephem + (cd ${WRKSRC}/auxil; ${INSTALL_DATA} README mars_db marsmap.fts \ + moon.fts moon_db xephem.hlp xephem_sites \ + ${PREFIX}/share/xephem/auxil) + (cd ${WRKSRC}/catalogs; ${INSTALL_DATA} Messier.edb NGC.edb SAC.edb \ + YBS.edb asteroids.edb comets.edb mir.edb \ + ${PREFIX}/share/xephem/catalogs) + (cd ${WRKSRC}/tools; ${INSTALL_DATA} README gps.awk jost2edb.nawk \ + ${PREFIX}/share/xephem/tools; \ + ${INSTALL_SCRIPT} extract.awk tle2edb.awk \ + ${PREFIX}/share/xephem/tools) + @(cd ${WRKSRC}/tools; for file in ${PERL_SCRIPTS}; do \ + ${SED} 1s,@LOCALBASE@,${LOCALBASE}, $$file \ + > ${WRKDIR}/$$file; \ + done) + for file in ${PERL_SCRIPTS}; do \ + ${INSTALL_SCRIPT} ${WRKDIR}/$$file \ + ${PREFIX}/share/xephem/tools; \ + done + (cd ${WRKDIR}/${DISTNAME}; ${INSTALL_DATA} Copyright README \ + ${PREFIX}/share/doc/xephem) + +.include "../../mk/bsd.pkg.mk" |