head	1.3;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.1;
locks; strict;
comment	@# @;


1.3
date	2012.11.17.06.03.04;	author svnexp;	state Exp;
branches;
next	1.2;

1.2
date	2010.12.08.20.48.44;	author pgollucci;	state Exp;
branches;
next	1.1;

1.1
date	2010.08.09.05.36.05;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.3
log
@Switch exporter over
@
text
@# Ports collection makefile for:	rubygem-emk-sinatra-url-for
# Date created:				5 Aug 2010
# Whom:					Eric Freeman <freebsdports@@chillibear.com>
#
# $FreeBSD: head/www/rubygem-emk-sinatra-url-for/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	emk-sinatra-url-for
PORTVERSION=	0.2.1
CATEGORIES=	www rubygems
MASTER_SITES=	RG

MAINTAINER=	freebsdports@@chillibear.com
COMMENT=	Construct absolute paths and full URLs for a Sinatra application

RUN_DEPENDS=	rubygem-sinatra>=0.9.1.1:${PORTSDIR}/www/rubygem-sinatra

USE_RUBY=		yes
USE_RUBYGEMS=		yes
RUBYGEM_AUTOPLIST=	yes

.include <bsd.port.mk>
@


1.2
log
@- Fix dependency versions
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.1
log
@sinatra-url-for constructs absolute paths and full URLs for
handlers in a Sinatra application. Assuming that your application
is running on example.com, and that it has been mapped to /myapp,
you should be able call url_for from within a handler as follows:

  url_for "/"            # Returns "/myapp/"
  url_for "/foo"         # Returns "/myapp/foo"
  url_for "/foo", :full  # Returns "http://example.com/myapp/foo"

WWW: http://github.com/emk/sinatra-url-for

PR:		ports/149359
Submitted by:	Eric Freeman <freebsdports at chillibear.com>
@
text
@d16 1
a16 1
RUN_DEPENDS=	rubygem-sinatra>=0.9.1:${PORTSDIR}/www/rubygem-sinatra
@

