View | Details | Raw Unified | Return to bug 150596
Collapse All | Expand All

(-)/mnt/ad12/tinderbox/portstrees/Playground/ports/astro/xtide/Makefile (-6 / +5 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	xtide
8
PORTNAME=	xtide
9
PORTVERSION=	2.10
9
PORTVERSION=	2.11
10
PORTREVISION=	4
11
CATEGORIES=	astro geography
10
CATEGORIES=	astro geography
12
MASTER_SITES=	ftp://ftp.flaterco.com/xtide/
11
MASTER_SITES=	ftp://ftp.flaterco.com/xtide/
13
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
12
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
Lines 32-39 Link Here
32
PLIST_DIRS=	%%DATADIR%%
31
PLIST_DIRS=	%%DATADIR%%
33
32
34
.if defined(WITHOUT_X11)
33
.if defined(WITHOUT_X11)
35
PKGNAMESUFFIX=  -nox11
34
PKGNAMESUFFIX=	-nox11
36
ALL_TARGET= 	tide xttpd
35
ALL_TARGET=	tide xttpd
37
.else
36
.else
38
USE_XORG=	xpm xaw
37
USE_XORG=	xpm xaw
39
USE_GNOME=	gnometarget
38
USE_GNOME=	gnometarget
Lines 47-54 Link Here
47
.include <bsd.port.pre.mk>
46
.include <bsd.port.pre.mk>
48
47
49
post-extract:
48
post-extract:
50
	@cd $(DISTDIR);${TAR} xzf ${DISTDIR}/harmonics-dwf-20091227-free.tar.bz2
49
	@cd ${DISTDIR};${TAR} xzf ${DISTDIR}/harmonics-dwf-20091227-free.tar.bz2
51
	@$(MV) $(DISTDIR)/harmonics-dwf-20091227-free.tcd \
50
	@${MV} ${DISTDIR}/harmonics-dwf-20091227-free.tcd \
52
		 ${WRKSRC}/harmonics.tcd
51
		 ${WRKSRC}/harmonics.tcd
53
52
54
post-patch:
53
post-patch:
(-)/mnt/ad12/tinderbox/portstrees/Playground/ports/astro/xtide/distinfo (-3 / +3 lines)
Lines 1-6 Link Here
1
MD5 (xtide-2.10.tar.bz2) = a14d9db748a86bed37769f38c4320ddd
1
MD5 (xtide-2.11.tar.bz2) = 1d85890bb13b3345154e0f68831b7ebd
2
SHA256 (xtide-2.10.tar.bz2) = 3b19ae183149c07733580b1ce5e7c2d330efecb4e8817fafed9a74daf4388ab5
2
SHA256 (xtide-2.11.tar.bz2) = a7a3f27b5f49b498c497d1e595c772cfb902892fdf87d386cbbea13f4d7924b3
3
SIZE (xtide-2.10.tar.bz2) = 393882
3
SIZE (xtide-2.11.tar.bz2) = 431228
4
MD5 (libtcd-2.2.4.tar.bz2) = 7fe3a0604a048b604497bbbf055958f3
4
MD5 (libtcd-2.2.4.tar.bz2) = 7fe3a0604a048b604497bbbf055958f3
5
SHA256 (libtcd-2.2.4.tar.bz2) = 601da0d17758127161869ecfb02eff6915f2d2ba797682dcdd29575fc284f820
5
SHA256 (libtcd-2.2.4.tar.bz2) = 601da0d17758127161869ecfb02eff6915f2d2ba797682dcdd29575fc284f820
6
SIZE (libtcd-2.2.4.tar.bz2) = 250070
6
SIZE (libtcd-2.2.4.tar.bz2) = 250070
(-)/mnt/ad12/tinderbox/portstrees/Playground/ports/astro/xtide/files/patch-Global.cc (-3 / +12 lines)
Lines 1-6 Link Here
1
--- Global.cc.orig	Thu Mar 15 09:58:01 2007
1
--- Global.cc.orig	2010-09-14 16:49:16.000000000 +0200
2
+++ Global.cc	Fri Mar 23 02:31:17 2007
2
+++ Global.cc	2010-09-14 16:50:18.000000000 +0200
3
@@ -241,10 +241,10 @@
3
@@ -203,7 +203,7 @@
4
 #ifdef UseLocalFiles
5
   static const char confFile[] = "xtide.conf";
6
 #else
7
-  static const char confFile[] = "/etc/xtide.conf";
8
+  static const char confFile[] = "%%PREFIX%%/etc/xtide.conf";
9
 #endif
10
   static bool firstCall (true);
11
   static SafeVector<Dstr> xtideConfLines (2U);
12
@@ -390,10 +390,10 @@
4
     break;
13
     break;
5
   case Error::NO_HFILE_PATH:
14
   case Error::NO_HFILE_PATH:
6
     text_out += "NO_HFILE_PATH\n\
15
     text_out += "NO_HFILE_PATH\n\
(-)/mnt/ad12/tinderbox/portstrees/Playground/ports/astro/xtide/files/patch-HarmonicsPath.cc (-11 lines)
Lines 1-11 Link Here
1
--- HarmonicsPath.cc.orig	Fri Dec  7 08:13:13 2007
2
+++ HarmonicsPath.cc	Sun Dec 23 00:41:28 2007
3
@@ -31,7 +31,7 @@
4
 #ifdef UseLocalFiles
5
 static const char confFile[] = "xtide.conf";
6
 #else
7
-static const char confFile[] = "/etc/xtide.conf";
8
+static const char confFile[] = "%%PREFIX%%/etc/xtide.conf";
9
 #endif
10
 
11
 
(-)/mnt/ad12/tinderbox/portstrees/Playground/ports/astro/xtide/files/patch-wvsrtv.cc (-11 lines)
Lines 1-11 Link Here
1
--- wvsrtv.cc.orig	Thu Jan  4 11:35:43 2007
2
+++ wvsrtv.cc	Fri Mar 23 02:32:59 2007
3
@@ -651,7 +651,7 @@
4
           }
5
           if (dir[0] == '\0') {
6
             FILE *configfile;
7
-            if ((configfile = fopen ("/etc/xtide.conf", "r"))) {
8
+            if ((configfile = fopen ("%%PREFIX%%/etc/xtide.conf", "r"))) {
9
               if (!fgets (dir, 512, configfile)) {
10
                 fclose (configfile);
11
                 return 0;

Return to bug 150596