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
21 lines
441 B
Makefile
21 lines
441 B
Makefile
PORTROACH= limit:^5\.3
|
|
|
|
VERSION= 5.3.6
|
|
REVISION= 0
|
|
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
|
|
|
|
.include <bsd.port.mk>
|