aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-05-03 13:30:06 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-05-03 13:30:06 +0000
commit11a6b0289381c695467b1f0120b92a0111be82df (patch)
treea5b8a41e6ec98a3a9f2b20c4194b13789da39a48 /lang
parent659ecbd0b85666c9f90f3ec9bf1b60763cb10708 (diff)
downloadports-11a6b0289381c695467b1f0120b92a0111be82df.tar.gz
ports-11a6b0289381c695467b1f0120b92a0111be82df.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/lua/Makefile2
-rw-r--r--lang/lua4/Makefile2
-rw-r--r--lang/lua50/Makefile2
3 files changed, 6 insertions, 0 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile
index c450519a98dc..9801b647d43b 100644
--- a/lang/lua/Makefile
+++ b/lang/lua/Makefile
@@ -22,6 +22,8 @@ MAN1= lua.1 luac.1
MAKE_ARGS= bsd
+CONFLICTS= lua-4* lua-5.0*
+
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
diff --git a/lang/lua4/Makefile b/lang/lua4/Makefile
index c79d286f7b62..67a2deb0253c 100644
--- a/lang/lua4/Makefile
+++ b/lang/lua4/Makefile
@@ -24,6 +24,8 @@ WRKSRC= ${WRKDIR}/lua
ALL_TARGET= all so
INSTALLS_SHLIB= YES
+CONFLICTS= lua-5*
+
do-install:
@ ${MKDIR} ${PREFIX}/share/doc/lua
@ ${INSTALL_PROGRAM} ${WRKSRC}/bin/lua ${PREFIX}/bin
diff --git a/lang/lua50/Makefile b/lang/lua50/Makefile
index 1116c58815df..253e5b3e9593 100644
--- a/lang/lua50/Makefile
+++ b/lang/lua50/Makefile
@@ -25,6 +25,8 @@ ALL_TARGET= all so
INSTALL_TARGET= install soinstall
INSTALLS_SHLIB= YES
+CONFLICTS= lua-4* lua-5.1*
+
do-configure:
${REINPLACE_CMD} \
-e 's|^\(MYCFLAGS=\).*$$|\1 ${CFLAGS}|' \