aboutsummaryrefslogtreecommitdiff
path: root/sysutils/medusa
diff options
context:
space:
mode:
authorAde Lovett <ade@FreeBSD.org>2000-08-18 15:09:37 +0000
committerAde Lovett <ade@FreeBSD.org>2000-08-18 15:09:37 +0000
commitb021babcfb54d572b979712c0de18fdcbbb76645 (patch)
tree78e4b17c2f4355903c9bbcaa8644e312a8af2dc6 /sysutils/medusa
parentcc3a266bd394f1a4c9f4608ca621df5758283a68 (diff)
downloadports-b021babcfb54d572b979712c0de18fdcbbb76645.tar.gz
ports-b021babcfb54d572b979712c0de18fdcbbb76645.zip
Notes
Diffstat (limited to 'sysutils/medusa')
-rw-r--r--sysutils/medusa/Makefile42
-rw-r--r--sysutils/medusa/distinfo1
-rw-r--r--sysutils/medusa/files/patch-aa12
-rw-r--r--sysutils/medusa/files/patch-ab14
-rw-r--r--sysutils/medusa/files/patch-ac14
-rw-r--r--sysutils/medusa/pkg-comment1
-rw-r--r--sysutils/medusa/pkg-descr4
-rw-r--r--sysutils/medusa/pkg-plist16
8 files changed, 104 insertions, 0 deletions
diff --git a/sysutils/medusa/Makefile b/sysutils/medusa/Makefile
new file mode 100644
index 000000000000..4f340c2b310a
--- /dev/null
+++ b/sysutils/medusa/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: medusa
+# Date created: 17th August 2000
+# Whom: Ade Lovett <ade@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= medusa
+PORTVERSION= 0.2
+CATEGORIES= sysutils gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= unstable/sources/medusa
+
+MAINTAINER= ade@FreeBSD.org
+
+LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
+ oaf.0:${PORTSDIR}/devel/oaf \
+ gnomevfs.0:${PORTSDIR}/devel/gnomevfs \
+ gconf-1.0:${PORTSDIR}/devel/gconf
+
+GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+USE_LIBTOOL= yes
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
+ --datadir=${PREFIX}/share/gnome \
+ --enable-shared --enable-static
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ GLIB_CONFIG="${GLIB_CONFIG}" \
+ GTK_CONFIG="${GTK_CONFIG}" \
+ LIBS="-L${LOCALBASE}/lib"
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+.include <bsd.port.mk>
diff --git a/sysutils/medusa/distinfo b/sysutils/medusa/distinfo
new file mode 100644
index 000000000000..20a3df161aac
--- /dev/null
+++ b/sysutils/medusa/distinfo
@@ -0,0 +1 @@
+MD5 (medusa-0.2.tar.gz) = 65e6fe67ebbf5e12406836a18baa1cee
diff --git a/sysutils/medusa/files/patch-aa b/sysutils/medusa/files/patch-aa
new file mode 100644
index 000000000000..56b2c43eab5b
--- /dev/null
+++ b/sysutils/medusa/files/patch-aa
@@ -0,0 +1,12 @@
+--- libmedusa-internal/medusa-io-handler.c.orig Sun Aug 6 04:10:06 2000
++++ libmedusa-internal/medusa-io-handler.c Thu Aug 17 10:27:10 2000
+@@ -208,6 +208,9 @@
+
+ /* We open the file synchronously here to make sure the header gets
+ written before returning the FILE * */
++#ifdef __FreeBSD__
++#define O_SYNC 0
++#endif
+ file_descriptor = open (file_name, O_RDWR | O_CREAT | O_SYNC, S_IRUSR | S_IWUSR);
+ write_header_to_file_descriptor (file_descriptor, magic_number, version_number, 0);
+ close (file_descriptor);
diff --git a/sysutils/medusa/files/patch-ab b/sysutils/medusa/files/patch-ab
new file mode 100644
index 000000000000..4a762825a9ef
--- /dev/null
+++ b/sysutils/medusa/files/patch-ab
@@ -0,0 +1,14 @@
+--- libmedusa-internal/medusa-rdb-query.c.orig Fri Jul 28 05:14:34 2000
++++ libmedusa-internal/medusa-rdb-query.c Thu Aug 17 10:04:48 2000
+@@ -26,7 +26,11 @@
+ #include <stdlib.h>
+ #include <stdio.h>
+ #include <string.h>
++#ifdef __FreeBSD__
++#include <gnuregex.h>
++#else
+ #include <regex.h>
++#endif
+ #include <medusa-test.h>
+
+ #include "medusa-rdb-query-private.h"
diff --git a/sysutils/medusa/files/patch-ac b/sysutils/medusa/files/patch-ac
new file mode 100644
index 000000000000..d215ec53282b
--- /dev/null
+++ b/sysutils/medusa/files/patch-ac
@@ -0,0 +1,14 @@
+--- libmedusa-internal/medusa-text-index-mime-module.c.orig Fri Jul 14 21:54:26 2000
++++ libmedusa-internal/medusa-text-index-mime-module.c Thu Aug 17 10:06:12 2000
+@@ -32,7 +32,11 @@
+ #include <glib.h>
+ #include <ctype.h>
+ #include <string.h>
++#ifdef __FreeBSD__
++#include <gnuregex.h>
++#else
+ #include <regex.h>
++#endif
+
+ struct MedusaTextIndexMimeModule {
+ /* These lists should be short */
diff --git a/sysutils/medusa/pkg-comment b/sysutils/medusa/pkg-comment
new file mode 100644
index 000000000000..fa995db9cb4e
--- /dev/null
+++ b/sysutils/medusa/pkg-comment
@@ -0,0 +1 @@
+GNOME filesystem indexer
diff --git a/sysutils/medusa/pkg-descr b/sysutils/medusa/pkg-descr
new file mode 100644
index 000000000000..39e6120276cd
--- /dev/null
+++ b/sysutils/medusa/pkg-descr
@@ -0,0 +1,4 @@
+Medusa is software that allows you to quickly search your system for
+particular types of files, using an index.
+
+WWW: http://www.gnome.org/
diff --git a/sysutils/medusa/pkg-plist b/sysutils/medusa/pkg-plist
new file mode 100644
index 000000000000..8949744d78c0
--- /dev/null
+++ b/sysutils/medusa/pkg-plist
@@ -0,0 +1,16 @@
+bin/medusa-config
+bin/medusa-indexd
+bin/medusa-searchd
+bin/msearch
+etc/vfs/modules/search-methods.conf
+include/libmedusa/medusa-common-private.h
+include/libmedusa/medusa-index-service-private.h
+include/libmedusa/medusa-search-service-private.h
+include/libmedusa/medusa-search-service.h
+lib/libmedusa.a
+lib/libmedusa.so
+lib/libmedusa.so.0
+lib/vfs/modules/libvfs-search.so
+share/gnome/medusa/file-index-stoplist
+@dirrm share/gnome/medusa
+@dirrm include/libmedusa