openbsd-ports/lang/lua/5.2/Makefile
2012-07-10 15:23:43 +00:00

21 lines
427 B
Makefile

# $OpenBSD: Makefile,v 1.2 2012/07/10 15:23:43 jasper Exp $
VERSION= 5.2.1
PKGSPEC= lua->=5.2,<5.3
SHARED_LIBS= lua5.2 ${VERSION:R}
WANTLIB= c m edit curses
SUBST_VARS+= VERSION
MAKE_FLAGS+= LIBlua5.2_VERSION="${LIBlua5.2_VERSION}"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
${SUBST_CMD} -o ${SHAREOWN} -g ${SHAREGRP} -c ${FILESDIR}/lua52.pc \
${PREFIX}/lib/pkgconfig/lua52.pc
.include <bsd.port.mk>