Install bin2c binary located in ${WRKSRC}/etc, it's needed to build

some lua libraries; pointed out by pancake. No bump PKGREVISION this time.
This commit is contained in:
xtraeme 2004-04-05 14:54:34 +00:00
parent a558e7e246
commit da955d0738
2 changed files with 7 additions and 2 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.13 2004/04/05 02:31:06 xtraeme Exp $
# $NetBSD: Makefile,v 1.14 2004/04/05 14:54:34 xtraeme Exp $
DISTNAME= lua-5.0.2
CATEGORIES= lang
@ -23,6 +23,9 @@ USE_BUILDLINK3= yes
ALL_TARGET= all so
INSTALL_TARGET= install soinstall
post-build:
cd ${WRKSRC}/etc && ${MAKE} bin2c
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lua
cd ${WRKSRC}; ${INSTALL_DATA} README COPYRIGHT \
@ -37,5 +40,6 @@ post-install:
cd ${WRKSRC}/etc && ${INSTALL_DATA} README *.c *.h \
*.lua lua.magic lua.xpm \
${PREFIX}/share/examples/lua/etc
${INSTALL_PROGRAM} ${WRKSRC}/etc/bin2c ${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"

View file

@ -1,4 +1,5 @@
@comment $NetBSD: PLIST,v 1.5 2004/04/05 02:31:06 xtraeme Exp $
@comment $NetBSD: PLIST,v 1.6 2004/04/05 14:54:34 xtraeme Exp $
bin/bin2c
bin/lua
bin/luac
include/lauxlib.h