aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/doodle/Makefile35
-rw-r--r--deskutils/doodle/distinfo2
-rw-r--r--deskutils/doodle/files/patch-src_doodle_getopt.c10
-rw-r--r--deskutils/doodle/files/patch-src_doodle_semaphore.c10
-rw-r--r--deskutils/doodle/files/patch-src_doodle_tree.c11
-rw-r--r--deskutils/doodle/pkg-descr8
-rw-r--r--deskutils/doodle/pkg-plist11
8 files changed, 88 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index 8fb38c0c909c..340b435cd9fb 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -17,6 +17,7 @@
SUBDIR += checkrdf
SUBDIR += dailystrips
SUBDIR += dlume
+ SUBDIR += doodle
SUBDIR += dragstack
SUBDIR += drivel
SUBDIR += egroupware
diff --git a/deskutils/doodle/Makefile b/deskutils/doodle/Makefile
new file mode 100644
index 000000000000..919c36875ac0
--- /dev/null
+++ b/deskutils/doodle/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: doodle
+# Date created: 26 June 2005
+# Whom: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
+# Jean-Yves Lefort <jylefort@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= doodle
+PORTVERSION= 0.6.2
+CATEGORIES= deskutils
+MASTER_SITES= http://gnunet.org/doodle/download/
+
+MAINTAINER= jylefort@FreeBSD.org
+COMMENT= Quickly search documents
+
+LIB_DEPENDS= extractor.1:${PORTSDIR}/textproc/libextractor
+
+USE_REINPLACE= yes
+USE_LIBTOOL_VER=15
+USE_GETTEXT= yes
+USE_FAM= yes
+INSTALLS_SHLIB= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= doodle.1 doodled.1
+MAN3= libdoodle.3
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|,\$$PTHREAD_CPPFLAGS,|,${PTHREAD_CFLAGS},|; \
+ s|,\$$PTHREAD_LIBS,|,${PTHREAD_LIBS},|; \
+ s|,\$$PTHREAD_LDFLAGS,|,,|;' ${WRKSRC}/configure
+
+.include <bsd.port.mk>
diff --git a/deskutils/doodle/distinfo b/deskutils/doodle/distinfo
new file mode 100644
index 000000000000..28e64e96ddcb
--- /dev/null
+++ b/deskutils/doodle/distinfo
@@ -0,0 +1,2 @@
+MD5 (doodle-0.6.2.tar.gz) = ed36ea99f918b005d7d2ca53cab7e941
+SIZE (doodle-0.6.2.tar.gz) = 465271
diff --git a/deskutils/doodle/files/patch-src_doodle_getopt.c b/deskutils/doodle/files/patch-src_doodle_getopt.c
new file mode 100644
index 000000000000..2f9b1ca3192e
--- /dev/null
+++ b/deskutils/doodle/files/patch-src_doodle_getopt.c
@@ -0,0 +1,10 @@
+--- src/doodle/getopt.c.orig Sun Jun 26 15:11:31 2005
++++ src/doodle/getopt.c Sun Jun 26 15:12:05 2005
+@@ -84,6 +84,7 @@
+ #endif
+
+ #include "gettext.h"
++#include "helper1.h"
+
+ /* This version of `getopt' appears to the caller like standard Unix `getopt'
+ but it behaves differently for the user, since it allows the user
diff --git a/deskutils/doodle/files/patch-src_doodle_semaphore.c b/deskutils/doodle/files/patch-src_doodle_semaphore.c
new file mode 100644
index 000000000000..97127f82a782
--- /dev/null
+++ b/deskutils/doodle/files/patch-src_doodle_semaphore.c
@@ -0,0 +1,10 @@
+--- src/doodle/semaphore.c.orig Sun Jun 26 15:20:32 2005
++++ src/doodle/semaphore.c Sun Jun 26 15:20:45 2005
+@@ -36,7 +36,6 @@
+ #include <semaphore.h>
+ #endif
+ #if SOMEBSD
+-# include <pthread_np.h>
+ #endif
+ #if SOMEBSD || OSX
+ # include <sys/file.h>
diff --git a/deskutils/doodle/files/patch-src_doodle_tree.c b/deskutils/doodle/files/patch-src_doodle_tree.c
new file mode 100644
index 000000000000..e08a7d498ac9
--- /dev/null
+++ b/deskutils/doodle/files/patch-src_doodle_tree.c
@@ -0,0 +1,11 @@
+--- src/doodle/tree.c.orig Sun Jun 26 15:13:51 2005
++++ src/doodle/tree.c Sun Jun 26 15:14:00 2005
+@@ -1815,7 +1815,7 @@
+ /* make certain that the dirty marker is on
+ disk... */
+ flush_buffer(ret->fd);
+- fdatasync(ret->fd->fd);
++ fsync(ret->fd->fd);
+ ret->modified = 1;
+ }
+
diff --git a/deskutils/doodle/pkg-descr b/deskutils/doodle/pkg-descr
new file mode 100644
index 000000000000..3749ea26d921
--- /dev/null
+++ b/deskutils/doodle/pkg-descr
@@ -0,0 +1,8 @@
+Doodle is a tool to quickly search the documents on a computer. Doodle
+builds an index using meta-data contained in the documents and allows
+fast searches on the resulting database. Doodle uses libextractor to
+support obtaining meta-data from various file-formats. The database
+used by doodle is a suffix tree, resulting in fast lookups. Doodle
+supports approximate searches.
+
+WWW: http://gnunet.org/doodle/
diff --git a/deskutils/doodle/pkg-plist b/deskutils/doodle/pkg-plist
new file mode 100644
index 000000000000..d525943138b2
--- /dev/null
+++ b/deskutils/doodle/pkg-plist
@@ -0,0 +1,11 @@
+bin/doodle
+bin/doodled
+include/doodle.h
+lib/libdoodle.a
+lib/libdoodle.so
+lib/libdoodle.so.2
+share/locale/de/LC_MESSAGES/doodle.mo
+share/locale/eu/LC_MESSAGES/doodle.mo
+share/locale/ga/LC_MESSAGES/doodle.mo
+share/locale/nl/LC_MESSAGES/doodle.mo
+share/locale/sq/LC_MESSAGES/doodle.mo