git: ef802637ea6c - main - devel/luv: Switch to upstream release archive
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 13 Jan 2024 08:25:09 UTC
The branch main has been updated by diizzy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ef802637ea6ceebe9464fdca7e42b48c093943b6
commit ef802637ea6ceebe9464fdca7e42b48c093943b6
Author: Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-01-13 08:13:04 +0000
Commit: Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-01-13 08:24:29 +0000
devel/luv: Switch to upstream release archive
* Use upstream release archive as recommened by Porters Handbook and
also simplifies Makefile
* Remove EXAMPLES options as example files are not included
PR: 276140
Reviewed by: adamw (maintainer)
---
devel/luv/Makefile | 14 ++------------
devel/luv/distinfo | 8 +++-----
2 files changed, 5 insertions(+), 17 deletions(-)
diff --git a/devel/luv/Makefile b/devel/luv/Makefile
index 758384e29854..844fd6cf94f0 100644
--- a/devel/luv/Makefile
+++ b/devel/luv/Makefile
@@ -1,6 +1,7 @@
PORTNAME= luv
DISTVERSION= 1.47.0-0
CATEGORIES= devel
+MASTER_SITES= https://github.com/luvit/${PORTNAME}/releases/download/${DISTVERSION}/
MAINTAINER= adamw@FreeBSD.org
COMMENT= libuv bindings for lua
@@ -13,13 +14,8 @@ LIB_DEPENDS= libuv.so:devel/libuv
USES= cmake luajit
USE_LDCONFIG= yes
-USE_GITHUB= yes
-GH_ACCOUNT= luvit keplerproject:compat
-GH_PROJECT= luv lua-compat-5.3:compat
-GH_TAGNAME= e245d3a:compat
-GH_SUBDIR= deps/lua-compat-5.3:compat
-OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_DEFINE= DOCS
CMAKE_ON= BUILD_SHARED_LIBS WITH_SHARED_LIBUV
CMAKE_OFF= BUILD_MODULE
@@ -38,14 +34,8 @@ PLIST_FILES= lib/libluv.so \
PORTDOCS= docs.md
-PORTEXAMPLES= *
-
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_MAN} ${WRKSRC}/docs.md ${STAGEDIR}${DOCSDIR}
-post-install-EXAMPLES-on:
- ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
-
.include <bsd.port.mk>
diff --git a/devel/luv/distinfo b/devel/luv/distinfo
index ac5d19b379b7..159966acd563 100644
--- a/devel/luv/distinfo
+++ b/devel/luv/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1704513022
-SHA256 (luvit-luv-1.47.0-0_GH0.tar.gz) = f9911d9d33808514e9ddc1e74667a57c427efa14fefecfa5fabe80ce95a3150a
-SIZE (luvit-luv-1.47.0-0_GH0.tar.gz) = 133466
-SHA256 (keplerproject-lua-compat-5.3-e245d3a_GH0.tar.gz) = a735f9f1def98ba09afb60289b0ae0b89094a9428d2324dfd4e35e2f092bf3ea
-SIZE (keplerproject-lua-compat-5.3-e245d3a_GH0.tar.gz) = 53702
+TIMESTAMP = 1704526500
+SHA256 (luv-1.47.0-0.tar.gz) = 2b5c460fad3b86ea7cfbfaa8bb284506e8f8a354bdd735bde5d664a7b2b1f8bd
+SIZE (luv-1.47.0-0.tar.gz) = 1479479