Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Feb 2018 11:34:33 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r461385 - in head/devel/lua-sysctl: . files
Message-ID:  <201802101134.w1ABYXtE042002@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sat Feb 10 11:34:32 2018
New Revision: 461385
URL: https://svnweb.freebsd.org/changeset/ports/461385

Log:
  Update to upstream version 2.0, new maintainer
  
  Detailed log:
  - Update to 2.0
  - New maintainer: Zsolt Udvari <uzsolt@uzsolt.hu>
  - Use pkg-plist file
  - Include PORTDOCS and PORTEXAMPLES
  - Update WWW in pkg-descr
  - Pet portlint
  
  PR:		225225
  Submitted by:	uzsolt@uzsolt.hu

Added:
  head/devel/lua-sysctl/pkg-plist   (contents, props changed)
Deleted:
  head/devel/lua-sysctl/files/
Modified:
  head/devel/lua-sysctl/Makefile
  head/devel/lua-sysctl/distinfo
  head/devel/lua-sysctl/pkg-descr

Modified: head/devel/lua-sysctl/Makefile
==============================================================================
--- head/devel/lua-sysctl/Makefile	Sat Feb 10 11:30:19 2018	(r461384)
+++ head/devel/lua-sysctl/Makefile	Sat Feb 10 11:34:32 2018	(r461385)
@@ -1,32 +1,33 @@
 # $FreeBSD$
 
 PORTNAME=	sysctl
-PORTVERSION=	1.1
+PORTVERSION=	2.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
 PKGNAMEPREFIX=	${LUA_PKGNAMEPREFIX}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	uzsolt@uzsolt.hu
 COMMENT=	Small sysctl(3) interface for lua
 
 LICENSE=	BSD2CLAUSE
 
 BROKEN_FreeBSD_10=	does not build (error: use of undeclared identifier 'CTLTYPE_S8')
 
+USES=		pkgconfig lua
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	kAworu
 GH_PROJECT=	lua-${PORTNAME}
 
-USES=		pkgconfig lua
-PLIST_FILES=	%%LUA_MODSHAREDIR%%/sysctl.lua \
-		%%LUA_MODLIBDIR%%/sysctl/core.so
-
 post-patch:
 	@${REINPLACE_CMD} -e "s/5.1/${LUA_VER}/g" ${WRKSRC}/Makefile
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}/sysctl ${STAGEDIR}${LUA_MODSHAREDIR}
-	${INSTALL_SCRIPT} ${WRKSRC}/sysctl.lua ${STAGEDIR}${LUA_MODSHAREDIR}/sysctl.lua
-	${INSTALL_LIB} ${WRKSRC}/build/core.so ${STAGEDIR}${LUA_MODLIBDIR}/sysctl/core.so
+	@${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR} \
+		${STAGEDIR}${EXAMPLESDIR} \
+		${STAGEDIR}${DOCSDIR}/${PKGNAMEPREFIX}${PORTNAME}
+	${INSTALL_DATA} ${WRKSRC}/misc/*.lua ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/${PKGNAMEPREFIX}${PORTNAME}
+	${INSTALL_LIB} ${WRKSRC}/build/sysctl.so ${STAGEDIR}${LUA_MODLIBDIR}/sysctl.so
 
 .include <bsd.port.mk>

Modified: head/devel/lua-sysctl/distinfo
==============================================================================
--- head/devel/lua-sysctl/distinfo	Sat Feb 10 11:30:19 2018	(r461384)
+++ head/devel/lua-sysctl/distinfo	Sat Feb 10 11:34:32 2018	(r461385)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1482933728
-SHA256 (kAworu-lua-sysctl-v1.1_GH0.tar.gz) = ea250dc17918c5e76b8fc8053528700984aded784d92b158bca13e1295d77f12
-SIZE (kAworu-lua-sysctl-v1.1_GH0.tar.gz) = 8003
+TIMESTAMP = 1516034617
+SHA256 (kAworu-lua-sysctl-v2.0_GH0.tar.gz) = 2d5f9720f0f3c56994ed7537564e6ad33c3e305d39da55cd485bf7f335d6c075
+SIZE (kAworu-lua-sysctl-v2.0_GH0.tar.gz) = 7900

Modified: head/devel/lua-sysctl/pkg-descr
==============================================================================
--- head/devel/lua-sysctl/pkg-descr	Sat Feb 10 11:30:19 2018	(r461384)
+++ head/devel/lua-sysctl/pkg-descr	Sat Feb 10 11:34:32 2018	(r461385)
@@ -1,3 +1,3 @@
 A small sysctl(3) interface for lua
 
-WWW: http://hg.kaworu.ch/lua-sysctl
+WWW: https://github.com/kAworu/lua-sysctl

Added: head/devel/lua-sysctl/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/lua-sysctl/pkg-plist	Sat Feb 10 11:34:32 2018	(r461385)
@@ -0,0 +1,4 @@
+%%PORTDOCS%%%%DOCSDIR%%/lua52-sysctl/README.md
+%%LUA_MODLIBDIR%%/sysctl.so
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/i.lua
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/test-all.lua



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802101134.w1ABYXtE042002>