Makefile 418 B

12345678910111213141516171819202122
  1. # $OpenBSD: Makefile,v 1.8 2017/01/31 22:50:50 jsg Exp $
  2. PORTROACH= limit:^5\.3
  3. VERSION= 5.3.4
  4. PKGSPEC= lua->=5.3,<5.4
  5. SHARED_LIBS= lua5.3 ${VERSION:R}
  6. WANTLIB= c m edit curses
  7. SUBST_VARS+= VERSION
  8. MAKE_FLAGS+= LIBlua5.3_VERSION="${LIBlua5.3_VERSION}"
  9. post-install:
  10. ${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
  11. ${SUBST_DATA} -c ${FILESDIR}/lua53.pc \
  12. ${PREFIX}/lib/pkgconfig/lua53.pc
  13. .include <bsd.port.mk>