1997-06-03 09:14:13 +00:00
|
|
|
# New ports collection makefile for: ephem
|
|
|
|
# Version required: 4.28
|
|
|
|
# Date created: 3 April 1997
|
|
|
|
# Whom: eserte
|
|
|
|
#
|
1999-08-25 04:22:48 +00:00
|
|
|
# $FreeBSD$
|
1997-06-03 09:14:13 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= ephem_4.28_unix
|
|
|
|
PKGNAME= ephem-4.28
|
|
|
|
CATEGORIES= astro
|
|
|
|
MASTER_SITES= ${MASTER_SITE_LOCAL}
|
|
|
|
|
|
|
|
MAINTAINER= eserte@cs.tu-berlin.de
|
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
ALL_TARGET=
|
|
|
|
|
|
|
|
CFLAGS+= -Wno-implicit
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
-cd ${WRKSRC}; \
|
|
|
|
${INSTALL_PROGRAM} ephem ${PREFIX}/bin; \
|
|
|
|
${MKDIR} ${PREFIX}/share/ephem; \
|
|
|
|
${INSTALL_DATA} Man.txt ${PREFIX}/share/ephem/; \
|
|
|
|
[ ! -f ${PREFIX}/share/ephem/ephem.db ] && ${INSTALL_DATA} ephem.db ${PREFIX}/share/ephem/; \
|
|
|
|
[ ! -f ${PREFIX}/share/ephem/ephem.cfg ] && ${INSTALL_DATA} ephem.cfg ${PREFIX}/share/ephem/
|
|
|
|
|
|
|
|
post-install:
|
1999-08-27 21:14:04 +00:00
|
|
|
@${ECHO_MSG} Don\'t forget to edit ${PREFIX}/share/ephem/ephem.cfg!
|
1997-06-03 09:14:13 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|