mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-31 21:57:12 +00:00
ae65d62fa3
Javascript (uh, yeah). Too bad you have to hardcode your long/lat into the program, perhaps some kind soul will inflict getopt() on this prog. PR: 23245 Submitted by: Keith Walker <kew@icehouse.net>
29 lines
671 B
Makefile
29 lines
671 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
|
|
|
|
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>
|