1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/shells/ruby-shell/Makefile
Akinori MUSHA f8eeebacaa Add ruby-shell, a Ruby library to run commands and control jobs like a
shell.  Pipes and redirections work just as expected:

  sh = Shell.cd("/foo")
  sh.cat("bar") | sh.tee("baz") > "baa"
  # or
  sh.transact do
    cat("bar") | tee("baz") > "baa"
  end
2001-03-16 09:02:00 +00:00

37 lines
788 B
Makefile

# New ports collection makefile for: shell.rb
# Date created: 16 March 2001
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= shell
PORTVERSION= 0.5.6
CATEGORIES= shells ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
MASTER_SITE_SUBDIR= contrib
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
EXTRACT_SUFX= .tgz
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
NO_BUILD= yes
DOCS_JA= doc/shell.doc
do-install:
${MKDIR} ${RUBY_SITELIBDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/shell.rb ${RUBY_SITELIBDIR}/
${INSTALL_DATA} ${WRKSRC}/shell/* ${RUBY_SITELIBDIR}/${PORTNAME}/
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
.for f in ${DOCS_JA}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endfor
.endif
.include <bsd.port.mk>