mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Ramaze is a simple and modular web framework
WWW: http://ramaze.net PR: ports/143515 Submitted by: Jyun-Yan You <jyyou at cs.nctu.edu.tw>
This commit is contained in:
parent
3177350e85
commit
94b6e9013f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=249459
@ -1481,6 +1481,7 @@
|
||||
SUBDIR += rubygem-rack
|
||||
SUBDIR += rubygem-rails
|
||||
SUBDIR += rubygem-rails-app-installer
|
||||
SUBDIR += rubygem-ramaze
|
||||
SUBDIR += rubygem-redcloth
|
||||
SUBDIR += rubygem-rfacebook
|
||||
SUBDIR += rubygem-rfeedfinder
|
||||
|
29
www/rubygem-ramaze/Makefile
Normal file
29
www/rubygem-ramaze/Makefile
Normal file
@ -0,0 +1,29 @@
|
||||
# New ports collection makefile for: rubygem-ramaze
|
||||
# Date created: 2010-01-20
|
||||
# Whom: Jyun-Yan You <jyyou@cs.nctu.edu.tw>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ramaze
|
||||
PORTVERSION= 2009.10
|
||||
CATEGORIES= www rubygems
|
||||
MASTER_SITES= http://s3.amazonaws.com/gemcutter_production/gems/
|
||||
|
||||
MAINTAINER= jyyou@cs.nctu.edu.tw
|
||||
COMMENT= Ramaze is a simple and modular web framework
|
||||
|
||||
RUN_DEPENDS= rubygem-innate=2009.10:${PORTSDIR}/www/rubygem-innate
|
||||
|
||||
PLIST_FILES= bin/ramaze
|
||||
|
||||
USE_RUBY= yes
|
||||
|
||||
USE_RUBYGEMS= yes
|
||||
RUBYGEM_AUTOPLIST= yes
|
||||
|
||||
post-install:
|
||||
@${PATCH} -p0 -d ${PREFIX}/${GEM_LIB_DIR} < ${PATCHDIR}/xhtml.rb.patch
|
||||
@${FIND} ${PREFIX}/${GEM_LIB_DIR} -name "*.orig" -delete
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/rubygem-ramaze/distinfo
Normal file
3
www/rubygem-ramaze/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (rubygem/ramaze-2009.10.gem) = e97055aa3b8ce4e744dc71fba36368d4
|
||||
SHA256 (rubygem/ramaze-2009.10.gem) = 49140e3ad5c39ead1ef25bdf333eade4bb067fdccd3c4cc6754b5bfc69ce87a7
|
||||
SIZE (rubygem/ramaze-2009.10.gem) = 626688
|
20
www/rubygem-ramaze/files/xhtml.rb.patch
Normal file
20
www/rubygem-ramaze/files/xhtml.rb.patch
Normal file
@ -0,0 +1,20 @@
|
||||
--- lib/ramaze/helper/xhtml.rb.orig 2009-11-04 20:13:31.180694249 +0800
|
||||
+++ lib/ramaze/helper/xhtml.rb 2009-11-04 20:18:00.000000000 +0800
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
def css(name, media = 'screen', options = {})
|
||||
if options.empty?
|
||||
- LINK_TAG % ["/css/#{name}.css", media]
|
||||
+ LINK_TAG % ["#{Ramaze.options.prefix}/css/#{name}.css", media]
|
||||
elsif options[:only].to_s.downcase == 'ie'
|
||||
"<!--[if IE]>#{css(name, media)}<![endif]-->"
|
||||
end
|
||||
@@ -22,7 +22,7 @@
|
||||
if name =~ /^http/ # consider it external full url
|
||||
SCRIPT_TAG % name
|
||||
else
|
||||
- SCRIPT_TAG % "/js/#{name}.js"
|
||||
+ SCRIPT_TAG % "#{Ramaze.options.prefix}/js/#{name}.js"
|
||||
end
|
||||
end
|
||||
|
3
www/rubygem-ramaze/pkg-descr
Normal file
3
www/rubygem-ramaze/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Ramaze is a simple and modular web framework
|
||||
|
||||
WWW: http://ramaze.net
|
Loading…
Reference in New Issue
Block a user