diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2008-11-23 14:07:50 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2008-11-23 14:07:50 +0000 |
commit | 1fafddca22ae76a522b9b077eab60ac81881545f (patch) | |
tree | 701ba75b4cf3f056f20f94ac986b8d73feab418a /devel/ruby-gems | |
parent | 489b8f436cb95d2f83f72eda41806a1b88f83cc0 (diff) | |
download | ports-1fafddca22ae76a522b9b077eab60ac81881545f.tar.gz ports-1fafddca22ae76a522b9b077eab60ac81881545f.zip |
Notes
Diffstat (limited to 'devel/ruby-gems')
-rw-r--r-- | devel/ruby-gems/Makefile | 7 | ||||
-rw-r--r-- | devel/ruby-gems/pkg-plist | 3 |
2 files changed, 7 insertions, 3 deletions
diff --git a/devel/ruby-gems/Makefile b/devel/ruby-gems/Makefile index 3ed421a100bd..e4581c56833e 100644 --- a/devel/ruby-gems/Makefile +++ b/devel/ruby-gems/Makefile @@ -7,7 +7,7 @@ PORTNAME= gems PORTVERSION= 1.2.0 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel ruby MASTER_SITES= ${MASTER_SITE_RUBYFORGE} MASTER_SITE_SUBDIR= ruby${PORTNAME} @@ -52,6 +52,8 @@ do-install: cd ${WRKSRC}; ${RUBY} ${RUBY_SETUP} ${RUBY_SETUP_OPTIONS} post-install: + @${MKDIR} ${PREFIX}/${GEMS_DOC_BASE_DIR}/ + @${TOUCH} ${PREFIX}/${GEMS_DOC_BASE_DIR}/.keep_this @${LN} -sf ${PREFIX}/bin/gem18 ${PREFIX}/bin/gem # This target is only meant to be used by the port maintainer. @@ -75,7 +77,8 @@ x-generate-plist: ${ECHO} @dirrmtry ${GEMS_VER_DIR_P}/gems >> pkg-plist.new ${ECHO} @dirrmtry ${GEMS_VER_DIR_P}/cache >> pkg-plist.new ${FIND} ${PREFIX}/${GEMS_DOC_DIR} -type d | ${SORT} -r | ${SED} -e 's,${PREFIX}/${GEMS_DOC_DIR},%%PORTDOCS%%@dirrm ${GEMS_DOC_DIR_P},' >> pkg-plist.new - ${ECHO} %%PORTDOCS%%@dirrmtry ${GEMS_DOC_BASE_DIR_P} >> pkg-plist.new + ${ECHO} ${PREFIX}/${GEMS_DOC_BASE_DIR}/.keep_this >> pkg-plist.new + ${ECHO} @dirrmtry ${GEMS_DOC_BASE_DIR_P} >> pkg-plist.new ${ECHO} @dirrmtry ${GEMS_VER_DIR_P} >> pkg-plist.new ${ECHO} @dirrmtry ${GEMS_BASE_DIR_P} >> pkg-plist.new diff --git a/devel/ruby-gems/pkg-plist b/devel/ruby-gems/pkg-plist index 059ea18c41f3..b1e25f768054 100644 --- a/devel/ruby-gems/pkg-plist +++ b/devel/ruby-gems/pkg-plist @@ -90,6 +90,7 @@ lib/ruby/gems/%%RUBY_VER%%/specifications/sources-0.0.2.gemspec %%RUBY_SITELIBDIR%%/rubygems/version.rb %%RUBY_SITELIBDIR%%/rubygems/version_option.rb %%RUBY_SITELIBDIR%%/ubygems.rb +lib/ruby/gems/%%RUBY_VER%%/doc/.keep_this %%PORTDOCS%%lib/ruby/gems/%%RUBY_VER%%/doc/%%DISTNAME%%/rdoc/classes/Config.html %%PORTDOCS%%lib/ruby/gems/%%RUBY_VER%%/doc/%%DISTNAME%%/rdoc/classes/Config.src/M000006.html %%PORTDOCS%%lib/ruby/gems/%%RUBY_VER%%/doc/%%DISTNAME%%/rdoc/classes/Gem.html @@ -1739,6 +1740,6 @@ lib/ruby/gems/%%RUBY_VER%%/specifications/sources-0.0.2.gemspec %%PORTDOCS%%@dirrm lib/ruby/gems/%%RUBY_VER%%/doc/%%DISTNAME%%/rdoc/classes %%PORTDOCS%%@dirrm lib/ruby/gems/%%RUBY_VER%%/doc/%%DISTNAME%%/rdoc %%PORTDOCS%%@dirrm lib/ruby/gems/%%RUBY_VER%%/doc/%%DISTNAME%% -%%PORTDOCS%%@dirrmtry lib/ruby/gems/%%RUBY_VER%%/doc +@dirrmtry lib/ruby/gems/%%RUBY_VER%%/doc @dirrmtry lib/ruby/gems/%%RUBY_VER%% @dirrmtry lib/ruby/gems |