aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorashish <ashish@FreeBSD.org>2014-07-28 17:05:34 +0800
committerashish <ashish@FreeBSD.org>2014-07-28 17:05:34 +0800
commitf23e3d72cca4b5925fd01af41744de98d94ab3c6 (patch)
tree6b1187abfb9cc427f9503aa8a1e2ef02c29375ab /lang
parentb89509beb76751f17c0a8b27b1adcc040f8b09e9 (diff)
downloadfreebsd-ports-gnome-f23e3d72cca4b5925fd01af41744de98d94ab3c6.tar.gz
freebsd-ports-gnome-f23e3d72cca4b5925fd01af41744de98d94ab3c6.tar.zst
freebsd-ports-gnome-f23e3d72cca4b5925fd01af41744de98d94ab3c6.zip
- Strip installed libraries
- Prevent build log files from getting installed Reported by: swills
Diffstat (limited to 'lang')
-rw-r--r--lang/rubinius/Makefile7
-rw-r--r--lang/rubinius/pkg-plist46
2 files changed, 6 insertions, 47 deletions
diff --git a/lang/rubinius/Makefile b/lang/rubinius/Makefile
index 2a81bcc62f4e..d82d7b5b03d0 100644
--- a/lang/rubinius/Makefile
+++ b/lang/rubinius/Makefile
@@ -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
diff --git a/lang/rubinius/pkg-plist b/lang/rubinius/pkg-plist
index 1e45fafd22ed..7d183bc3f211 100644
--- a/lang/rubinius/pkg-plist
+++ b/lang/rubinius/pkg-plist
@@ -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