aboutsummaryrefslogtreecommitdiffstats
path: root/astro/xtide
diff options
context:
space:
mode:
authordecke <decke@FreeBSD.org>2010-09-17 01:55:54 +0800
committerdecke <decke@FreeBSD.org>2010-09-17 01:55:54 +0800
commitf0d063c443f50d18e438417bc21add51350c1614 (patch)
tree2b6c416f382bbf56be4094d2b57ddc8b4d3d31cd /astro/xtide
parent96e3b2cf484b0d1c76d237dc476c1993ad90edba (diff)
downloadfreebsd-ports-gnome-f0d063c443f50d18e438417bc21add51350c1614.tar.gz
freebsd-ports-gnome-f0d063c443f50d18e438417bc21add51350c1614.tar.zst
freebsd-ports-gnome-f0d063c443f50d18e438417bc21add51350c1614.zip
- Update to 2.11
- Pet portlint PR: ports/150596 Submitted by: Armin Pirkovitsch <armin at frozen-zone dot org> Approved by: beat (co-mentor)
Diffstat (limited to 'astro/xtide')
-rw-r--r--astro/xtide/Makefile15
-rw-r--r--astro/xtide/distinfo6
-rw-r--r--astro/xtide/files/patch-Global.cc15
-rw-r--r--astro/xtide/files/patch-HarmonicsPath.cc11
-rw-r--r--astro/xtide/files/patch-wvsrtv.cc11
5 files changed, 21 insertions, 37 deletions
diff --git a/astro/xtide/Makefile b/astro/xtide/Makefile
index 86945b81e4d5..a31d03e9de48 100644
--- a/astro/xtide/Makefile
+++ b/astro/xtide/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= xtide
-PORTVERSION= 2.10
-PORTREVISION= 4
+PORTVERSION= 2.11
CATEGORIES= astro geography
MASTER_SITES= ftp://ftp.flaterco.com/xtide/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
@@ -32,8 +31,8 @@ MAN8= xttpd.8
PLIST_DIRS= %%DATADIR%%
.if defined(WITHOUT_X11)
-PKGNAMESUFFIX= -nox11
-ALL_TARGET= tide xttpd
+PKGNAMESUFFIX= -nox11
+ALL_TARGET= tide xttpd
.else
USE_XORG= xpm xaw
USE_GNOME= gnometarget
@@ -47,8 +46,8 @@ LDFLAGS= -L../libtcd-2.2.4/.libs -L${LOCALBASE}/lib
.include <bsd.port.pre.mk>
post-extract:
- @cd $(DISTDIR);${TAR} xzf ${DISTDIR}/harmonics-dwf-20091227-free.tar.bz2
- @$(MV) $(DISTDIR)/harmonics-dwf-20091227-free.tcd \
+ @cd ${DISTDIR};${TAR} xzf ${DISTDIR}/harmonics-dwf-20091227-free.tar.bz2
+ @${MV} ${DISTDIR}/harmonics-dwf-20091227-free.tcd \
${WRKSRC}/harmonics.tcd
post-patch:
@@ -56,9 +55,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' \
-e 's|png_check_sig|png_sig_cmp|' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/configure
-.for file in Global.cc HarmonicsPath.cc wvsrtv.cc
- @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${file}
-.endfor
+ @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/Global.cc
pre-configure:
@cd ${WRKDIR}/libtcd-2.2.4 \
diff --git a/astro/xtide/distinfo b/astro/xtide/distinfo
index 3ee244553eb2..dcc80c5ac249 100644
--- a/astro/xtide/distinfo
+++ b/astro/xtide/distinfo
@@ -1,6 +1,6 @@
-MD5 (xtide-2.10.tar.bz2) = a14d9db748a86bed37769f38c4320ddd
-SHA256 (xtide-2.10.tar.bz2) = 3b19ae183149c07733580b1ce5e7c2d330efecb4e8817fafed9a74daf4388ab5
-SIZE (xtide-2.10.tar.bz2) = 393882
+MD5 (xtide-2.11.tar.bz2) = 1d85890bb13b3345154e0f68831b7ebd
+SHA256 (xtide-2.11.tar.bz2) = a7a3f27b5f49b498c497d1e595c772cfb902892fdf87d386cbbea13f4d7924b3
+SIZE (xtide-2.11.tar.bz2) = 431228
MD5 (libtcd-2.2.4.tar.bz2) = 7fe3a0604a048b604497bbbf055958f3
SHA256 (libtcd-2.2.4.tar.bz2) = 601da0d17758127161869ecfb02eff6915f2d2ba797682dcdd29575fc284f820
SIZE (libtcd-2.2.4.tar.bz2) = 250070
diff --git a/astro/xtide/files/patch-Global.cc b/astro/xtide/files/patch-Global.cc
index f821572d4963..9920e8487b25 100644
--- a/astro/xtide/files/patch-Global.cc
+++ b/astro/xtide/files/patch-Global.cc
@@ -1,6 +1,15 @@
---- Global.cc.orig Thu Mar 15 09:58:01 2007
-+++ Global.cc Fri Mar 23 02:31:17 2007
-@@ -241,10 +241,10 @@
+--- Global.cc.orig 2010-09-14 16:49:16.000000000 +0200
++++ Global.cc 2010-09-14 16:50:18.000000000 +0200
+@@ -203,7 +203,7 @@
+ #ifdef UseLocalFiles
+ static const char confFile[] = "xtide.conf";
+ #else
+- static const char confFile[] = "/etc/xtide.conf";
++ static const char confFile[] = "%%PREFIX%%/etc/xtide.conf";
+ #endif
+ static bool firstCall (true);
+ static SafeVector<Dstr> xtideConfLines (2U);
+@@ -390,10 +390,10 @@
break;
case Error::NO_HFILE_PATH:
text_out += "NO_HFILE_PATH\n\
diff --git a/astro/xtide/files/patch-HarmonicsPath.cc b/astro/xtide/files/patch-HarmonicsPath.cc
deleted file mode 100644
index 471c687d8751..000000000000
--- a/astro/xtide/files/patch-HarmonicsPath.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- HarmonicsPath.cc.orig Fri Dec 7 08:13:13 2007
-+++ HarmonicsPath.cc Sun Dec 23 00:41:28 2007
-@@ -31,7 +31,7 @@
- #ifdef UseLocalFiles
- static const char confFile[] = "xtide.conf";
- #else
--static const char confFile[] = "/etc/xtide.conf";
-+static const char confFile[] = "%%PREFIX%%/etc/xtide.conf";
- #endif
-
-
diff --git a/astro/xtide/files/patch-wvsrtv.cc b/astro/xtide/files/patch-wvsrtv.cc
deleted file mode 100644
index 6a019b81318e..000000000000
--- a/astro/xtide/files/patch-wvsrtv.cc
+++ /dev/null
@@ -1,11 +0,0 @@
---- wvsrtv.cc.orig Thu Jan 4 11:35:43 2007
-+++ wvsrtv.cc Fri Mar 23 02:32:59 2007
-@@ -651,7 +651,7 @@
- }
- if (dir[0] == '\0') {
- FILE *configfile;
-- if ((configfile = fopen ("/etc/xtide.conf", "r"))) {
-+ if ((configfile = fopen ("%%PREFIX%%/etc/xtide.conf", "r"))) {
- if (!fgets (dir, 512, configfile)) {
- fclose (configfile);
- return 0;