summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpi <pi@FreeBSD.org>2016-07-08 17:23:19 +0000
committerpi <pi@FreeBSD.org>2016-07-08 17:23:19 +0000
commitcd541cea397a9a488d30ecf4d007efb0b545242b (patch)
tree46e317d9615ab71ac61682f2023df5accfd10d7b
parent69fac891463cc92416490ba4378850afd933a9a5 (diff)
downloadFreeBSD-ports-cd541cea397a9a488d30ecf4d007efb0b545242b.zip
FreeBSD-ports-cd541cea397a9a488d30ecf4d007efb0b545242b.tar.gz
New port: devel/marisa-trie
Matching Algorithm with Recursively Implemented StorAge (MARISA) is a static and space-efficient trie data structure. And libmarisa is a C++ library to provide an implementation of MARISA. Also, the package of libmarisa contains a set of command line tools for building and operating a MARISA-based dictionary. WWW: https://github.com/s-yata/marisa-trie PR: 210780 Submitted by: Iblis Lin <iblis@hs.ntnu.edu.tw>
-rw-r--r--devel/Makefile1
-rw-r--r--devel/marisa-trie/Makefile55
-rw-r--r--devel/marisa-trie/distinfo3
-rw-r--r--devel/marisa-trie/files/patch-Makefile.am11
-rw-r--r--devel/marisa-trie/pkg-descr7
-rw-r--r--devel/marisa-trie/pkg-plist24
6 files changed, 101 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 712c46c..c4df251 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1465,6 +1465,7 @@
SUBDIR += magit
SUBDIR += make++
SUBDIR += makedepend
+ SUBDIR += marisa-trie
SUBDIR += mate-common
SUBDIR += matreshka
SUBDIR += maven-wrapper
diff --git a/devel/marisa-trie/Makefile b/devel/marisa-trie/Makefile
new file mode 100644
index 0000000..e903a88
--- /dev/null
+++ b/devel/marisa-trie/Makefile
@@ -0,0 +1,55 @@
+# Created by: Iblis Lin <iblis@hs.ntnu.edu.tw>
+# $FreeBSD$
+
+PORTNAME= marisa-tire
+PORTVERSION= 0.24
+CATEGORIES= devel
+MASTER_SITES= GH
+
+MAINTAINER= iblis@hs.ntnu.edu.tw
+COMMENT= MARISA: Matching Algorithm with Recursively Implemented StorAge
+
+LICENSE= BSD2CLAUSE LGPL21+
+LICENSE_COMB= dual
+LICENSE_FILE= ${WRKSRC}/COPYING.md
+
+USE_GITHUB= yes
+GH_ACCOUNT= s-yata
+GH_PROJECT= marisa-trie
+GH_TAGNAME= 961ed33
+
+USES= autoreconf libtool:build
+USE_LDCONFIG= yes
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --with-pkg-config-dir=${PREFIX}/libdata/pkgconfig
+
+INSTALL_TARGET= install-strip
+
+OPTIONS_DEFINE= SSE2 SSE3 SSSE3 SSE4 SSE41 SSE42 SSE4A POPCNT
+
+SSE2_DESC= Support for SSE2
+SSE2_CONFIGURE_ENABLE= sse2
+
+SSE3_DESC= Support for SSE3
+SSE3_CONFIGURE_ENABLE= sse3
+
+SSSE3_DESC= Support for SSSE3
+SSSE3_CONFIGURE_ENABLE= sse3
+
+SSE4_DESC= Support for SSE4
+SSE4_CONFIGURE_ENABLE= sse4
+
+SSE41_DESC= Support for SSE4.1
+SSE41_CONFIGURE_ENABLE= sse4.1
+
+SSE42_DESC= Support for SSE4.2
+SSE42_CONFIGURE_ENABLE= sse4.2
+
+SSE4A_DESC= Support for SSE4a
+SSE4A_CONFIGURE_ENABLE= sse4a
+
+POPCNT_DESC= Support for POPCNT
+POPCNT_CONFIGURE_ENABLE= POPCNT
+
+.include <bsd.port.mk>
diff --git a/devel/marisa-trie/distinfo b/devel/marisa-trie/distinfo
new file mode 100644
index 0000000..19c745c
--- /dev/null
+++ b/devel/marisa-trie/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1467536118
+SHA256 (s-yata-marisa-trie-0.24-961ed33_GH0.tar.gz) = f9e48330b2f58df68fbb02adff70cdcb87f7cdfa401afb7afcf104ee117aeb94
+SIZE (s-yata-marisa-trie-0.24-961ed33_GH0.tar.gz) = 167449
diff --git a/devel/marisa-trie/files/patch-Makefile.am b/devel/marisa-trie/files/patch-Makefile.am
new file mode 100644
index 0000000..df60ebf
--- /dev/null
+++ b/devel/marisa-trie/files/patch-Makefile.am
@@ -0,0 +1,11 @@
+--- Makefile.am.orig 2016-07-03 09:34:09 UTC
++++ Makefile.am
+@@ -2,7 +2,7 @@ ACLOCAL_AMFLAGS = -I m4
+
+ SUBDIRS = include lib tools tests
+
+-pkgconfigdir = ${libdir}/pkgconfig
++pkgconfigdir = ${prefix}/libdata/pkgconfig
+ pkgconfig_DATA = marisa.pc
+
+ EXTRA_DIST = \
diff --git a/devel/marisa-trie/pkg-descr b/devel/marisa-trie/pkg-descr
new file mode 100644
index 0000000..e8e87fe
--- /dev/null
+++ b/devel/marisa-trie/pkg-descr
@@ -0,0 +1,7 @@
+Matching Algorithm with Recursively Implemented StorAge (MARISA)
+is a static and space-efficient trie data structure. And libmarisa
+is a C++ library to provide an implementation of MARISA. Also, the
+package of libmarisa contains a set of command line tools for
+building and operating a MARISA-based dictionary.
+
+WWW: https://github.com/s-yata/marisa-trie
diff --git a/devel/marisa-trie/pkg-plist b/devel/marisa-trie/pkg-plist
new file mode 100644
index 0000000..8bde20e
--- /dev/null
+++ b/devel/marisa-trie/pkg-plist
@@ -0,0 +1,24 @@
+bin/marisa-benchmark
+bin/marisa-build
+bin/marisa-common-prefix-search
+bin/marisa-dump
+bin/marisa-lookup
+bin/marisa-predictive-search
+bin/marisa-reverse-lookup
+include/marisa.h
+include/marisa/agent.h
+include/marisa/base.h
+include/marisa/exception.h
+include/marisa/iostream.h
+include/marisa/key.h
+include/marisa/keyset.h
+include/marisa/query.h
+include/marisa/scoped-array.h
+include/marisa/scoped-ptr.h
+include/marisa/stdio.h
+include/marisa/trie.h
+lib/libmarisa.a
+lib/libmarisa.so
+lib/libmarisa.so.0
+lib/libmarisa.so.0.0.0
+libdata/pkgconfig/marisa.pc
OpenPOWER on IntegriCloud