Add a CONFLICTS entry with ruby-lua4.

Switch BUILD_DEPENDS to LIB_DEPENDS not to confuse lua with lua4.
This commit is contained in:
Akinori MUSHA 2004-12-25 19:12:54 +00:00
parent 4b77210ea9
commit 160bfca40e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125150

View file

@ -1,4 +1,4 @@
# New ports collection makefile for: Ruby/Lua
# New ports collection makefile for: Ruby/Lua5
# Date created: 30 August 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
@ -17,7 +17,9 @@ DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= A Ruby extension to make Lua script language as a class
BUILD_DEPENDS= ${LOCALBASE}/lib/liblua.a:${PORTSDIR}/lang/lua
LIB_DEPENDS= lua.5:${PORTSDIR}/lang/lua
CONFLICTS= ${RUBY_PKGNAMEPREFIX}lua4-[0-9]*
USE_RUBY= yes
USE_RUBY_SETUP= yes