1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/devel/lua-sysctl/Makefile
Baptiste Daroussin dac273fd32 Cleanup plist
2014-12-20 18:06:21 +00:00

31 lines
734 B
Makefile

# $FreeBSD$
PORTNAME= sysctl
PORTVERSION= 1.0
PORTREVISION= 1
CATEGORIES= devel
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= lua@FreeBSD.org
COMMENT= Small sysctl(3) interface for lua
USE_GITHUB= yes
USES= pkgconfig lua
PLIST_FILES= %%LUA_MODSHAREDIR%%/sysctl.lua \
%%LUA_MODLIBDIR%%/sysctl/core.so
GH_ACCOUNT= kAworu
GH_PROJECT= lua-${PORTNAME}
GH_COMMIT= 345dc69
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_SCRIPT} ${WRKSRC}/build/core.so ${STAGEDIR}${LUA_MODLIBDIR}/sysctl/core.so
.include <bsd.port.mk>