svn commit: r376594 - in head/devel: . ua_parser-core
Dmitry Sivachenko
demon at FreeBSD.org
Fri Jan 9 11:45:54 UTC 2015
Author: demon
Date: Fri Jan 9 11:45:51 2015
New Revision: 376594
URL: https://svnweb.freebsd.org/changeset/ports/376594
QAT: https://qat.redports.org/buildarchive/r376594/
Log:
This port contains the core of BrowserScope's original user agent string
parser: data collected over the years by Steve Souders and numerous other
contributors, extracted into a separate YAML file so as to be reusable as is
by implementations in any programming language.
This port itself does not contain a parser: only the necessary data to build
one. There exists a ref implementation, along with multiple, production-ready
implementations in various programming languages.
WWW: https://github.com/ua-parser/uap-core
Added:
head/devel/ua_parser-core/
head/devel/ua_parser-core/Makefile (contents, props changed)
head/devel/ua_parser-core/distinfo (contents, props changed)
head/devel/ua_parser-core/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Fri Jan 9 11:11:59 2015 (r376593)
+++ head/devel/Makefile Fri Jan 9 11:45:51 2015 (r376594)
@@ -4810,6 +4810,7 @@
SUBDIR += tradcpp
SUBDIR += trio
SUBDIR += truc
+ SUBDIR += ua_parser-core
SUBDIR += uatraits
SUBDIR += uboot-mkimage
SUBDIR += uclmmbase
Added: head/devel/ua_parser-core/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ua_parser-core/Makefile Fri Jan 9 11:45:51 2015 (r376594)
@@ -0,0 +1,28 @@
+# Created by: Dmitry Sivachenko <demon at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= ua_parser
+PORTVERSION= 0.4.0
+CATEGORIES= devel
+PKGNAMESUFFIX= -core
+DISTNAME= ${PORTNAME:S/_/-/}-${PORTVERSION}
+
+MAINTAINER= demon at FreeBSD.org
+COMMENT= Regex file for building language ports of Browserscope's UA parser
+
+LICENSE= APACHE20
+
+USE_GITHUB= yes
+GH_ACCOUNT= ua-parser
+GH_PROJECT= uap-core
+GH_COMMIT= c92cdb5
+GH_TAGNAME= ${GH_COMMIT}
+
+PLIST_FILES= %%DATADIR%%/regexes.yaml
+NO_BUILD= yes
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/regexes.yaml ${STAGEDIR}${DATADIR}
+
+.include <bsd.port.mk>
Added: head/devel/ua_parser-core/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ua_parser-core/distinfo Fri Jan 9 11:45:51 2015 (r376594)
@@ -0,0 +1,2 @@
+SHA256 (ua-parser-0.4.0.tar.gz) = 800dc6873986a7c0b20f9771db6058a98508aba1315679a2a938402756b79d35
+SIZE (ua-parser-0.4.0.tar.gz) = 398246
Added: head/devel/ua_parser-core/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ua_parser-core/pkg-descr Fri Jan 9 11:45:51 2015 (r376594)
@@ -0,0 +1,10 @@
+This port contains the core of BrowserScope's original user agent string
+parser: data collected over the years by Steve Souders and numerous other
+contributors, extracted into a separate YAML file so as to be reusable as is
+by implementations in any programming language.
+
+This port itself does not contain a parser: only the necessary data to build
+one. There exists a ref implementation, along with multiple, production-ready
+implementations in various programming languages.
+
+WWW: https://github.com/ua-parser/uap-core
More information about the svn-ports-head
mailing list