1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/astro/ephem/Makefile
Baptiste Daroussin 463b0063db Support stage
2014-01-19 18:55:28 +00:00

31 lines
873 B
Makefile

# Created by: eserte
# $FreeBSD$
PORTNAME= ephem
PORTVERSION= 4.28
CATEGORIES= astro
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= trevor
DISTNAME= ${PORTNAME}_${PORTVERSION}_unix
MAINTAINER= slaven@rezic.de
COMMENT= An interactive terminal-based astronomical ephemeris program
NO_WRKSUBDIR= yes
ALL_TARGET=
CFLAGS+= -Wno-implicit -Wno-return-type
do-install:
-cd ${WRKSRC}; \
${INSTALL_PROGRAM} ephem ${STAGEDIR}${PREFIX}/bin; \
${MKDIR} ${STAGEDIR}${PREFIX}/share/ephem; \
${INSTALL_DATA} Man.txt ${STAGEDIR}${PREFIX}/share/ephem/; \
[ ! -f ${PREFIX}/share/ephem/ephem.db ] && ${INSTALL_DATA} ephem.db ${STAGEDIR}${PREFIX}/share/ephem/; \
[ ! -f ${PREFIX}/share/ephem/ephem.cfg ] && ${INSTALL_DATA} ephem.cfg ${STAGEDIR}${PREFIX}/share/ephem/
post-install:
@${ECHO_MSG} Don\'t forget to edit ${PREFIX}/share/ephem/ephem.cfg!
.include <bsd.port.mk>