diff options
Diffstat (limited to 'devel/lua-lpeg')
-rw-r--r-- | devel/lua-lpeg/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/devel/lua-lpeg/Makefile b/devel/lua-lpeg/Makefile index e1135062d71..e94803ed87e 100644 --- a/devel/lua-lpeg/Makefile +++ b/devel/lua-lpeg/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2014/10/19 22:27:44 alnsn Exp $ +# $NetBSD: Makefile,v 1.7 2014/11/08 20:08:11 alnsn Exp $ # DISTNAME= lpeg-0.12 @@ -12,12 +12,19 @@ HOMEPAGE= http://www.inf.puc-rio.br/~roberto/lpeg/ COMMENT= Parsing Expression Grammars (PEGs) library for Lua LICENSE= mit +.include "../../mk/bsd.prefs.mk" + NO_CONFIGURE= yes USE_TOOLS+= gmake MAKE_FILE= makefile -BUILD_TARGET= linux TEST_TARGET= test +.if ${OPSYS} == "Darwin" +BUILD_TARGET= macosx +.else +BUILD_TARGET= linux +.endif + REPLACE_LUA+= test.lua INSTALLATION_DIRS+= ${LUA_CDIR} ${LUA_LDIR} ${LUA_DOCDIR} |