pkgsrc/textproc/lua-utf8/Makefile
nia 59d7fb0955 Add LUA_LINKER_MAGIC variable that centrally sets LDFLAGS on Darwin,
as should probably have been done to begin with. Remove per-package hacks.
2020-07-11 15:14:29 +00:00

26 lines
670 B
Makefile

# $NetBSD: Makefile,v 1.4 2020/07/11 15:14:30 nia Exp $
DISTNAME= lua-utf8-0.1.2
PKGNAME= ${DISTNAME:S/lua-/${LUA_PKGPREFIX}-/1}
CATEGORIES= textproc lua
MASTER_SITES= ${MASTER_SITE_GITHUB:=starwing/}
GITHUB_PROJECT= luautf8
MAINTAINER= nia@NetBSD.org
HOMEPAGE= https://github.com/starwing/luautf8
COMMENT= UTF-8 module for Lua 5.x
LICENSE= mit
WRKSRC= ${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
INSTALLATION_DIRS+= ${LUA_CDIR}
pre-build:
${CP} -f ${FILESDIR}/Makefile ${WRKSRC}/Makefile
do-install:
${INSTALL_LIB} ${WRKSRC}/lua-utf8.so \
${DESTDIR}${PREFIX}/${LUA_CDIR}/lua-utf8.so
.include "../../lang/lua/module.mk"
.include "../../mk/bsd.pkg.mk"