59d7fb0955
as should probably have been done to begin with. Remove per-package hacks.
26 lines
625 B
Makefile
26 lines
625 B
Makefile
# $NetBSD: Makefile,v 1.8 2020/07/11 15:14:30 nia Exp $
|
|
|
|
DISTNAME= lua-cjson-2.1.0
|
|
PKGNAME= ${LUA_PKGPREFIX}-${DISTNAME:S/^lua-//1}
|
|
PKGREVISION= 3
|
|
CATEGORIES= textproc lua
|
|
MASTER_SITES= http://www.kyne.com.au/~mark/software/download/
|
|
|
|
MAINTAINER= imil@NetBSD.org
|
|
HOMEPAGE= https://www.kyne.com.au/~mark/software/lua-cjson.php
|
|
COMMENT= Lua CJSON provides JSON support for Lua
|
|
LICENSE= mit
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
MAKE_ENV+= LUA_CDIR=${LUA_CDIR}
|
|
|
|
INSTALLATION_DIRS= ${LUA_CDIR}
|
|
|
|
do-install:
|
|
${INSTALL_LIB} ${WRKSRC}/cjson.so \
|
|
${DESTDIR}${PREFIX}/${LUA_CDIR}
|
|
|
|
|
|
.include "../../lang/lua/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|