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

(-)seti_applet/Makefile (-5 / +6 lines)
Lines 2-12 Link Here
2
# Date Created:		1 Jul 2000
2
# Date Created:		1 Jul 2000
3
# Whom:			HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
3
# Whom:			HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
4
#
4
#
5
# $FreeBSD: ports/astro/seti_applet/Makefile,v 1.3 2000/10/05 07:10:20 reg Exp $
5
# $FreeBSD: ports/astro/seti_applet/Makefile,v 1.2 2000/07/13 10:58:19 sobomax Exp $
6
#
6
#
7
7
8
PORTNAME=	seti_applet
8
PORTNAME=	seti_applet
9
PORTVERSION=	0.3.0
9
PORTVERSION=	0.3.2
10
CATEGORIES=	astro gnome
10
CATEGORIES=	astro gnome
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	${PORTNAME:S/_/-/}
12
MASTER_SITE_SUBDIR=	${PORTNAME:S/_/-/}
Lines 19-35 Link Here
19
USE_X_PREFIX=	yes
19
USE_X_PREFIX=	yes
20
USE_GNOME=	yes
20
USE_GNOME=	yes
21
USE_LIBTOOL=	yes
21
USE_LIBTOOL=	yes
22
CONFIGURE_ARGS=	--datadir=${PREFIX}/share/gnome
22
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
23
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
23
		LIBS="-L${LOCALBASE}/lib"
24
		LIBS="-L${LOCALBASE}/lib"
24
25
25
pre-patch:
26
pre-patch:
26
	@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
27
	@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
27
		 s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
28
		s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
28
	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
29
	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
29
		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
30
		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
30
		 s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
31
		s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
31
32
32
post-install:
33
post-install:
33
	@${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g" ${PKGMESSAGE}
34
	${SED} "s|%%LOCALBASE%%|${LOCALBASE}|g" ${PKGMESSAGE}
34
35
35
.include <bsd.port.mk>
36
.include <bsd.port.mk>
(-)seti_applet/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (seti_applet-0.3.0.tar.gz) = 2802618a2b37a8b1540c16b0aa0dfbbf
1
MD5 (seti_applet-0.3.2.tar.gz) = 5811a1d41d596eb9ae17ae37568a3a7c
(-)seti_applet/files/patch-aa (-18 / +18 lines)
Lines 1-24 Link Here
1
--- src/seti_applet.c.orig	Wed Jul 19 07:18:22 2000
1
--- src/seti_applet.c.orig	Tue Oct  3 11:05:06 2000
2
+++ src/seti_applet.c	Wed Jul 19 07:19:05 2000
2
+++ src/seti_applet.c	Tue Oct  3 11:06:23 2000
3
@@ -1352,7 +1352,7 @@
3
@@ -1442,7 +1442,7 @@
4
 		g_free ( sa.setidir );
4
 		g_free ( sa.seti_dir );
5
 	}
5
 	}
6
 	gnome_config_push_prefix ( path );
6
 	gnome_config_push_prefix ( path );
7
-	sa.setidir = gnome_config_get_string ( "setiapplet/setidir=/usr/local/seti" );
7
-	sa.seti_dir = gnome_config_get_string ( "setiapplet/setidir=/usr/local/seti" );
8
+	sa.setidir = gnome_config_get_string ( "setiapplet/setidir=/var/db/setiathome" );
8
+	sa.seti_dir = gnome_config_get_string ( "setiapplet/setidir=/var/db/setiathome" );
9
 	sa.updateinterval = gnome_config_get_int ( "setiapplet/updateinterval=3" );
9
 	sa.update_interval = gnome_config_get_int ( "setiapplet/updateinterval=3" );
10
 	sa.fileupdateinterval = gnome_config_get_int ( "setiapplet/fileupdateinterval=120" );
10
 	sa.file_update_interval = gnome_config_get_int ( "setiapplet/fileupdateinterval=120" );
11
 	sa.showcpu = gnome_config_get_int ( "setiapplet/showcpu=1" );
11
 
12
@@ -1370,10 +1370,10 @@
12
@@ -1460,10 +1460,10 @@
13
 		g_free ( sa.extraparams );
13
 		g_free ( sa.extra_params );
14
 	}
14
 	}
15
 	sa.extraparams = gnome_config_get_string ( "setiapplet/extraparams=");
15
 	sa.extra_params = gnome_config_get_string ( "setiapplet/extraparams=");
16
-	sa.separateexedir = gnome_config_get_int ( "setiapplet/separateexedir=0" );
16
-	sa.separate_exe_dir = gnome_config_get_int ( "setiapplet/separateexedir=0" );
17
+	sa.separateexedir = gnome_config_get_int ( "setiapplet/separateexedir=1" );
17
+	sa.separate_exe_dir = gnome_config_get_int ( "setiapplet/separateexedir=1" );
18
 	if ( sa.separateexedir == TRUE )
18
 	if ( sa.separate_exe_dir == TRUE )
19
 	{
19
 	{
20
-		sa.setiexedir = gnome_config_get_string ( "setiapplet/setiexedir" );
20
-		sa.seti_exe_dir = gnome_config_get_string ( "setiapplet/setiexedir" );
21
+		sa.setiexedir = gnome_config_get_string ( "setiapplet/setiexedir=/usr/local/bin" );
21
+		sa.seti_exe_dir = gnome_config_get_string ( "setiapplet/setiexedir=/usr/local/bin" );
22
 	}
22
 	}
23
 	sa.launchonstart = gnome_config_get_int ( "setiapplet/launchonstart=0" );
23
 	sa.launch_on_start = gnome_config_get_int ( "setiapplet/launchonstart=0" );
24
 	gnome_config_pop_prefix();
24
 	gnome_config_pop_prefix();
(-)seti_applet/files/patch-ad (+10 lines)
Line 0 Link Here
1
--- src/seti_control.c.orig	Thu Oct 12 16:29:42 2000
2
+++ src/seti_control.c	Thu Oct 12 16:29:53 2000
3
@@ -20,6 +20,7 @@
4
 #include <unistd.h>
5
 #include <signal.h>
6
 #include <stdlib.h>
7
+#include <fcntl.h>
8
 
9
 #include <glibtop.h>
10
 #include <glibtop/procstate.h>

Return to bug 21930