Date: Tue, 13 Nov 2012 10:21:49 +0000 (UTC) From: Dmitry Sivachenko <demon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r307368 - in head/devel: . uatraits uatraits/files Message-ID: <201211131021.qADALn3B030056@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: demon Date: Tue Nov 13 10:21:49 2012 New Revision: 307368 URL: http://svnweb.freebsd.org/changeset/ports/307368 Log: New port: uatraits. A library for User-Agent recognition. Includes C++, Java, Node.js, Perl and Python bindings. Feature safe: yes Added: head/devel/uatraits/ head/devel/uatraits/Makefile (contents, props changed) head/devel/uatraits/distinfo (contents, props changed) head/devel/uatraits/files/ head/devel/uatraits/files/patch-python-dict_wrapper.hpp (contents, props changed) head/devel/uatraits/pkg-descr (contents, props changed) head/devel/uatraits/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Nov 13 09:19:03 2012 (r307367) +++ head/devel/Makefile Tue Nov 13 10:21:49 2012 (r307368) @@ -4148,6 +4148,7 @@ SUBDIR += trio SUBDIR += truc SUBDIR += u-boot + SUBDIR += uatraits SUBDIR += uclmmbase SUBDIR += ucommon SUBDIR += ucpp Added: head/devel/uatraits/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/uatraits/Makefile Tue Nov 13 10:21:49 2012 (r307368) @@ -0,0 +1,39 @@ +# Created by: Dmitry Sivachenko <demon@FreeBSD.org> +# $FreeBSD$ + +PORTNAME= uatraits +PORTVERSION= 20121112 +CATEGORIES= devel www +MASTER_SITES= http://people.freebsd.org/~demon/ + +MAINTAINER= demon@FreeBSD.org +COMMENT= User-Agent detection library + +BUILD_DEPENDS= autoconf:${PORTSDIR}/devel/autoconf \ + automake:${PORTSDIR}/devel/automake \ + libtool:${PORTSDIR}/devel/libtool +LIB_DEPENDS= boost_python:${PORTSDIR}/devel/boost-python-libs \ + pcre:${PORTSDIR}/devel/pcre \ + xml2:${PORTSDIR}/textproc/libxml2 + +GNU_CONFIGURE= yes +USE_PYTHON= yes +USE_OPENSSL= yes +USE_LDCONFIG= yes + +.include <bsd.port.pre.mk> + +PYLIBS!= ${PYTHON_CMD}-config --libs +CONFIGURE_ARGS+= --with-boost-prefix=${LOCALBASE} \ + --with-pcre-prefix=${LOCALBASE} \ + --enable-python --disable-perl --disable-tests \ + --disable-java --disable-nodejs +CPPFLAGS+= "-I${LOCALBASE}/include" +CONFIGURE_ENV+= crypto_CFLAGS="-I${OPENSSLINC}" \ + crypto_LIBS="-L${OPENSSLLIB} -lcrypto" \ + PYTHON_LIBS="${PYLIBS} -L${LOCALBASE}/lib" + +pre-configure: + cd ${WRKSRC} && ./autogen.sh + +.include <bsd.port.post.mk> Added: head/devel/uatraits/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/uatraits/distinfo Tue Nov 13 10:21:49 2012 (r307368) @@ -0,0 +1,2 @@ +SHA256 (uatraits-20121112.tar.gz) = 610565c509513c48c650de6f310c9265a9d6f9413d53c1739a902f91657ecfb0 +SIZE (uatraits-20121112.tar.gz) = 1684679 Added: head/devel/uatraits/files/patch-python-dict_wrapper.hpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/uatraits/files/patch-python-dict_wrapper.hpp Tue Nov 13 10:21:49 2012 (r307368) @@ -0,0 +1,10 @@ +--- python/dict_wrapper.hpp.orig 2012-11-12 17:57:40.000000000 +0400 ++++ python/dict_wrapper.hpp 2012-11-12 18:32:21.000000000 +0400 +@@ -18,7 +18,6 @@ + #ifndef UATRAITS_PYTHON_DICT_WRAPPER_HPP_INCLUDED + #define UATRAITS_PYTHON_DICT_WRAPPER_HPP_INCLUDED + +-#include <string> + #include <boost/python.hpp> + + #include "uatraits/config.hpp" Added: head/devel/uatraits/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/uatraits/pkg-descr Tue Nov 13 10:21:49 2012 (r307368) @@ -0,0 +1,4 @@ +A library for User-Agent recognition. Includes C++, Java, Node.js, +Perl and Python bindings. + +WWW: https://github.com/lmovsesjan/uatraits Added: head/devel/uatraits/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/uatraits/pkg-plist Tue Nov 13 10:21:49 2012 (r307368) @@ -0,0 +1,48 @@ +bin/check-uatraits +include/uatraits/config.hpp +include/uatraits/details/branch.hpp +include/uatraits/details/char_traits.hpp +include/uatraits/details/complex_definition.hpp +include/uatraits/details/definition.hpp +include/uatraits/details/detector_helper.hpp +include/uatraits/details/detector_impl.hpp +include/uatraits/details/functors.hpp +include/uatraits/details/hash_utils.hpp +include/uatraits/details/integer.hpp +include/uatraits/details/iterator.hpp +include/uatraits/details/macros.hpp +include/uatraits/details/pcre_utils.hpp +include/uatraits/details/range.hpp +include/uatraits/details/range_utils.hpp +include/uatraits/details/regex_definition.hpp +include/uatraits/details/regex_utils.hpp +include/uatraits/details/resource.hpp +include/uatraits/details/static_assert.hpp +include/uatraits/details/static_definition.hpp +include/uatraits/details/string_definition.hpp +include/uatraits/details/string_match.hpp +include/uatraits/details/string_utils.hpp +include/uatraits/details/type_list.hpp +include/uatraits/details/type_traits.hpp +include/uatraits/details/xml_compat.hpp +include/uatraits/details/xml_elems.hpp +include/uatraits/details/xml_utils.hpp +include/uatraits/detector.hpp +include/uatraits/error.hpp +include/uatraits/forward.hpp +include/uatraits/shared.hpp +include/uatraits/shared_ptr.hpp +lib/libuatraits.a +lib/libuatraits.la +lib/libuatraits.so.0 +%%PYTHON_SITELIBDIR%%/uatraits.a +%%PYTHON_SITELIBDIR%%/uatraits.la +%%PYTHON_SITELIBDIR%%/uatraits.so +share/uatraits/browser.xml +share/uatraits/browser.xsd +share/uatraits/cover.xml +share/uatraits/profiles.xml +share/uatraits/tests.xml +@dirrm share/uatraits +@dirrm include/uatraits/details +@dirrm include/uatraits
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211131021.qADALn3B030056>