aboutsummaryrefslogtreecommitdiffstats
path: root/astro/sscalc/Makefile
blob: 5ba3a0dc09d7c47cbefa1144195fb9e3df2a49ef (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
# New ports collection makefile for:    sscalc
# Date created:             Wed Nov 29 15:08:00 PST 2000
# Whom:                 Keith Walker <kew@icehouse.net>
#
# $FreeBSD$
#

PORTNAME=   sscalc
PORTVERSION=    1.0
CATEGORIES= astro
MASTER_SITES=   http://www.icehouse.net/kew/

MAINTAINER= kew@icehouse.net
COMMENT=    A sunrise/sunset time calculator

BROKEN=     "Installs manpage into wrong directory"

pre-fetch:
.if !defined(LAT)
    @${ECHO_MSG} "Type \"make LAT=<nnn.nn> LON=<nnn.nn>\" to hardwire your site"
.else
    @${ECHO_MSG} "Compiling in lat/longs"
.endif

post-install:
    @strip ${PREFIX}/bin/sscalc
    @${MKDIR} ${PREFIX}/share/doc/sscalc
    ${INSTALL_DATA} ${WRKSRC}/cities.txt ${PREFIX}/share/doc/sscalc
    ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/sscalc

.include <bsd.port.mk>