aboutsummaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
Diffstat (limited to 'astro')
-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");