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

(-)xtide/Makefile (-1 / +4 lines)
Lines 18-29 Link Here
18
		png.3:${PORTSDIR}/graphics/png
18
		png.3:${PORTSDIR}/graphics/png
19
19
20
USE_X_PREFIX=	yes
20
USE_X_PREFIX=	yes
21
HAS_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
22
MAN1=	xtide.1 tide.1
22
MAN1=	xtide.1 tide.1
23
MANCOMPRESSED=	no
23
MANCOMPRESSED=	no
24
24
25
post-extract:
25
post-extract:
26
	@${GZCAT} ${DISTDIR}/harmonics.world.gz > ${WRKSRC}/harmonics
26
	@${GZCAT} ${DISTDIR}/harmonics.world.gz > ${WRKSRC}/harmonics
27
28
post-patch:
29
	@${PERL} -pi -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/TideContext.cc
27
30
28
do-install:
31
do-install:
29
	${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin
32
	${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin
(-)xtide/patches/patch-aa (-1 / +1 lines)
Lines 13-19 Link Here
13
      }
13
      }
14
    }
14
    }
15
    if (hfile_path.isNull())
15
    if (hfile_path.isNull())
16
!     hfile_path = "/usr/X11R6/share/xtide/harmonics";
16
!     hfile_path = "%%PREFIX%%/share/xtide/harmonics";
17
    harmonicsPath = new HarmonicsPath (hfile_path);
17
    harmonicsPath = new HarmonicsPath (hfile_path);
18
  
18
  
19
    homedir = getenv ("HOME");
19
    homedir = getenv ("HOME");
(-)xtide/patches/patch-ab (+13 lines)
Line 0 Link Here
1
--- Makefile.in.old	Tue May 30 16:26:52 2000
2
+++ Makefile.in	Tue May 30 16:27:01 2000
3
@@ -14,7 +14,7 @@
4
 # Compiler and flags
5
 # DEFS should include -Dacceptarg3_t=int (replace with the correct data type)
6
 CXX = @CXX@
7
-CXXFLAGS = @extracxxflags@ @DEFS@ -O2 -I@includedir@ -I$(XROOT)/include -I/usr/local/include -I/usr/contrib/include -c
8
+CXXFLAGS = @extracxxflags@ @DEFS@ -I@includedir@ -I$(XROOT)/include -I/usr/local/include -I/usr/contrib/include -c
9
 LDFLAGS = @extraldflags@ -L@libdir@ -L$(XROOT)/lib -L/usr/local/lib -L/usr/contrib/lib -s -o
10
 
11
 # Extra switches and libs determined by configure.in
12
13
(-)xtide/patches/patch-makefile (-13 lines)
Lines 1-13 Link Here
1
--- Makefile.in.old	Tue May 30 16:26:52 2000
2
+++ Makefile.in	Tue May 30 16:27:01 2000
3
@@ -14,7 +14,7 @@
4
 # Compiler and flags
5
 # DEFS should include -Dacceptarg3_t=int (replace with the correct data type)
6
 CXX = @CXX@
7
-CXXFLAGS = @extracxxflags@ @DEFS@ -O2 -I@includedir@ -I$(XROOT)/include -I/usr/local/include -I/usr/contrib/include -c
8
+CXXFLAGS = @extracxxflags@ @DEFS@ -I@includedir@ -I$(XROOT)/include -I/usr/local/include -I/usr/contrib/include -c
9
 LDFLAGS = @extraldflags@ -L@libdir@ -L$(XROOT)/lib -L/usr/local/lib -L/usr/contrib/lib -s -o
10
 
11
 # Extra switches and libs determined by configure.in
12
13

Return to bug 19478