1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-31 10:46:16 +00:00
freebsd-ports/dns/luaunbound/Makefile
Thomas Morper ff122c2804 dns/luaunbound: fix pkg-descr and WWW link
Where copied from luasec.

PR:		268381
Reported by:	thomas@beingboiled.info (maintainer)
2022-12-15 18:16:51 +01:00

30 lines
705 B
Makefile

PORTNAME= luaunbound
DISTVERSION= 1.0.0
PORTREVISION= 1
CATEGORIES= dns
MASTER_SITES= https://code.zash.se/dl/luaunbound/
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
MAINTAINER= thomas@beingboiled.info
COMMENT= Lua binding to libunbound
WWW= https://www.zash.se/luaunbound.html
LICENSE= MIT
LIB_DEPENDS= libunbound.so:dns/unbound
USES= lua:module
CFLAGS+= -fPIC -I${LUA_INCDIR} -I${LOCALBASE}/include
LDFLAGS+= -shared -L${LUA_LIBDIR} -L${LOCALBASE}/lib -llua-${LUA_VER} -lunbound
do-build:
cd ${WRKSRC} ;\
${CC} ${CFLAGS} ${LDFLAGS} -o lunbound.so lunbound.c
do-install:
${MKDIR} ${STAGEDIR}/${LUA_MODLIBDIR}
${INSTALL_LIB} ${WRKSRC}/lunbound.so ${STAGEDIR}/${LUA_MODLIBDIR}
.include <bsd.port.mk>