summaryrefslogtreecommitdiff
path: root/lang/lua/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-04-05 14:54:34 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-04-05 14:54:34 +0000
commitff0502fd42d2a649f507d17fc94273b7466bc7b4 (patch)
tree46e620f39ccde2eae91f536554065437bdea2203 /lang/lua/Makefile
parentf5dfa887d5d17da527be47a0cbd8c348d97fe515 (diff)
downloadpkgsrc-ff0502fd42d2a649f507d17fc94273b7466bc7b4.tar.gz
Install bin2c binary located in ${WRKSRC}/etc, it's needed to build
some lua libraries; pointed out by pancake. No bump PKGREVISION this time.
Diffstat (limited to 'lang/lua/Makefile')
-rw-r--r--lang/lua/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile
index d648da6449e..58bb9bca054 100644
--- a/lang/lua/Makefile
+++ b/lang/lua/Makefile
@@ -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"