BSD Ports

devel/libversion 3.0.4 FreeBSD

Advanced version string comparison library

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
MIT
Categories
devel
Package size
26.3 KiB, 75.1 KiB installed

Description

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.

In the other systems

SystemPortVersion
FreeBSDdevel/libversion3.0.4
DragonFlydevel/libversion3.0.3

Install

Binary package:

pkg install libversion

From the ports tree:

cd /usr/ports/devel/libversion/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	libversion>0:devel/libversion
LIB_DEPENDS=	libversion.so:devel/libversion

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.0.43.0.43.0.23.0.33.0.4
FreeBSD:14:quarterly3.0.43.0.4n/a3.0.33.0.4
FreeBSD:15:latest3.0.43.0.4n/a3.0.33.0.3
FreeBSD:15:quarterly3.0.43.0.4n/an/an/a
FreeBSD:16:latest3.0.43.0.4n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 15
Required by 1

Configuration

Options name: devel_libversion

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
cmake compiler:c++11-lang
Service scripts
none

Files

pkg-plist 12
  • bin/version_compare
  • bin/version_sort
  • include/libversion/config.h
  • include/libversion/export.h
  • include/libversion/version.h
  • lib/cmake/libversion/libversionConfig-.cmake
  • lib/cmake/libversion/libversionConfig.cmake
  • lib/libversion.a
  • lib/libversion.so
  • lib/libversion.so.1
  • lib/libversion.so.1.0.0
  • libdata/pkgconfig/libversion.pc
distinfo 1
FileSizeSHA256
repology-libversion-3.0.4_GH0.tar.gz2340848c2a4a98b6f220dedd535979f1e9ab83f9bf869e06c0f5e7bb1be6d2e662fee

Commit history 0

No commits in the history this site was built from.