(which is not) throughout the ports Makefiles. * Replace find|xargs with find -exec {} + * Replace -exec {} \; with -exec {} + if applicable. * Use the -delete operator to remove files and empty directories. * Combine and tweak some find(1) invocations while here. ok kn@ rsadowski@ espie@
28 lines
586 B
Makefile
28 lines
586 B
Makefile
# $OpenBSD: Makefile,v 1.21 2020/03/20 16:44:23 naddy Exp $
|
|
|
|
COMMENT = high-level IO library for Ruby
|
|
|
|
DISTNAME = highline-1.6.21
|
|
REVISION = 0
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://github.com/JEG2/highline
|
|
|
|
# Ruby license
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/ruby
|
|
|
|
CONFIGURE_STYLE = ruby gem
|
|
|
|
MODRUBY_TEST= testrb
|
|
MODRUBY_TEST_TARGET = -I lib test/*.rb
|
|
|
|
post-install:
|
|
@find ${PREFIX}/${GEM_LIB}/ -type f \( -name \*.gitignore \
|
|
-o -name \*.cvsignore -o -name Rakefile \
|
|
-o -name setup.rb \) -delete
|
|
@rmdir ${PREFIX}/${GEM_LIB}/gems/${DISTNAME}/doc
|
|
|
|
.include <bsd.port.mk>
|