summaryrefslogtreecommitdiff
path: root/astro/xtide/Makefile
blob: d5ff84e39368bc83a34ee3fca095baacf2299473 (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.3 1998/01/31 14:40:55 jseger Exp $
#

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

MAINTAINER=	brion@queeg.com

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

EXTRACT_ONLY=	xtide-1.6.2.tar.gz
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>