pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/lua Install bin2c binary located in ${WRKSRC}/etc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/08dcfa168bb5
branches:  trunk
changeset: 472152:08dcfa168bb5
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Mon Apr 05 14:54:34 2004 +0000

description:
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:

 lang/lua/Makefile |  6 +++++-
 lang/lua/PLIST    |  3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r e0c9bc23a064 -r 08dcfa168bb5 lang/lua/Makefile
--- a/lang/lua/Makefile Mon Apr 05 14:17:40 2004 +0000
+++ b/lang/lua/Makefile Mon Apr 05 14:54:34 2004 +0000
@@ -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 @@
 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 @@
        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"
diff -r e0c9bc23a064 -r 08dcfa168bb5 lang/lua/PLIST
--- a/lang/lua/PLIST    Mon Apr 05 14:17:40 2004 +0000
+++ b/lang/lua/PLIST    Mon Apr 05 14:54:34 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index