summaryrefslogtreecommitdiff
path: root/www/phraseanet-indexer
diff options
context:
space:
mode:
authormanu <manu@pkgsrc.org>2011-10-04 08:02:19 +0000
committermanu <manu@pkgsrc.org>2011-10-04 08:02:19 +0000
commit15ec1f2b9d31f0fc5f2f4b5dd7103956f7f55392 (patch)
tree75332abb537a95ebe733dbbde03109672dc8642d /www/phraseanet-indexer
parent3a94342676d55a7ec299e3c5b2f17894c860e2bf (diff)
downloadpkgsrc-15ec1f2b9d31f0fc5f2f4b5dd7103956f7f55392.tar.gz
Indexer helper program for phraseanet
Diffstat (limited to 'www/phraseanet-indexer')
-rw-r--r--www/phraseanet-indexer/DESCR1
-rw-r--r--www/phraseanet-indexer/Makefile25
-rw-r--r--www/phraseanet-indexer/PLIST2
-rw-r--r--www/phraseanet-indexer/distinfo7
-rw-r--r--www/phraseanet-indexer/patches/patch-aa28
-rw-r--r--www/phraseanet-indexer/patches/patch-ab16
6 files changed, 79 insertions, 0 deletions
diff --git a/www/phraseanet-indexer/DESCR b/www/phraseanet-indexer/DESCR
new file mode 100644
index 00000000000..ca9289cda6b
--- /dev/null
+++ b/www/phraseanet-indexer/DESCR
@@ -0,0 +1 @@
+Indexer for Phraseanet, a digital asset management application
diff --git a/www/phraseanet-indexer/Makefile b/www/phraseanet-indexer/Makefile
new file mode 100644
index 00000000000..3d517c53395
--- /dev/null
+++ b/www/phraseanet-indexer/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/04 08:02:19 manu Exp $
+#
+
+.include "../../www/phraseanet/Makefile.common"
+PKGNAME= phraseanet-indexer-${VERS}
+
+PKG_DESTDIR_SUPPORT= user-destdir
+EXTRACT_ELEMENTS= ${DISTNAME}/bin/src/phraseanet_indexer
+WRKSRC= ${WRKDIR}/${DISTNAME}/bin/src/phraseanet_indexer
+USE_LANGUAGES= c c++
+USE_TOOLS+= aclocal autoconf automake
+GNU_CONFIGURE= yes
+CFLAGS+= -I${BUILDLINK_PREFIX.libxml2}/include/libxml2
+
+
+pre-configure:
+ cd ${WRKSRC} && aclocal && automake -a && autoconf
+
+.include "../../mk/mysql.buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../textproc/expat/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+
+# url2pkg-marker (please do not remove this line.)
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/phraseanet-indexer/PLIST b/www/phraseanet-indexer/PLIST
new file mode 100644
index 00000000000..ba7584624c9
--- /dev/null
+++ b/www/phraseanet-indexer/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/04 08:02:19 manu Exp $
+bin/phraseanet_indexer
diff --git a/www/phraseanet-indexer/distinfo b/www/phraseanet-indexer/distinfo
new file mode 100644
index 00000000000..1753fdffffb
--- /dev/null
+++ b/www/phraseanet-indexer/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/10/04 08:02:19 manu Exp $
+
+SHA1 (phraseanet-v3.1.4-linux.tar.gz) = 46e423c87b4ba74a24ff8ebc9214c83ece1ec628
+RMD160 (phraseanet-v3.1.4-linux.tar.gz) = 3a2389b8effd0e6882f5d98eb70fe8fb55989114
+Size (phraseanet-v3.1.4-linux.tar.gz) = 73712035 bytes
+SHA1 (patch-aa) = 26a1bdff1c59f74c7ec074ba4fb935ec965c4b00
+SHA1 (patch-ab) = 4a5057abfb73dde38997cf2cbea2dc05aa5a9c2f
diff --git a/www/phraseanet-indexer/patches/patch-aa b/www/phraseanet-indexer/patches/patch-aa
new file mode 100644
index 00000000000..e5fa2aea33b
--- /dev/null
+++ b/www/phraseanet-indexer/patches/patch-aa
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1.1.1 2011/10/04 08:02:19 manu Exp $
+
+Look for MySQL in $PREFIX
+
+--- configure.ac.orig 2011-08-11 13:53:57.000000000 +0200
++++ configure.ac 2011-08-11 13:54:26.000000000 +0200
+@@ -19,9 +19,9 @@
+ XTRAINCPATHS="-I/usr/include/libxml2/"
+
+ # Checks for MySQL lib
+ AC_MSG_CHECKING([MySQL client library])
+-for i in / /usr /usr/local /opt/local; do
++for i in ${PREFIX}; do
+ if test -r $i/lib/libmysqlclient.a; then
+ MYSQL_LIBDIR=$i/lib/
+ elif test -r $i/lib/mysql/libmysqlclient.a; then
+ MYSQL_LIBDIR=$i/lib/mysql/
+@@ -38,9 +38,9 @@
+
+
+ # Checks for MySQL headers.
+ AC_MSG_CHECKING([MySQL headers])
+-for i in / /usr /usr/local /opt/local; do
++for i in ${PREFIX}; do
+ if test -r $i/include/mysql.h; then
+ MYSQL_HEADERDIR=$i/include/
+ elif test -r $i/include/mysql/mysql.h; then
+ MYSQL_HEADERDIR=$i/include/mysql/
diff --git a/www/phraseanet-indexer/patches/patch-ab b/www/phraseanet-indexer/patches/patch-ab
new file mode 100644
index 00000000000..e13be70e0c9
--- /dev/null
+++ b/www/phraseanet-indexer/patches/patch-ab
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1.1.1 2011/10/04 08:02:19 manu Exp $
+
+Make sure time_t is defined, since <sys/timeb.h> uses it.
+
+--- src/phrasea_clock_t.h.orig 2011-08-11 17:00:07.000000000 +0200
++++ src/phrasea_clock_t.h 2011-08-11 17:00:18.000000000 +0200
+@@ -1,8 +1,9 @@
+ /* dfinition portable des structures systme dnomination variable */
+ #ifndef PHRASEA_CLOCK_T__INCLUDED
+ #define PHRASEA_CLOCK_T__INCLUDED 1
+
++#include <sys/types.h>
+ #include <sys/timeb.h>
+
+ /*
+ #ifndef PHRASEA_TIMEB