1996-08-16 13:04:26 -04:00
|
|
|
# New ports collection makefile for: xephem
|
|
|
|
# Date created: Thu Aug 1 09:10:22 CDT 1996
|
|
|
|
# Whom: erich@FreeBSD.org
|
|
|
|
#
|
1999-08-25 00:22:48 -04:00
|
|
|
# $FreeBSD$
|
1996-08-16 13:04:26 -04:00
|
|
|
#
|
|
|
|
|
2000-04-08 18:04:57 -04:00
|
|
|
PORTNAME= xephem
|
|
|
|
PORTVERSION= 3.2.3
|
1996-10-31 05:45:45 -05:00
|
|
|
CATEGORIES= astro
|
2000-05-29 19:46:11 -04:00
|
|
|
MASTER_SITES= http://www.clearskyinstitute.com/xephem/xephem/ \
|
|
|
|
ftp://iraf.noao.edu/contrib/xephem/ \
|
1998-04-29 07:12:12 -04:00
|
|
|
ftp://wolf.ifj.edu.pl/mirror/xephem/
|
1996-08-16 13:04:26 -04:00
|
|
|
|
2000-04-23 18:59:51 -04:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
1996-08-16 13:04:26 -04:00
|
|
|
|
2000-10-28 10:55:37 -04:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem
|
|
|
|
|
2000-11-07 18:28:20 -05:00
|
|
|
USE_MOTIF= yes
|
2000-10-28 10:55:37 -04:00
|
|
|
USE_XPM= yes
|
1996-08-16 13:04:26 -04:00
|
|
|
USE_IMAKE= yes
|
2000-10-28 10:55:37 -04:00
|
|
|
MAN1= xephem.1
|
1998-04-29 07:12:12 -04:00
|
|
|
|
|
|
|
LIBSRC= ${WRKDIR}/${DISTNAME}/libastro
|
|
|
|
|
1999-04-05 21:11:20 -04:00
|
|
|
AUXIL= README jupiter.9910 logo.gif mars.9910 mars_db marsmap.fts \
|
|
|
|
moon.fts moon_db saturne.9910 uranus.9910 xephem.hlp \
|
|
|
|
xephem_sites
|
|
|
|
|
2000-02-27 18:15:12 -05:00
|
|
|
CATALOGS= ISS.edb Messier.edb NGC.edb README SAC.edb \
|
|
|
|
YBS.edb asteroids.edb comets.edb hickson.edb
|
1999-04-05 21:11:20 -04:00
|
|
|
|
2000-01-19 12:38:37 -05:00
|
|
|
TOOLS= README extract.awk astorb2edb.pl jost2edb.awk mpcorb2edb.pl \
|
|
|
|
tle2edb.pl
|
1999-04-05 21:11:20 -04:00
|
|
|
|
|
|
|
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
|
|
|
|
|
1998-04-29 07:12:12 -04:00
|
|
|
pre-configure:
|
|
|
|
@(cd ${LIBSRC} && ${XMKMF})
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@(cd ${LIBSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
|
1999-08-30 07:09:17 -04:00
|
|
|
${SED} -e "s^@PREFIX@^${PREFIX}^" ${WRKSRC}/XEphem.ad > ${WRKSRC}/XEphem.ad.new
|
1996-08-16 13:04:26 -04:00
|
|
|
|
2000-10-28 10:55:37 -04:00
|
|
|
post-install:
|
1999-08-30 07:09:17 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/XEphem.ad.new ${PREFIX}/lib/X11/app-defaults/XEphem
|
1999-04-05 21:11:20 -04:00
|
|
|
${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
|
|
|
|
|
1996-08-16 13:04:26 -04:00
|
|
|
.include <bsd.port.mk>
|