Skip to content

Commit

Permalink
devel/luv: Switch to upstream release archive
Browse files Browse the repository at this point in the history
* 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)
  • Loading branch information
Daniel Engberg authored and Daniel Engberg committed Jan 13, 2024
1 parent 11e18f5 commit ef80263
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
14 changes: 2 additions & 12 deletions 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
Expand All @@ -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
Expand All @@ -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>
8 changes: 3 additions & 5 deletions 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

0 comments on commit ef80263

Please sign in to comment.