2012-12-31 15:17:15 +01:00
|
|
|
# Created by: Keith Walker <kew@icehouse.net>
|
2000-12-19 14:36:31 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= sscalc
|
|
|
|
PORTVERSION= 1.0
|
|
|
|
CATEGORIES= astro
|
|
|
|
MASTER_SITES= http://www.icehouse.net/kew/
|
|
|
|
|
2007-12-16 12:43:31 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2013-02-25 12:09:19 +01:00
|
|
|
COMMENT= Sunrise and sunset time calculator
|
2000-12-19 14:36:31 +01:00
|
|
|
|
2014-02-21 14:35:03 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2000-12-19 14:36:31 +01:00
|
|
|
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
|
|
|
|
|
2003-08-19 12:35:19 +02:00
|
|
|
do-install:
|
2013-10-25 08:28:14 +02:00
|
|
|
${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/sscalc ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/sscalc.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
2015-11-14 04:55:19 +01:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2013-10-25 08:28:14 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/cities.txt ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
|
2000-12-19 14:36:31 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|