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

(-)sysutils/gnomefind/Makefile (-10 / +5 lines)
Lines 6-13 Link Here
6
#
6
#
7
7
8
PORTNAME=	gnomefind
8
PORTNAME=	gnomefind
9
PORTVERSION=	1.0.1
9
PORTVERSION=	1.0.2
10
PORTREVISION=	1
11
CATEGORIES=	sysutils gnome
10
CATEGORIES=	sysutils gnome
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
13
MASTER_SITE_SUBDIR=	gnome-find
12
MASTER_SITE_SUBDIR=	gnome-find
Lines 17-35 Link Here
17
COMMENT=	Graphical version of the GNU "find" utility
16
COMMENT=	Graphical version of the GNU "find" utility
18
17
19
USE_X_PREFIX=	yes
18
USE_X_PREFIX=	yes
20
USE_XPM=	yes
19
USE_GNOME=	gnomehack gnomeprefix libglade
21
USE_GNOME=	yes
22
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
23
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
21
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
24
		LDFLAGS="-lgnuregex -L${LOCALBASE}/lib"
22
		LDFLAGS="-lgnuregex -L${LOCALBASE}/lib"
25
23
26
MAN1=		gnome-find.1
24
MAN1=		gnome-find.1
27
25
28
pre-patch:
26
post-patch:
29
	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
27
	@${GREP} -lR "<regex\.h>" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
30
		s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
28
		's|<regex\.h>|<gnuregex.h>|g'
31
	@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
32
		's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
33
		 s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
34
29
35
.include <bsd.port.mk>
30
.include <bsd.port.mk>
(-)sysutils/gnomefind/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (gnome-find-1.0.1.tar.gz) = 30b6cfd8c5d929cadefb1ebbdd8ed328
1
MD5 (gnome-find-1.0.2.tar.gz) = fb6549efbab887efea88a8fcc4b4319f
(-)sysutils/gnomefind/files/patch-aa (-11 lines)
Lines 1-11 Link Here
1
--- src/defs.h.orig	Fri Jun 30 17:13:19 2000
2
+++ src/defs.h	Mon Jul 17 09:56:51 2000
3
@@ -43,7 +43,7 @@
4
 #include <time.h>
5
 
6
 #ifdef HAVE_GNU_REGEX
7
-# include <regex.h>
8
+# include <gnuregex.h>
9
 #else
10
 # include "gnu_regex.h"
11
 #endif
(-)sysutils/gnomefind/files/patch-ab (-11 lines)
Lines 1-11 Link Here
1
--- src/pred.h.orig	Fri Jun 30 17:13:50 2000
2
+++ src/pred.h	Mon Jul 17 09:58:18 2000
3
@@ -31,7 +31,7 @@
4
 #include <time.h>
5
 
6
 #ifdef HAVE_GNU_REGEX
7
-# include <regex.h>
8
+# include <gnuregex.h>
9
 #else
10
 # include "gnu_regex.h"
11
 #endif
(-)sysutils/gnomefind/files/patch-ac (-20 lines)
Lines 1-20 Link Here
1
--- src/fstype.c	2000/05/26 09:54:55	1.1
2
+++ src/fstype.c	2000/05/26 10:08:03
3
@@ -318,7 +318,7 @@
4
   char *p;
5
 
6
   if (S_ISLNK (statp->st_mode))
7
-    p = dirname (relpath);
8
+    readlink(relpath, (p = malloc(MAXPATHLEN)), MAXPATHLEN);
9
   else
10
     p = relpath;
11
 
12
@@ -332,7 +332,7 @@
13
   else
14
     {
15
 #ifdef MFSNAMELEN		/* NetBSD.  */
16
-      type = xstrdup (fss.f_fstypename);
17
+      type = strdup (fss.f_fstypename);
18
 #else
19
       type = fstype_to_string (fss.f_type);
20
 #endif
(-)sysutils/gnomefind/files/patch-ae (-11 lines)
Lines 1-11 Link Here
1
--- src/parser.c.orig	Wed Jun 21 10:27:44 2000
2
+++ src/parser.c	Fri Jun 30 10:14:46 2000
3
@@ -24,7 +24,7 @@
4
 #include <pwd.h>
5
 #include <grp.h>
6
 #ifdef HAVE_GNU_REGEX
7
-#include <regex.h>
8
+#include <gnuregex.h>
9
 #else
10
 #include "gnu_regex.h"
11
 #endif
(-)sysutils/gnomefind/files/patch-af (-11 lines)
Lines 1-11 Link Here
1
--- configure.orig	Fri Jun 30 10:13:20 2000
2
+++ configure	Fri Jun 30 10:13:51 2000
3
@@ -3344,7 +3344,7 @@
4
 cat > conftest.$ac_ext <<EOF
5
 #line 3346 "configure"
6
 #include "confdefs.h"
7
-#include <regex.h>
8
+#include <gnuregex.h>
9
 EOF
10
 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11
   egrep "re_pattern_buffer" >/dev/null 2>&1; then
(-)sysutils/gnomefind/pkg-plist (+10 lines)
Lines 15-24 Link Here
15
share/gnome/help/gnome-find/C/prefs-3.html
15
share/gnome/help/gnome-find/C/prefs-3.html
16
share/gnome/help/gnome-find/C/prefs-4.html
16
share/gnome/help/gnome-find/C/prefs-4.html
17
share/gnome/help/gnome-find/C/topic.dat
17
share/gnome/help/gnome-find/C/topic.dat
18
share/locale/da/LC_MESSAGES/gnome-find.mo
18
share/locale/de/LC_MESSAGES/gnome-find.mo
19
share/locale/de/LC_MESSAGES/gnome-find.mo
19
share/locale/es/LC_MESSAGES/gnome-find.mo
20
share/locale/es/LC_MESSAGES/gnome-find.mo
21
share/locale/fi/LC_MESSAGES/gnome-find.mo
22
share/locale/hu/LC_MESSAGES/gnome-find.mo
23
share/locale/ja/LC_MESSAGES/gnome-find.mo
20
share/locale/ko/LC_MESSAGES/gnome-find.mo
24
share/locale/ko/LC_MESSAGES/gnome-find.mo
25
share/locale/nl/LC_MESSAGES/gnome-find.mo
26
share/locale/no/LC_MESSAGES/gnome-find.mo
27
share/locale/pt_BR/LC_MESSAGES/gnome-find.mo
21
share/locale/ru/LC_MESSAGES/gnome-find.mo
28
share/locale/ru/LC_MESSAGES/gnome-find.mo
29
share/locale/sk/LC_MESSAGES/gnome-find.mo
30
share/locale/sv/LC_MESSAGES/gnome-find.mo
31
share/locale/uk/LC_MESSAGES/gnome-find.mo
22
@dirrm share/gnome/help/gnome-find/C
32
@dirrm share/gnome/help/gnome-find/C
23
@dirrm share/gnome/help/gnome-find
33
@dirrm share/gnome/help/gnome-find
24
@dirrm share/gnome/gnome-find
34
@dirrm share/gnome/gnome-find

Return to bug 55157