freebsd-ports/archivers/lua51-zlib/Makefile
Baptiste Daroussin a08939f4dc Remove useless dependency on GNU make
Those ports builds perfectly fine with bmake
2017-02-22 12:59:28 +00:00

34 lines
706 B
Makefile

# Created by: Sir l33tname <sirl33tname@gmail.com>
# $FreeBSD$
PORTNAME= lua51
PORTVERSION= 1.1
DISTVERSIONPREFIX=v
CATEGORIES= archivers
PKGNAMESUFFIX= -zlib
MAINTAINER= sirl33tname@gmail.com
COMMENT= Simple streaming interface to zlib for the Lua Programming Language
LICENSE= MIT
USE_GITHUB= yes
GH_ACCOUNT= brimworks
GH_PROJECT= lua-zlib
USES= lua:51
ALL_TARGET= bsd
MAKE_ENV+= LUAPATH="${LOCALBASE}"
MAKE_ENV+= LUACPATH="${STAGEDIR}${LUA_MODLIBDIR}"
MAKE_ENV+= INCDIR="-I${LUA_INCDIR}"
MAKE_ENV+= LUALIBDIR="-L${LUA_MODLIBDIR}"
PLIST_FILES= ${LUA_MODLIBDIR}/zlib.so
DOCSDIR= ${STAGEDIR}/share/doc/${UNIQUENAME}
pre-install:
${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
.include <bsd.port.mk>