1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/astro/xtide/Makefile
Alexander Langer 065ca5800f Ignore the checksum of the data-file which changes a lot.
It is ok to ignore it, since this file only contains data used
from within the program.
2000-07-19 12:35:56 +00:00

42 lines
1.1 KiB
Makefile

# New ports collection makefile for: xtide
# Date created: 30 August 1997
# Whom: Brion Moss <brion@queeg.com>
#
# $FreeBSD$
#
PORTNAME= xtide
PORTVERSION= 2.2
CATEGORIES= astro
MASTER_SITES= ftp://ftp.flaterco.com/xtide/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} harmonics.world.gz
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= patseal@hyperhost.net
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
png.4:${PORTSDIR}/graphics/png
IGNOREFILES= harmonics.world.gz
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
MAN1= xtide.1 tide.1
MANCOMPRESSED= no
post-extract:
@${GZCAT} ${DISTDIR}/harmonics.world.gz > ${WRKSRC}/harmonics
post-patch:
@${PERL} -pi -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/TideContext.cc
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tide ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/DOCUMENTATION/xtide.1 ${PREFIX}/man/man1/xtide.1
${INSTALL_MAN} ${WRKSRC}/DOCUMENTATION/tide.1 ${PREFIX}/man/man1/tide.1
@${MKDIR} ${PREFIX}/share/xtide
${INSTALL_DATA} ${WRKSRC}/harmonics ${PREFIX}/share/xtide
.include <bsd.port.mk>