Commit a645bf5b authored by amdmi3's avatar amdmi3
Browse files

- 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
parent 17a4dcba
......@@ -1495,6 +1495,7 @@
SUBDIR += libvshadow
SUBDIR += libvslvm
SUBDIR += libvterm
SUBDIR += libvversion
SUBDIR += libwfut
SUBDIR += libx86
SUBDIR += libxalloc
......
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= libversion
PORTVERSION= 1.1.0
CATEGORIES= devel
MAINTAINER= amdmi3@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>
TIMESTAMP = 1490887954
SHA256 (repology-libversion-1.1.0_GH0.tar.gz) = ebba17efd4371b419c83cd412e29d088691cd99755c27b4ddde7cb855cd42517
SIZE (repology-libversion-1.1.0_GH0.tar.gz) = 8633
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
bin/version_compare
include/libversion/compare.h
lib/libversion.a
libdata/pkgconfig/libversion.pc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment