- Unbreak parallel (-jX) builds by calling submakes correctly

- Improve on COMMENT, remove author attribution from pkg-descr
- Do not explicitly set DISTNAME, b.p.m. derives it just fine
This commit is contained in:
Alexey Dokuchaev 2013-08-05 08:27:46 +00:00
parent 5cefc3e99b
commit 0288c87495
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=324265
2 changed files with 4 additions and 5 deletions

View file

@ -7,15 +7,13 @@ PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/users/celes/tolua/ \
http://www.tecgraf.puc-rio.br/~celes/tolua/
DISTNAME= tolua-4.0a
MAINTAINER= edwin@mavetju.org
COMMENT= toLua: accessing C/C++ code from Lua
COMMENT= Tool for easy access of C/C++ code from Lua
USES= gmake
MAKE_JOBS_UNSAFE= yes
USE_LUA= 4.0
WRKSRC= ${WRKDIR}/tolua
WRKSRC= ${WRKDIR}/${PORTNAME}
LATEST_LINK= ${PORTNAME}${LUA_VER_STR}
@ -26,6 +24,8 @@ post-patch:
s|^(LUA(INC\|LIB)=.*)|\1/lua${LUA_VER_STR}|; \
s|^(CFLAGS)(=.*)|\1+\2|;' \
${WRKSRC}/config
@${REINPLACE_CMD} -E 's|cd (.+); make|$$(MAKE) -C \1|' \
${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/tolua ${LUA_BINDIR}

View file

@ -6,5 +6,4 @@ maps C/C++ constants, external variables, functions, namespace,
classes, and methods to Lua. It also provides facilities to create
Lua modules.
Author: Waldemar Celes <celes@tecgraf.puc-rio.br>
WWW: http://www.tecgraf.puc-rio.br/~celes/tolua/