# New ports collection makefile for: Ruby/Lua # Date created: 30 August 2001 # Whom: Akinori MUSHA aka knu # # $FreeBSD$ # PORTNAME= lua PORTVERSION= 20010921 CATEGORIES= lang ruby MASTER_SITES= ${MASTER_SITE_LOCAL} MASTER_SITE_SUBDIR= knu PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ruby${PORTNAME}-${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= knu@FreeBSD.org BUILD_DEPENDS= ${LOCALBASE}/lib/liblua.a:${PORTSDIR}/lang/lua 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_EXAMPLESDIR}/${PORTNAME} .for f in ${EXAMPLES} ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ .endfor ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME} ${INSTALL_DATA} ${WRKSRC}/rubylua.txt ${RUBY_DOCDIR}/${PORTNAME}/ .endif .include