1996-08-16 17:04:26 +00:00
|
|
|
# New ports collection makefile for: xephem
|
1998-04-29 11:12:12 +00:00
|
|
|
# Version required: 3.1
|
1996-08-16 17:04:26 +00:00
|
|
|
# Date created: Thu Aug 1 09:10:22 CDT 1996
|
|
|
|
# Whom: erich@FreeBSD.org
|
|
|
|
#
|
1999-08-25 04:22:48 +00:00
|
|
|
# $FreeBSD$
|
1996-08-16 17:04:26 +00:00
|
|
|
#
|
|
|
|
|
1999-04-06 01:11:20 +00:00
|
|
|
DISTNAME= xephem-3.2.2
|
1996-10-31 10:45:45 +00:00
|
|
|
CATEGORIES= astro
|
1999-04-06 01:11:20 +00:00
|
|
|
MASTER_SITES= ftp://iraf.noao.edu/contrib/xephem/xephem-3.2/ \
|
1998-04-29 11:12:12 +00:00
|
|
|
ftp://gastro23.physics.uiowa.edu/pub/xephem/ \
|
|
|
|
ftp://iphcip1.physik.uni-mainz.de/pub/xephem/ \
|
|
|
|
ftp://wolf.ifj.edu.pl/mirror/xephem/
|
1996-08-16 17:04:26 +00:00
|
|
|
|
|
|
|
MAINTAINER= erich@FreeBSD.org
|
|
|
|
|
1998-09-17 00:33:02 +00:00
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
1998-06-06 22:56:17 +00:00
|
|
|
|
1996-08-16 17:04:26 +00:00
|
|
|
REQUIRES_MOTIF= yes
|
|
|
|
USE_IMAKE= yes
|
1999-04-06 01:11:20 +00:00
|
|
|
MANCOMPRESSED= no
|
1998-04-29 11:12:12 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem
|
|
|
|
|
|
|
|
LIBSRC= ${WRKDIR}/${DISTNAME}/libastro
|
|
|
|
|
1998-09-26 23:40:12 +00:00
|
|
|
MAN1= xephem.1
|
|
|
|
|
1999-04-06 01:11:20 +00: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
|
|
|
|
|
|
|
|
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
|
|
|
|
|
1998-04-29 11:12:12 +00:00
|
|
|
pre-configure:
|
|
|
|
@(cd ${LIBSRC} && ${XMKMF})
|
|
|
|
|
|
|
|
pre-build:
|
|
|
|
@(cd ${LIBSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${ALL_TARGET})
|
1999-08-30 11:09:17 +00:00
|
|
|
${SED} -e "s^@PREFIX@^${PREFIX}^" ${WRKSRC}/XEphem.ad > ${WRKSRC}/XEphem.ad.new
|
1996-08-16 17:04:26 +00:00
|
|
|
|
1999-04-06 01:11:20 +00:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/xephem ${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/xephem.man ${PREFIX}/man/man1/xephem.1
|
1999-08-30 11:09:17 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/XEphem.ad.new ${PREFIX}/lib/X11/app-defaults/XEphem
|
1999-04-06 01:11:20 +00: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 17:04:26 +00:00
|
|
|
.include <bsd.port.mk>
|