Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Dec 2013 11:11:05 GMT
From:      Horia Racoviceanu <horia@racoviceanu.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/185063: Port www/rubygem-haml update to version 4.0.4 [PATCH]
Message-ID:  <201312211111.rBLBB5VY074021@oldred.freebsd.org>
Resent-Message-ID: <201312211120.rBLBK1gK065187@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         185063
>Category:       ports
>Synopsis:       Port www/rubygem-haml update to version 4.0.4 [PATCH]
>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:   Sat Dec 21 11:20:01 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Horia Racoviceanu
>Release:        9.2-RELEASE
>Organization:
>Environment:
FreeBSD aitch 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Fri Sep 27 03:52:52 UTC 2013 root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC i386
>Description:

>How-To-Repeat:

>Fix:
- Update to Version 4.0.4
- Change XHTML to HTML in Comment and pkg-descr
- Add MIT to License
- Add devel/rubygem-tilt to RUN_DEPENDS
- Add USE_RAKE
- Support STAGEDIR
- Change http://haml-lang.com/ to http://haml.info/ in pkg-descr
- Remove bin/html2haml from PLIST_FILES

* html2haml utility moved to the html2haml gem
http://www.freebsd.org/cgi/query-pr.cgi?pr=185062

* Textile and Maruku filters moved to the haml-contrib gem
http://www.freebsd.org/cgi/query-pr.cgi?pr=185061

Build log
https://redports.org/buildarchive/20131221105337-45184/

Patch attached with submission follows:

Index: Makefile
===================================================================
--- Makefile	(revision 337119)
+++ Makefile	(working copy)
@@ -2,18 +2,22 @@
 # $FreeBSD$
 
 PORTNAME=	haml
-PORTVERSION=	3.1.7
+PORTVERSION=	4.0.4
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 
 MAINTAINER=	gogolok+freebsd@gmail.com
-COMMENT=	Markup language to describe XHTML
+COMMENT=	Markup language to describe HTML
 
+LICENSE=	MIT
+
+RUN_DEPENDS=	rubygem-tilt>=0:${PORTSDIR}/devel/rubygem-tilt
+
+USE_RAKE=	yes
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 RUBYGEM_AUTOPLIST=	yes
 
-PLIST_FILES=	bin/haml bin/html2haml
+PLIST_FILES=	bin/haml
 
-NO_STAGE=	yes
 .include <bsd.port.mk>
Index: distinfo
===================================================================
--- distinfo	(revision 337119)
+++ distinfo	(working copy)
@@ -1,2 +1,2 @@
-SHA256 (rubygem/haml-3.1.7.gem) = d6a7cab4234cc98980ac3b25f1b99efed2ec50acbd0b6b213b68856d14e89bc7
-SIZE (rubygem/haml-3.1.7.gem) = 373248
+SHA256 (rubygem/haml-4.0.4.gem) = f232cc6623d772973729c1a9a3403f0282d965790271332d62d0cf95e0b93463
+SIZE (rubygem/haml-4.0.4.gem) = 114688
Index: pkg-descr
===================================================================
--- pkg-descr	(revision 337119)
+++ pkg-descr	(working copy)
@@ -1,9 +1,9 @@
-Haml is a markup language that's used to cleanly and simply describe the XHTML
+Haml is a markup language that's used to cleanly and simply describe the HTML
 of any web document without the use of inline code. Haml functions as a
 replacement for inline page templating systems such as PHP, ASP, and ERB, the
 templating language used in most Ruby on Rails applications.
-However, Haml avoids the need for explicitly coding XHTML into the template,
-because it itself is a description of the XHTML, with some code to generate
+However, Haml avoids the need for explicitly coding HTML into the template,
+because it itself is a description of the HTML, with some code to generate
 dynamic content.
 
-WWW: http://haml-lang.com/
+WWW: http://haml.info/


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312211111.rBLBB5VY074021>