diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-06-26 15:17:56 +0000 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-06-26 15:17:56 +0000 |
commit | 54bbd0f4b02614866c0fff6f8513ee41fea2dcea (patch) | |
tree | 9e4bb40c97c5348d407cd2dcd1d73bedcaa560e2 | |
parent | f59644a6cda33b2c097cf4bcd07b114553066fdb (diff) | |
download | FreeBSD-ports-54bbd0f4b02614866c0fff6f8513ee41fea2dcea.zip FreeBSD-ports-54bbd0f4b02614866c0fff6f8513ee41fea2dcea.tar.gz |
Add doodle.
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/
Submitted by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>, myself
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/doodle/Makefile | 35 | ||||
-rw-r--r-- | deskutils/doodle/distinfo | 2 | ||||
-rw-r--r-- | deskutils/doodle/files/patch-src_doodle_getopt.c | 10 | ||||
-rw-r--r-- | deskutils/doodle/files/patch-src_doodle_semaphore.c | 10 | ||||
-rw-r--r-- | deskutils/doodle/files/patch-src_doodle_tree.c | 11 | ||||
-rw-r--r-- | deskutils/doodle/pkg-descr | 8 | ||||
-rw-r--r-- | deskutils/doodle/pkg-plist | 11 |
8 files changed, 88 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index 8fb38c0..340b435 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 0000000..919c368 --- /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 0000000..28e64e9 --- /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 0000000..2f9b1ca --- /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 0000000..97127f8 --- /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 0000000..e08a7d4 --- /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 0000000..3749ea2 --- /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 0000000..d5259431 --- /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 |