diff options
author | pav <pav@FreeBSD.org> | 2006-05-03 13:30:06 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-05-03 13:30:06 +0000 |
commit | f90c76f377604012b30ed67706b9d7e4204a23ea (patch) | |
tree | 80ce6ee90706fea09c3d6c633ecdc8003f021280 | |
parent | 9fc8edc6bf86ea46ec2dcaac31aeb97c990424be (diff) | |
download | FreeBSD-ports-f90c76f377604012b30ed67706b9d7e4204a23ea.zip FreeBSD-ports-f90c76f377604012b30ed67706b9d7e4204a23ea.tar.gz |
- Make the lua ports conflict each another
-rw-r--r-- | lang/lua/Makefile | 2 | ||||
-rw-r--r-- | lang/lua4/Makefile | 2 | ||||
-rw-r--r-- | lang/lua50/Makefile | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile index c450519..9801b64 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 c79d286..67a2deb 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 1116c58..253e5b3 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}|' \ |