mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
693cddc199
install pkgconfig files as the more commonly used lua5.x.pc as well as existing lua5x.pc
19 lines
417 B
Makefile
19 lines
417 B
Makefile
VERSION= 5.4.8
|
|
REVISION= 0
|
|
PKGSPEC= lua->=5.4,<5.5
|
|
|
|
SHARED_LIBS= lua5.4 ${VERSION:R}
|
|
|
|
WANTLIB= c m edit curses
|
|
|
|
SUBST_VARS+= VERSION
|
|
|
|
MAKE_FLAGS+= LIBlua5.4_VERSION="${LIBlua5.4_VERSION}"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
|
|
${SUBST_DATA} -c ${FILESDIR}/lua54.pc ${PREFIX}/lib/pkgconfig/lua54.pc
|
|
${SUBST_DATA} -c ${FILESDIR}/lua54.pc ${PREFIX}/lib/pkgconfig/lua5.4.pc
|
|
|
|
.include <bsd.port.mk>
|