svn commit: r439450 - in head/devel: . libversion
Dmitry Marakasov
amdmi3 at FreeBSD.org
Wed Apr 26 13:53:19 UTC 2017
Author: amdmi3
Date: Wed Apr 26 13:53:17 2017
New Revision: 439450
URL: https://svnweb.freebsd.org/changeset/ports/439450
Log:
- Add devel/libversion: advanced version string comparison library
Need to compare software, package or whatever versions? Comparing
1.0 and 1.1 could be easy, but are you ready for more complex cases
like 1.2-x.3~alpha4? libversion is, which is proven by using the
library in Repology project which relies on comparing software
version strings, even if they are written in different formats.
WWW: https://github.com/repology/libversion
Added:
head/devel/libversion/
head/devel/libversion/Makefile (contents, props changed)
head/devel/libversion/distinfo (contents, props changed)
head/devel/libversion/pkg-descr (contents, props changed)
head/devel/libversion/pkg-plist (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Wed Apr 26 13:36:34 2017 (r439449)
+++ head/devel/Makefile Wed Apr 26 13:53:17 2017 (r439450)
@@ -1495,6 +1495,7 @@
SUBDIR += libvshadow
SUBDIR += libvslvm
SUBDIR += libvterm
+ SUBDIR += libvversion
SUBDIR += libwfut
SUBDIR += libx86
SUBDIR += libxalloc
Added: head/devel/libversion/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libversion/Makefile Wed Apr 26 13:53:17 2017 (r439450)
@@ -0,0 +1,28 @@
+# Created by: Dmitry Marakasov <amdmi3 at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= libversion
+PORTVERSION= 1.1.0
+CATEGORIES= devel
+
+MAINTAINER= amdmi3 at FreeBSD.org
+COMMENT= Advanced version string comparison library
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USE_GITHUB= yes
+GH_ACCOUNT= repology
+
+USES= cmake
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for f in CHANGES.md README.md TODO.md doc/ALGORITHM.md
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}/
+.endfor
+
+.include <bsd.port.mk>
Added: head/devel/libversion/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libversion/distinfo Wed Apr 26 13:53:17 2017 (r439450)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1490887954
+SHA256 (repology-libversion-1.1.0_GH0.tar.gz) = ebba17efd4371b419c83cd412e29d088691cd99755c27b4ddde7cb855cd42517
+SIZE (repology-libversion-1.1.0_GH0.tar.gz) = 8633
Added: head/devel/libversion/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libversion/pkg-descr Wed Apr 26 13:53:17 2017 (r439450)
@@ -0,0 +1,7 @@
+Need to compare software, package or whatever versions? Comparing
+1.0 and 1.1 could be easy, but are you ready for more complex cases
+like 1.2-x.3~alpha4? libversion is, which is proven by using the
+library in Repology project which relies on comparing software
+version strings, even if they are written in different formats.
+
+WWW: https://github.com/repology/libversion
Added: head/devel/libversion/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libversion/pkg-plist Wed Apr 26 13:53:17 2017 (r439450)
@@ -0,0 +1,4 @@
+bin/version_compare
+include/libversion/compare.h
+lib/libversion.a
+libdata/pkgconfig/libversion.pc
More information about the svn-ports-head
mailing list