pkgsrc/x11/xephem/Makefile
drochner 531541e311 update to 3.5.2
major changes:
-additional data format support
-GUI fixes and enhancements
-image analysis, fits
-cross-platform compatibility
-improved telescope control
2002-01-19 11:39:43 +00:00

41 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2002/01/19 11:39:43 drochner Exp $
DISTNAME= xephem-3.5.2
CATEGORIES= x11
MASTER_SITES= http://www.clearskyinstitute.com/xephem/ \
ftp://iphcip1.physik.uni-mainz.de/pub/xephem/
MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.clearskyinstitute.com/xephem/
COMMENT= Interactive astronomical ephemeris program
WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem
LIBSRC1= ${WRKDIR}/${DISTNAME}/libastro
LIBSRC2= ${WRKDIR}/${DISTNAME}/libip
USE_PERL5= yes
USE_IMAKE= yes
LICENSE= no-commercial-use
pre-build:
(cd ${LIBSRC1}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS})
(cd ${LIBSRC2}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS})
PERL_SCRIPTS= astorb2edb.pl mpcorb2edb.pl
post-install:
${SED} s,@PREFIX@,${PREFIX}, ${FILESDIR}/XEphem.ad > ${WRKDIR}/XEphem
${INSTALL_DATA} ${WRKDIR}/XEphem ${PREFIX}/lib/X11/app-defaults
${INSTALL_DATA_DIR} ${PREFIX}/share/xephem/tools
(cd ${WRKSRC}; ${CP} -R auxil catalogs fifos fits \
${PREFIX}/share/xephem)
(cd ${WRKSRC}/tools; for file in ${PERL_SCRIPTS}; do \
${SED} 1s,@LOCALBASE@,${LOCALBASE}, $$file \
> ${WRKDIR}/$$file; \
${INSTALL_SCRIPT} ${WRKDIR}/$$file \
${PREFIX}/share/xephem/tools; \
done)
${CHOWN} -R ${SHAREOWN} ${PREFIX}/share/xephem
.include "../../mk/motif.buildlink.mk"
.include "../../mk/bsd.pkg.mk"