diff options
author | itetcu <itetcu@FreeBSD.org> | 2008-11-23 22:07:50 +0800 |
---|---|---|
committer | itetcu <itetcu@FreeBSD.org> | 2008-11-23 22:07:50 +0800 |
commit | 46002e2e91884d4f18e009fa57fb938f2fd46bbe (patch) | |
tree | cace5258455a01253ad6ea7dda83437269592340 /devel/ruby-gems | |
parent | fff82ad8a844eff40bd3b0be5b1329619b93fef2 (diff) | |
download | freebsd-ports-gnome-46002e2e91884d4f18e009fa57fb938f2fd46bbe.tar.gz freebsd-ports-gnome-46002e2e91884d4f18e009fa57fb938f2fd46bbe.tar.zst freebsd-ports-gnome-46002e2e91884d4f18e009fa57fb938f2fd46bbe.zip |
- fix plist for -DNOPORTDOCS (we always keep the directory since dependent
ports might need it)
- bump PORTREVISION
Submited by: stass@
Approved by: maintainer timeout on QAT BotMail
Reuested by: itetcu@
Prompted by: QAT QA run
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 |