8a502cb2d4
Simplify some ports where DragonFlyBSD no longer needs to be special-cased. Submitted by: rene Reviewed by: bapt, jbeich Differential Revision: https://reviews.freebsd.org/D17724
33 lines
799 B
Makefile
33 lines
799 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= sysctl
|
|
PORTVERSION= 2.0
|
|
DISTVERSIONPREFIX= v
|
|
CATEGORIES= devel
|
|
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= uzsolt@uzsolt.hu
|
|
COMMENT= Small sysctl(3) interface for lua
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
USES= pkgconfig lua
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= kAworu
|
|
GH_PROJECT= lua-${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s/5.1/${LUA_VER}/g" ${WRKSRC}/Makefile
|
|
|
|
do-install:
|
|
@${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>
|