1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/astro/sscalc/Makefile
Kirill Ponomarev 8187eb918d - unbreak this port
- install man page to proper place
- use DOCSDIR macro
- fix pkg-descr

PR:		55365 55402
Submitted by:	Esa Karkkainen <ejk@iki.fi>
		Volker Stolz <stolz@i2.informatik.rwth-aachen.de>
Approved by:	maintainer timeout (> 10 days)
2003-08-19 10:35:19 +00:00

35 lines
816 B
Makefile

# 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
MAN1= sscalc.1
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
do-install:
${INSTALL_PROGRAM} ${WRKDIR}/${DISTNAME}/sscalc ${PREFIX}/bin
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/sscalc.1 ${MAN1PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/cities.txt ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>