summaryrefslogtreecommitdiff
path: root/astro/xtide/Makefile
blob: d95d8ce96ffb94ab84426160319576db3d59adeb (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
33
# New ports collection makefile for:   xtide
# Version required:    1.6.2
# Date created:        30 August 1997
# Whom:                Brion Moss <brion@queeg.com>
#
# $Id: Makefile,v 1.1.1.1 1997/11/28 20:44:17 fenner Exp $
#

DISTNAME=	xtide-1.6.2
CATEGORIES=	astro
MASTER_SITES=	http://www.universe.digex.net/~dave/files/
DISTFILES=	xtide-1.6.2.tgz harmonics.gz

MAINTAINER=	brion@queeg.com

# www.universe.digex.net is broken
FETCH_BEFORE_ARGS=	-t

EXTRACT_ONLY=	xtide-1.6.2.tgz
USE_IMAKE=	yes
NO_WRKSUBDIR=	yes
MAN1=		xtide.1

post-extract:
	@gzip -dc ${DISTDIR}/harmonics.gz > ${WRKSRC}/harmonics

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin
	${INSTALL_MAN} ${WRKSRC}/xtide.man ${PREFIX}/man/man1/xtide.1
	@${MKDIR} ${PREFIX}/lib/xtide
	${INSTALL_DATA} ${WRKSRC}/harmonics ${PREFIX}/lib/xtide

.include <bsd.port.mk>