freebsd-ports/astro/xtide/Makefile
Steve Price 530019b51d Get the harmonics file from harmonics.world.gz. Also for now remove
USE_X_PREFIX since this port was trying to install a file in
${X11BASE}/sbin but not creating the directory first.  This is not
100% correct but it will fix builds on bento for now.

PR:		18260
Submitted by:	partially by maintainer
2000-04-30 00:04:34 +00:00

40 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.3:${PORTSDIR}/graphics/png
USE_XLIB= yes
HAS_CONFIGURE= yes
MAN1= xtide.1 tide.1
MAN8= xttpd.8
MANCOMPRESSED= no
post-extract:
@${GZCAT} ${DISTDIR}/harmonics.world.gz > ${WRKSRC}/harmonics
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/tide ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/xttpd ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/DOCUMENTATION/xtide.1 ${PREFIX}/man/man1/xtide.1
${INSTALL_MAN} ${WRKSRC}/DOCUMENTATION/tide.1 ${PREFIX}/man/man1/tide.1
${INSTALL_MAN} ${WRKSRC}/DOCUMENTATION/xttpd.8 ${PREFIX}/man/man8/xttpd.8
@${MKDIR} ${PREFIX}/share/xtide
${INSTALL_DATA} ${WRKSRC}/harmonics ${PREFIX}/share/xtide
.include <bsd.port.mk>