git: 3907eefc3849 - main - devel/sv: Semantic versioning in c99
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Feb 2025 14:26:43 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3907eefc3849f9a83befb2fde2e8ad89b4ee4cd8
commit 3907eefc3849f9a83befb2fde2e8ad89b4ee4cd8
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-02-14 14:20:53 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-02-18 14:16:19 +0000
devel/sv: Semantic versioning in c99
This is free and unencumbered software released into the public domain.
This package installs a C language library implementing semantic
versioning for the C language.
WWW: https://github.com/uael/sv/
This port also builds with cmake, but as it is a prerequisite for an
upcoming port of the xmake build system, I did not want to make the
dependency chain longer than it needs to be.
PR: 284724
Co-authored-by: Huan Zhou <pericycle.cc@gmail.com>
---
devel/Makefile | 1 +
devel/sv/Makefile | 24 ++++++++++++++++++++++++
devel/sv/distinfo | 3 +++
devel/sv/pkg-descr | 3 +++
devel/sv/pkg-plist | 7 +++++++
5 files changed, 38 insertions(+)
diff --git a/devel/Makefile b/devel/Makefile
index fcaaa2d4ec7b..e0c600ee5805 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -8202,6 +8202,7 @@
SUBDIR += subversion-lts
SUBDIR += subversive
SUBDIR += sunpromake
+ SUBDIR += sv
SUBDIR += svk
SUBDIR += svn2git
SUBDIR += svn_load_dirs
diff --git a/devel/sv/Makefile b/devel/sv/Makefile
new file mode 100644
index 000000000000..98f2dfc64eee
--- /dev/null
+++ b/devel/sv/Makefile
@@ -0,0 +1,24 @@
+PORTNAME= sv
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.2
+CATEGORIES= devel
+
+MAINTAINER= fuz@FreeBSD.org
+COMMENT= Semantic versioning in c99
+
+LICENSE= UNLICENSE
+LICENSE_FILE= ${WRKSRC}/UNLICENSE
+
+USES= autoreconf libtool pathfix
+USE_GITHUB= yes
+GH_ACCOUNT= uael
+USE_LDCONFIG= yes
+
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+TEST_TARGET= check
+
+post-install:
+ ${RM} ${STAGEDIR}${PREFIX}/share/doc/libsv/UNLICENSE
+
+.include <bsd.port.mk>
diff --git a/devel/sv/distinfo b/devel/sv/distinfo
new file mode 100644
index 000000000000..b90b60c6c5d4
--- /dev/null
+++ b/devel/sv/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1739542628
+SHA256 (uael-sv-v1.2_GH0.tar.gz) = 003ca74f3485fd1a4ab809413b1765b91d4314355d244264c98546ad2556cc99
+SIZE (uael-sv-v1.2_GH0.tar.gz) = 26145
diff --git a/devel/sv/pkg-descr b/devel/sv/pkg-descr
new file mode 100644
index 000000000000..d301b2048386
--- /dev/null
+++ b/devel/sv/pkg-descr
@@ -0,0 +1,3 @@
+This is free and unencumbered software released into the public domain.
+This package installs a C language library implementing semantic
+versioning for the C language.
diff --git a/devel/sv/pkg-plist b/devel/sv/pkg-plist
new file mode 100644
index 000000000000..98b230b72959
--- /dev/null
+++ b/devel/sv/pkg-plist
@@ -0,0 +1,7 @@
+include/semver.h
+lib/libsv.a
+lib/libsv.so
+lib/libsv.so.1
+lib/libsv.so.1.0.0
+libdata/pkgconfig/libsv.pc
+share/doc/libsv/README.md