Changeset View
Changeset View
Standalone View
Standalone View
head/lang/ruby27/Makefile
Show First 20 Lines • Show All 112 Lines • ▼ Show 20 Lines | |||||
.if ${RUBY_VER} == ${RUBY_DEFAULT_VER} | .if ${RUBY_VER} == ${RUBY_DEFAULT_VER} | ||||
PLIST_SUB+= IF_DEFAULT="" | PLIST_SUB+= IF_DEFAULT="" | ||||
.else | .else | ||||
PKGNAMESUFFIX= ${RUBY_VER:C/\.//} | PKGNAMESUFFIX= ${RUBY_VER:C/\.//} | ||||
PLIST_SUB+= IF_DEFAULT="@comment " | PLIST_SUB+= IF_DEFAULT="@comment " | ||||
.endif | .endif | ||||
INSTALLED_SCRIPTS= erb irb rdoc ri ruby | INSTALLED_SCRIPTS= erb ruby | ||||
INSTALLED_MANUALS= erb irb ri ruby | INSTALLED_MANUALS= erb ruby | ||||
EXTSAMPLES= bigdecimal/sample/*.rb | EXTSAMPLES= bigdecimal/sample/*.rb | ||||
EXTDOCS= readline/README \ | EXTDOCS= readline/README \ | ||||
ripper/README \ | ripper/README \ | ||||
stringio/README.md \ | stringio/README.md \ | ||||
syslog/syslog.txt | syslog/syslog.txt | ||||
# Macros to change variables in rbconfig.rb | # Macros to change variables in rbconfig.rb | ||||
RB_SET_CONF_VAR=${SH} -c '${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]]*=[[:space:]]*)(\(?)(.*)(\)?),\1\2$$1\4," ${WRKSRC}/rbconfig.rb' -- | RB_SET_CONF_VAR=${SH} -c '${REINPLACE_CMD} -E -e "s,(CONFIG\[\"$$0\"\][[:space:]]*=[[:space:]]*)(\(?)(.*)(\)?),\1\2$$1\4," ${WRKSRC}/rbconfig.rb' -- | ||||
post-patch: | post-patch: | ||||
# We get these from other ports | # We get these from other ports | ||||
.for d in bin/bundle* bin/*racc* lib/bundler* libexec/bundler* man/bundle* bin/gem man/gemfile* \ | .for d in bin/bundle* bin/gem bin/*racc* bin/irb bin/rdoc bin/ri \ | ||||
lib/bundler* libexec/bundler* \ | |||||
man/bundle* man/gemfile* man/irb.1 man/ri.1 \ | |||||
ext/dbm ext/gdbm ext/win32ole | ext/dbm ext/gdbm ext/win32ole | ||||
@${RM} -r ${BUILD_WRKSRC}/${d} | @${RM} -r ${BUILD_WRKSRC}/${d} | ||||
.endfor | .endfor | ||||
post-build: | post-build: | ||||
# | # | ||||
# Hack to allow modules to be installed into separate PREFIX and/or under user | # Hack to allow modules to be installed into separate PREFIX and/or under user | ||||
# privileges | # privileges | ||||
▲ Show 20 Lines • Show All 78 Lines • Show Last 20 Lines |