ports/128551: New port: www/rubygem-sinatra - classy web development framework in ruby
Daniel Roethlisberger
daniel at roe.ch
Mon Nov 3 00:40:02 UTC 2008
>Number: 128551
>Category: ports
>Synopsis: New port: www/rubygem-sinatra - classy web development framework in ruby
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Nov 03 00:40:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: Daniel Roethlisberger
>Release: FreeBSD 7.0-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD marvin.ustcor.roe.ch 7.0-RELEASE-p5 FreeBSD 7.0-RELEASE-p5 #0: Wed Oct 1 10:10:12 UTC 2008 root at i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Sinatra is a DSL for quickly creating web-applications in Ruby
with minimal effort. It sits on top of Rack, a minimal standard
interface for Ruby web frameworks. For templating, the choices
include erb, haml, sass and Builder.
WWW: http://github.com/bmizerany/sinatra
Note that this port depends on the update of www/rubygem-rack to 0.4.0,
which I have submitted as a separate PR.
>How-To-Repeat:
>Fix:
--- rubygem-sinatra.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# rubygem-sinatra
# rubygem-sinatra/Makefile
# rubygem-sinatra/distinfo
# rubygem-sinatra/pkg-descr
# rubygem-sinatra/pkg-message
#
echo c - rubygem-sinatra
mkdir -p rubygem-sinatra > /dev/null 2>&1
echo x - rubygem-sinatra/Makefile
sed 's/^X//' >rubygem-sinatra/Makefile << 'END-of-rubygem-sinatra/Makefile'
X# Ports collection makefile for: rubygem-sinatra
X# Date created: 2008-11-02
X# Whom: Daniel Roethlisberger <daniel at roe.ch>
X#
X# $FreeBSD$
X
XPORTNAME= sinatra
XPORTVERSION= 0.3.0
XCATEGORIES= www rubygems
XMASTER_SITES= RF
X
XMAINTAINER= daniel at roe.ch
XCOMMENT= A classy web development framework in ruby
X
XBUILD_DEPENDS= rubygem-rack>=0.4.0:${PORTSDIR}/www/rubygem-rack
XRUN_DEPENDS= ${BUILD_DEPENDS}
X
XUSE_RUBY= yes
XUSE_RUBYGEMS= yes
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X @${ECHO} ${GEM_CACHE} >> ${TMPPLIST}
X @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR},${GEM_DOC_DIR},' >> ${TMPPLIST}
X @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type f | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR},${GEM_LIB_DIR},' >> ${TMPPLIST}
X @${ECHO} ${GEM_SPEC} >> ${TMPPLIST}
X @${FIND} ${PREFIX}/${GEM_LIB_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_LIB_DIR}, at dirrm ${GEM_LIB_DIR},' >> ${TMPPLIST}
X @${FIND} ${PREFIX}/${GEM_DOC_DIR} -type d -depth | ${SED} -e 's,${PREFIX}/${GEM_DOC_DIR}, at dirrm ${GEM_DOC_DIR},' >> ${TMPPLIST}
X
X.include <bsd.port.mk>
END-of-rubygem-sinatra/Makefile
echo x - rubygem-sinatra/distinfo
sed 's/^X//' >rubygem-sinatra/distinfo << 'END-of-rubygem-sinatra/distinfo'
XMD5 (rubygem/sinatra-0.3.0.gem) = ed0d3272d903fb555e61555ed450c2ab
XSHA256 (rubygem/sinatra-0.3.0.gem) = 79a5d3e64017efd0f5b4a9fdad6917a35eba336f759ffb5926ffc1aa7438270e
XSIZE (rubygem/sinatra-0.3.0.gem) = 91648
END-of-rubygem-sinatra/distinfo
echo x - rubygem-sinatra/pkg-descr
sed 's/^X//' >rubygem-sinatra/pkg-descr << 'END-of-rubygem-sinatra/pkg-descr'
XSinatra is a DSL for quickly creating web-applications in Ruby
Xwith minimal effort. It sits on top of Rack, a minimal standard
Xinterface for Ruby web frameworks. For templating, the choices
Xinclude erb, haml, sass and Builder.
X
XWWW: http://github.com/bmizerany/sinatra
END-of-rubygem-sinatra/pkg-descr
echo x - rubygem-sinatra/pkg-message
sed 's/^X//' >rubygem-sinatra/pkg-message << 'END-of-rubygem-sinatra/pkg-message'
X
X **** NOTE ****
X
X Sinatra optionally integrates with haml/sass or Builder
X for templating and mongrel or thin as an HTTP server.
X To use them, install the respective ports separately:
X
X www/rubygem-haml
X devel/rubygem-builder
X www/rubygem-mongrel
X www/rubygem-thin
X
END-of-rubygem-sinatra/pkg-message
exit
--- rubygem-sinatra.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list