aboutsummaryrefslogtreecommitdiffstats
path: root/astro/ephem/Makefile
blob: 0ce1926063e8b316a86190d9866b98aaadaa0189 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# New ports collection makefile for:    ephem
# Version required: 4.28
# Date created:     3 April 1997
# Whom:         eserte
#
# $Id: Makefile,v 1.1.1.1 1997/06/03 09:14:13 asami Exp $
#

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:
    @echo Don\'t forget to edit ${PREFIX}/share/ephem/ephem.cfg!

.include <bsd.port.mk>