mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
761e2198cb
- set portroach to ignore for branches where it has been announced that there are no more updates. - install a link to lua/luac binaries i.e. lua5.1 -> lua51, etc. this is a more standard naming and allows some software to build without annoying patching.
25 lines
637 B
Makefile
25 lines
637 B
Makefile
# The last release was Lua 5.3.6, released on 25 Sep 2020.
|
|
# There will be no further releases of Lua 5.3.
|
|
PORTROACH= ignore:1
|
|
|
|
VERSION= 5.3.6
|
|
REVISION= 1
|
|
PKGSPEC= lua->=5.3,<5.4
|
|
|
|
SHARED_LIBS= lua5.3 ${VERSION:R}
|
|
|
|
WANTLIB= c m edit curses
|
|
|
|
SUBST_VARS+= VERSION
|
|
|
|
MAKE_FLAGS+= LIBlua5.3_VERSION="${LIBlua5.3_VERSION}"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
|
|
${SUBST_DATA} -c ${FILESDIR}/lua53.pc ${PREFIX}/lib/pkgconfig/lua53.pc
|
|
${SUBST_DATA} -c ${FILESDIR}/lua53.pc ${PREFIX}/lib/pkgconfig/lua5.3.pc
|
|
ln ${PREFIX}/bin/lua53 ${PREFIX}/bin/lua5.3
|
|
ln ${PREFIX}/bin/luac53 ${PREFIX}/bin/luac5.3
|
|
|
|
.include <bsd.port.mk>
|