1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

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)
This commit is contained in:
Daniel Engberg 2024-01-13 09:13:04 +01:00
parent 11e18f525a
commit ef802637ea
2 changed files with 5 additions and 17 deletions

View File

@ -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>

View File

@ -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