2008-01-04 12:48:33 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2008/01/04 17:48:33 espie Exp $
|
1997-12-02 23:06:51 -05:00
|
|
|
|
2007-09-15 06:37:21 -04:00
|
|
|
COMMENT= interactive astronomical ephemeris
|
2000-05-29 06:34:20 -04:00
|
|
|
DISTNAME= xephem-3.2.3
|
2007-11-13 07:44:22 -05:00
|
|
|
PKGNAME= ${DISTNAME}p0
|
1997-12-02 23:06:51 -05:00
|
|
|
CATEGORIES= astro
|
2006-10-12 11:16:44 -04:00
|
|
|
MASTER_SITES= http://humppa.nl/distfiles/
|
1997-12-02 23:06:51 -05:00
|
|
|
|
2001-03-13 22:54:43 -05:00
|
|
|
HOMEPAGE= http://www.clearskyinstitute.com/xephem/
|
|
|
|
|
2007-09-15 06:37:21 -04: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
|
2007-11-13 07:44:22 -05:00
|
|
|
WANTLIB= ICE SM X11 Xau Xdmcp 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
|
|
|
|
2006-11-13 05:08:12 -05:00
|
|
|
USE_X11= Yes
|
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} \
|
2008-01-04 12:48:33 -05:00
|
|
|
${MAKE_PROGRAM} ${ALL_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>
|