blob: a123e4cd649a2b23c275affee53b09fe86f2bbdc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# 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= ports@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>
|