freebsd-ports/archivers/lua-zlib/Makefile
Stefan Eßer 98f7d7db7e Fix CONFLICTS entries in archivers, astro, audio
Fix conflicts entries based on a script that searches for duplicate
files installed by several ports.

Some patters seem to make ports conflict with themselves, but this is
actually not the case due to the check-*-conflicts logic implemented
in bsd.port.mk, which excludes self-conflicts.

PHP based ports have been ignored in this commit as requested by the
committers currently working on the php-8.1 import.

Approved by:	portmgr (implicit)
2022-01-13 22:01:28 +01:00

37 lines
810 B
Makefile

# Created by: Sir l33tname <sirl33tname@gmail.com>
PORTNAME= zlib
PORTVERSION= 1.2
PORTREVISION= 1
DISTVERSIONPREFIX=v
CATEGORIES= archivers
PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX}
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,module
CONFLICTS_INSTALL= ${LUA_PKGNAMEPREFIX}lzlib # lib/lua/5.1/zlib.so
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}"
LLD_UNSAFE= yes
PLIST_FILES= ${LUA_MODLIBDIR}/zlib.so
DOCSDIR= ${STAGEDIR}/share/doc/${UNIQUENAME}
pre-install:
${MKDIR} ${STAGEDIR}${LUA_MODLIBDIR}
.include <bsd.port.mk>