2004-11-21 07:50:32 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.27 2004/11/21 12:50:33 espie Exp $
|
1997-12-02 23:06:51 -05:00
|
|
|
|
2001-04-12 00:17:51 -04:00
|
|
|
COMMENT= "interactive astronomical ephemeris"
|
2000-05-29 06:34:20 -04:00
|
|
|
DISTNAME= xephem-3.2.3
|
1997-12-02 23:06:51 -05:00
|
|
|
CATEGORIES= astro
|
2000-05-29 06:34:20 -04:00
|
|
|
MASTER_SITES= ftp://iraf.noao.edu/contrib/xephem/
|
1997-12-02 23:06:51 -05:00
|
|
|
|
2001-03-13 22:54:43 -05:00
|
|
|
HOMEPAGE= http://www.clearskyinstitute.com/xephem/
|
|
|
|
|
2003-02-03 19:29:44 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= "no modifications, no fee"
|
|
|
|
PERMIT_PACKAGE_FTP= "no modifications"
|
|
|
|
PERMIT_DISTFILES_CDROM= "no fee"
|
2000-03-06 23:49:13 -05:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-11-21 07:50:32 -05:00
|
|
|
WANTLIB= ICE SM X11 Xext Xp Xt c m
|
1999-09-23 17:58:00 -04:00
|
|
|
|
2001-04-18 11:01:02 -04:00
|
|
|
USE_MOTIF= any
|
2000-09-12 09:13:15 -04:00
|
|
|
CONFIGURE_STYLE= imake
|
1997-12-02 23:06:51 -05:00
|
|
|
|
1998-08-05 02:00:00 -04:00
|
|
|
do-configure:
|
2000-03-18 21:20:30 -05:00
|
|
|
@cd ${WRKSRC}/libastro && ${SETENV} ${XMKMF}
|
|
|
|
@cd ${WRKSRC}/GUI/xephem && ${SETENV} ${XMKMF}
|
1998-08-05 02:00:00 -04:00
|
|
|
|
|
|
|
do-build:
|
2000-03-18 21:20:30 -05:00
|
|
|
@cd ${WRKSRC}/libastro && \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} ${ALL_TARGET}
|
|
|
|
@cd ${WRKSRC}/GUI/xephem && \
|
|
|
|
${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} -f ${MAKE_FILE} ${ALL_TARGET}
|
1998-08-05 02:00:00 -04:00
|
|
|
|
2002-10-24 12:21:35 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
1998-08-05 02:00:00 -04:00
|
|
|
do-install:
|
2001-03-13 22:49:34 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/xephem/auxil
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/xephem/catalogs
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/xephem/tools
|
2000-03-18 21:20:30 -05:00
|
|
|
@cd ${WRKSRC}/GUI/xephem && \
|
1998-08-05 02:00:00 -04:00
|
|
|
${SETENV} ${MAKE_ENV} \
|
2002-04-08 15:05:16 -04:00
|
|
|
${MAKE} ${FAKE_FLAGS} -f ${MAKE_FILE} ${INSTALL_TARGET}
|
2000-03-18 21:20:30 -05:00
|
|
|
@cd ${WRKSRC}/GUI/xephem && \
|
1998-08-05 02:00:00 -04:00
|
|
|
${SETENV} ${MAKE_ENV} \
|
2002-04-08 15:05:16 -04:00
|
|
|
${MAKE} ${FAKE_FLAGS} -f ${MAKE_FILE} install.man
|
2000-03-18 21:20:30 -05:00
|
|
|
@cd ${WRKSRC}/GUI/xephem && \
|
2003-08-27 15:13:06 -04:00
|
|
|
sed -e 's,ShareDir: \.$$,ShareDir: ${TRUEPREFIX}/lib/X11/xephem,' XEphem.ad > XEphem && \
|
2000-03-18 21:20:30 -05:00
|
|
|
${INSTALL_DATA} XEphem ${PREFIX}/lib/X11/app-defaults
|
|
|
|
@cd ${WRKSRC}/GUI/xephem/auxil; \
|
1998-08-05 02:00:00 -04:00
|
|
|
for f in *; do \
|
|
|
|
${INSTALL_DATA} $$f ${PREFIX}/lib/X11/xephem/auxil; \
|
2000-03-18 21:20:30 -05:00
|
|
|
done
|
|
|
|
@cd ${WRKSRC}/GUI/xephem/catalogs; \
|
1998-08-05 02:00:00 -04:00
|
|
|
for f in *; do \
|
|
|
|
${INSTALL_DATA} $$f ${PREFIX}/lib/X11/xephem/catalogs; \
|
2000-03-18 21:20:30 -05:00
|
|
|
done
|
|
|
|
@cd ${WRKSRC}/GUI/xephem/tools; \
|
1998-08-05 02:00:00 -04:00
|
|
|
for f in *; do \
|
|
|
|
if [ -d $$f ]; then \
|
2001-03-13 22:49:34 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/xephem/tools/$$f; \
|
1999-09-23 17:58:00 -04:00
|
|
|
(cd $$f; \
|
1998-08-05 02:00:00 -04:00
|
|
|
for i in *; do \
|
|
|
|
${INSTALL_DATA} $$i ${PREFIX}/lib/X11/xephem/tools/$$f; \
|
1999-09-23 17:58:00 -04:00
|
|
|
done) \
|
1998-08-05 02:00:00 -04:00
|
|
|
else \
|
|
|
|
${INSTALL_DATA} $$f ${PREFIX}/lib/X11/xephem/tools; \
|
|
|
|
fi; \
|
2000-03-18 21:20:30 -05:00
|
|
|
done
|
1998-08-05 02:00:00 -04:00
|
|
|
|
1997-12-02 23:06:51 -05:00
|
|
|
.include <bsd.port.mk>
|