blob: 317fe72f5246d7cd5e3d538823d45f9317681f28 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# $FreeBSD$
PORTNAME= lua-sysctl
PORTVERSION= 1.0
CATEGORIES= devel
MAINTAINER= lua@FreeBSD.org
COMMENT= A small sysctl(3) interface for lua
USE_GITHUB= yes
USES= pkgconfig
USE_LUA= yes
PLIST_FILES= %%LUA_MODSHAREDIR%%/sysctl.lua \
%%LUA_MODLIBDIR%%/sysctl/core.so
PLIST_DIRS= %%LUA_MODLIBDIR%%/sysctl
GH_ACCOUNT= kAworu
GH_PROJECT= ${PORTNAME}
GH_COMMIT= 345dc69
.include <bsd.port.pre.mk>
do-install:
${MKDIR} ${LUA_MODLIBDIR}/sysctl
${INSTALL_SCRIPT} ${WRKSRC}/sysctl.lua ${LUA_MODSHAREDIR}/sysctl.lua
${INSTALL_SCRIPT} ${WRKSRC}/build/core.so ${LUA_MODLIBDIR}/sysctl/core.so
.include <bsd.port.post.mk>
|