aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tolua4
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2013-08-05 16:27:46 +0800
committerdanfe <danfe@FreeBSD.org>2013-08-05 16:27:46 +0800
commit7a5fd646a9b8a65278f0ca3677aa36949f891327 (patch)
treecfcfa62fa0392d0fed8ade67b9a4fe79b66f5aa3 /lang/tolua4
parent64ee3d1ec3b6e2c3500aaf646b420be574256952 (diff)
downloadfreebsd-ports-gnome-7a5fd646a9b8a65278f0ca3677aa36949f891327.tar.gz
freebsd-ports-gnome-7a5fd646a9b8a65278f0ca3677aa36949f891327.tar.zst
freebsd-ports-gnome-7a5fd646a9b8a65278f0ca3677aa36949f891327.zip
- 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
Diffstat (limited to 'lang/tolua4')
-rw-r--r--lang/tolua4/Makefile8
-rw-r--r--lang/tolua4/pkg-descr1
2 files changed, 4 insertions, 5 deletions
diff --git a/lang/tolua4/Makefile b/lang/tolua4/Makefile
index 9916ef1815fc..441964fad205 100644
--- a/lang/tolua4/Makefile
+++ b/lang/tolua4/Makefile
@@ -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}
diff --git a/lang/tolua4/pkg-descr b/lang/tolua4/pkg-descr
index 83b1a11b46fe..dc34a1bf67b1 100644
--- a/lang/tolua4/pkg-descr
+++ b/lang/tolua4/pkg-descr
@@ -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/