1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

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
This commit is contained in:
Steve Price 2000-04-30 00:04:34 +00:00
parent d10c826958
commit 530019b51d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=28118
3 changed files with 5 additions and 8 deletions

View File

@ -9,7 +9,7 @@ PORTNAME= xtide
PORTVERSION= 2.2
CATEGORIES= astro
MASTER_SITES= ftp://ftp.flaterco.com/xtide/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} harmonics.gz
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} harmonics.world.gz
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= patseal@hyperhost.net
@ -17,17 +17,14 @@ MAINTAINER= patseal@hyperhost.net
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm \
png.3:${PORTSDIR}/graphics/png
# www.universe.digex.net is broken
FETCH_BEFORE_ARGS= -t
USE_X_PREFIX= yes
USE_XLIB= yes
HAS_CONFIGURE= yes
MAN1= xtide.1 tide.1
MAN8= xttpd.8
MANCOMPRESSED= no
post-extract:
@${GZCAT} ${DISTDIR}/harmonics.gz > ${WRKSRC}/harmonics
@${GZCAT} ${DISTDIR}/harmonics.world.gz > ${WRKSRC}/harmonics
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin

View File

@ -1,2 +1,2 @@
MD5 (xtide-2.2.tar.gz) = a2e9ef7a0eea27de87a12efa0339ac85
MD5 (harmonics.gz) = aeb7f495cb816ea636a6ea2a0eda491a
MD5 (harmonics.world.gz) = bcd6fefd124a69b8f2bdf5c3435cb6d1

View File

@ -13,7 +13,7 @@
}
}
if (hfile_path.isNull())
! hfile_path = "/usr/X11R6/share/harmonics";
! hfile_path = "/usr/local/share/xtide/harmonics";
harmonicsPath = new HarmonicsPath (hfile_path);
homedir = getenv ("HOME");