Add lua-sysctl, a small sysctl(3) interface for lua programming language

This commit is contained in:
Renato Botelho 2009-05-08 15:19:56 +00:00
parent 0f666079ef
commit d6500f93f1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=233419
4 changed files with 33 additions and 0 deletions

View file

@ -783,6 +783,7 @@
SUBDIR += lua-gettext
SUBDIR += lua-posix
SUBDIR += lua-pty
SUBDIR += lua-sysctl
SUBDIR += lua50-app
SUBDIR += lua50-compat51
SUBDIR += lua50-dfui

26
devel/lua-sysctl/Makefile Normal file
View file

@ -0,0 +1,26 @@
# New ports collection makefile for: lua-sysctl
# Date created: 2009-05-08
# Whom: Renato Botelho <garga@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= lua-sysctl
PORTVERSION= 0.1
CATEGORIES= devel
MASTER_SITES= http://files.kaworu.ch/
MAINTAINER= garga@FreeBSD.org
COMMENT= A small sysctl(3) interface for lua
USE_LUA= yes
PLIST_FILES= lib/lua-sysctl.so
post-patch:
@${REINPLACE_CMD} -E '/^(C|LD)FLAGS/ s/=/+=/g' \
${WRKSRC}/Makefile
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/sysctl/core.so ${PREFIX}/lib/lua-sysctl.so
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (lua-sysctl-0.1.tar.gz) = 676d382fd90baecdfbf5b15bc5f750e0
SHA256 (lua-sysctl-0.1.tar.gz) = 8dd4ac60ec0004234168bcc5527bbf2096549f1c550f61ef4a8b9a99c8e932c7
SIZE (lua-sysctl-0.1.tar.gz) = 14391

View file

@ -0,0 +1,3 @@
A small sysctl(3) interface for lua
WWW: http://hg.kaworu.ch/lua-sysctl