1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/lang/ruby-lua4/Makefile
Akinori MUSHA 4b77210ea9 Re-add ruby-lua4, which was updated with ruby-lua to support lua 5.x.
Repocopy is not necessary here since lang/ruby-lua is and will be the
mainstream.
2004-12-25 19:08:59 +00:00

47 lines
991 B
Makefile

# New ports collection makefile for: Ruby/Lua
# Date created: 30 August 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= lua
PORTVERSION= 20010921
CATEGORIES= lang ruby
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= knu
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
PKGNAMESUFFIX= 4
DISTNAME= ruby${PORTNAME}-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= A Ruby extension to make Lua script language as a class
LIB_DEPENDS= lua.4:${PORTSDIR}/lang/lua4
CONFLICTS= ${RUBY_PKGNAMEPREFIX}lua5-[0-9]*
USE_ZIP= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
RUBY_EXTCONF= luaconf.rb
NO_WRKSUBDIR= yes
INSTALL_TARGET= site-install
EXAMPLES= html_ssi_lua.rb test_*
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
${MKDIR} ${RUBY_MODDOCDIR}
${INSTALL_DATA} ${WRKSRC}/rubylua.txt ${RUBY_MODDOCDIR}/
.endif
.include <bsd.port.mk>