summaryrefslogtreecommitdiff
path: root/astro/xtide
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>2000-04-30 00:04:34 +0000
committerSteve Price <steve@FreeBSD.org>2000-04-30 00:04:34 +0000
commit530019b51dce99e417df538c0bda69023d179374 (patch)
tree6561d4a85a2a7a86d9c6604b9db52db716d3de34 /astro/xtide
parents/gopher2\.3/gopher2_3/ (diff)
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
Notes
Notes: svn path=/head/; revision=28118
Diffstat (limited to 'astro/xtide')
-rw-r--r--astro/xtide/Makefile9
-rw-r--r--astro/xtide/distinfo2
-rw-r--r--astro/xtide/files/patch-aa2
3 files changed, 5 insertions, 8 deletions
diff --git a/astro/xtide/Makefile b/astro/xtide/Makefile
index 3c9dab0c1325..c0b29dee0acc 100644
--- a/astro/xtide/Makefile
+++ b/astro/xtide/Makefile
@@ -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
diff --git a/astro/xtide/distinfo b/astro/xtide/distinfo
index 7bd17e80907b..230981232fda 100644
--- a/astro/xtide/distinfo
+++ b/astro/xtide/distinfo
@@ -1,2 +1,2 @@
MD5 (xtide-2.2.tar.gz) = a2e9ef7a0eea27de87a12efa0339ac85
-MD5 (harmonics.gz) = aeb7f495cb816ea636a6ea2a0eda491a
+MD5 (harmonics.world.gz) = bcd6fefd124a69b8f2bdf5c3435cb6d1
diff --git a/astro/xtide/files/patch-aa b/astro/xtide/files/patch-aa
index fc4fef86d367..e2101ee36593 100644
--- a/astro/xtide/files/patch-aa
+++ b/astro/xtide/files/patch-aa
@@ -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");