1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Strip installed libraries

- Prevent build log files from getting installed

Reported by:	swills
This commit is contained in:
Ashish SHUKLA 2014-07-28 09:05:34 +00:00
parent 89e5af5da4
commit 9cc7f367f3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363123
2 changed files with 6 additions and 47 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= rubinius
PORTVERSION= 2.2.10
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= http://releases.rubini.us/:source \
RG:gems
@ -75,7 +76,7 @@ F_ARCH= x86
.endif
post-extract:
.for DF in ${DISTFILES}
.for DF in ${DISTFILES:N*\:source}
@${LN} -s ${DISTDIR}/${DF:C/:gems//g} ${WRKSRC}/vendor/cache/
.endfor
@ -93,6 +94,10 @@ do-build:
@${TOUCH} ${STAGEDIR}${PREFIX}/lib/ruby/site_ruby/rubinius/.keep_me
@${TOUCH} ${STAGEDIR}${PREFIX}/lib/ruby/vendor_ruby/rubinius/.keep_me
@${MV} ${STAGEDIR}${PREFIX}/bin/testrb ${STAGEDIR}${PREFIX}/bin/testrbx
@${FIND} ${STAGEDIR} -type f -name '*.so' |${XARGS} ${STRIP_CMD}
@${FIND} ${STAGEDIR} -type f -name 'gem_make.out' |${XARGS} ${RM}
@${FIND} ${STAGEDIR} -type f -name 'gem.build_complete' |${XARGS} ${RM}
@${FIND} ${STAGEDIR} -type f -name 'mkmf.log' |${XARGS} ${RM}
plist:
@truncate -s0 pkg-plist

View File

@ -1016,30 +1016,13 @@ lib/ruby/gems/rubinius/cache/rubysl-webrick-2.0.0.gem
lib/ruby/gems/rubinius/cache/rubysl-xmlrpc-2.0.0.gem
lib/ruby/gems/rubinius/cache/rubysl-yaml-2.0.4.gem
lib/ruby/gems/rubinius/cache/rubysl-zlib-2.0.1.gem
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/json-1.8.1/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/json-1.8.1/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/json-1.8.1/json/ext/generator.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/json-1.8.1/json/ext/parser.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/racc-1.4.11/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/racc-1.4.11/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/racc-1.4.11/mkmf.log
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/racc-1.4.11/racc/cparse.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubinius-coverage-2.0.3/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubinius-coverage-2.0.3/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubinius-coverage-2.0.3/rubinius/coverage/coverage.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubinius-melbourne-2.1.0.0/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubinius-melbourne-2.1.0.0/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubinius-profiler-2.0.1/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubinius-profiler-2.0.1/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubinius-profiler-2.0.1/rubinius/profiler/ext/profiler.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-bigdecimal-2.0.2/bigdecimal/bigdecimal.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-bigdecimal-2.0.2/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-bigdecimal-2.0.2/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-bigdecimal-2.0.2/mkmf.log
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-curses-2.0.1/curses/curses.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-curses-2.0.1/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-curses-2.0.1/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-curses-2.0.1/mkmf.log
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-digest-2.0.3/digest/bubblebabble/bubblebabble.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-digest-2.0.3/digest/digest.h
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-digest-2.0.3/digest/digest.so
@ -1047,41 +1030,12 @@ lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-digest-2.0.3/digest
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-digest-2.0.3/digest/rmd160/rmd160.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-digest-2.0.3/digest/sha1/sha1.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-digest-2.0.3/digest/sha2/sha2.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-digest-2.0.3/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-digest-2.0.3/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-digest-2.0.3/mkmf.log
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-etc-2.0.3/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-etc-2.0.3/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-fcntl-2.0.4/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-fcntl-2.0.4/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-io-console-2.0.0/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-io-console-2.0.0/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-io-console-2.0.0/io/console/console.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-io-console-2.0.0/mkmf.log
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-nkf-2.0.1/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-nkf-2.0.1/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-nkf-2.0.1/nkf/nkf.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-openssl-2.1.0/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-openssl-2.1.0/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-openssl-2.1.0/mkmf.log
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-openssl-2.1.0/openssl/openssl.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-pty-2.0.2/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-pty-2.0.2/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-pty-2.0.2/mkmf.log
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-pty-2.0.2/pty/pty.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-readline-2.0.2/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-readline-2.0.2/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-readline-2.0.2/mkmf.log
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-readline-2.0.2/readline/readline.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-syslog-2.0.1/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-syslog-2.0.1/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-yaml-2.0.4/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-yaml-2.0.4/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-yaml-2.0.4/mkmf.log
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-yaml-2.0.4/syck/syck.so
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-zlib-2.0.1/gem.build_complete
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-zlib-2.0.1/gem_make.out
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-zlib-2.0.1/mkmf.log
lib/ruby/gems/rubinius/extensions/%%FREEBSD_DIR%%/2.1/rubysl-zlib-2.0.1/zlib/zlib.so
lib/ruby/gems/rubinius/gems/bundler-1.6.2/spec/update/source_spec.rb
lib/ruby/gems/rubinius/gems/bundler-1.6.2/spec/update/git_spec.rb