Changeset View
Changeset View
Standalone View
Standalone View
Mk/bsd.ruby.mk
Show All 40 Lines | |||||
# RUBY_EXTCONF_SUBDIRS - Set to list of subdirectories, if multiple modules | # RUBY_EXTCONF_SUBDIRS - Set to list of subdirectories, if multiple modules | ||||
# are included. | # are included. | ||||
# USE_RUBY_SETUP - Says that the port uses setup.rb to configure and | # USE_RUBY_SETUP - Says that the port uses setup.rb to configure and | ||||
# build. | # build. | ||||
# RUBY_SETUP - Set to the alternative name of setup.rb | # RUBY_SETUP - Set to the alternative name of setup.rb | ||||
# (default: setup.rb). | # (default: setup.rb). | ||||
# USE_RUBY_RDTOOL - Says that the port uses rdtool to generate documents. | # USE_RUBY_RDTOOL - Says that the port uses rdtool to generate documents. | ||||
# USE_RUBY_RDOC - Says that the port uses rdoc to generate documents. | # USE_RUBY_RDOC - Says that the port uses rdoc to generate documents. | ||||
# USE_RUBY_FEATURES - Says that the port requires some of the following | |||||
# features for building and/or running (default: none): | |||||
# iconv | |||||
# RUBY_REQUIRE - Set to a Ruby expression to evaluate before building | # RUBY_REQUIRE - Set to a Ruby expression to evaluate before building | ||||
# the port. The constant "Ruby" is set to the integer | # the port. The constant "Ruby" is set to the integer | ||||
# version number of ruby, and the result of the | # version number of ruby, and the result of the | ||||
# expression will be set to RUBY_PROVIDED, which is | # expression will be set to RUBY_PROVIDED, which is | ||||
# left undefined if the result is nil, false or a | # left undefined if the result is nil, false or a | ||||
# zero-length string. Implies USE_RUBY. | # zero-length string. Implies USE_RUBY. | ||||
# RUBY_SHEBANG_FILES - Specify the files which shebang lines you want to fix. | # RUBY_SHEBANG_FILES - Specify the files which shebang lines you want to fix. | ||||
# RUBY_RD_FILES - Specify the RD files which you want to generate HTML | # RUBY_RD_FILES - Specify the RD files which you want to generate HTML | ||||
▲ Show 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | |||||
# RUBY_RD2 - Full path of rd2 executable. | # RUBY_RD2 - Full path of rd2 executable. | ||||
# RUBY_RDOC - Full path of rdoc executable. | # RUBY_RDOC - Full path of rdoc executable. | ||||
# | # | ||||
# RUBY_BASE_PORT - Port path of base ruby without PORTSDIR, without | # RUBY_BASE_PORT - Port path of base ruby without PORTSDIR, without | ||||
# suffix except version. | # suffix except version. | ||||
# RUBY_PORT - Port path of ruby without PORTSDIR. | # RUBY_PORT - Port path of ruby without PORTSDIR. | ||||
# RUBY_RDTOOL_PORT - Port path of rdtool without PORTSDIR. | # RUBY_RDTOOL_PORT - Port path of rdtool without PORTSDIR. | ||||
# RUBY_RDOC_PORT - Port path of rdoc without PORTSDIR. | # RUBY_RDOC_PORT - Port path of rdoc without PORTSDIR. | ||||
# RUBY_ICONV_PORT - Port path of ruby-iconv without PORTSDIR. | |||||
# | # | ||||
# DEPEND_LIBRUBY - LIB_DEPENDS entry for libruby. | # DEPEND_LIBRUBY - LIB_DEPENDS entry for libruby. | ||||
# DEPEND_RUBY - BUILD_DEPENDS/RUN_DEPENDS entry for ruby. | # DEPEND_RUBY - BUILD_DEPENDS/RUN_DEPENDS entry for ruby. | ||||
# DEPEND_RUBY_RDTOOL - BUILD_DEPENDS entry for rdtool. | # DEPEND_RUBY_RDTOOL - BUILD_DEPENDS entry for rdtool. | ||||
# DEPEND_RUBY_RDOC - BUILD_DEPENDS entry for rdoc. | # DEPEND_RUBY_RDOC - BUILD_DEPENDS entry for rdoc. | ||||
# DEPEND_RUBY_ICONV - BUILD_DEPENDS/RUN_DEPENDS entry for ruby-iconv. | |||||
# | # | ||||
# RUBY_LIBDIR - Installation path for architecture independent | # RUBY_LIBDIR - Installation path for architecture independent | ||||
# libraries. | # libraries. | ||||
# RUBY_ARCHLIBDIR - Installation path for architecture dependent | # RUBY_ARCHLIBDIR - Installation path for architecture dependent | ||||
# libraries. | # libraries. | ||||
# RUBY_SITELIBDIR - Installation path for site architecture independent | # RUBY_SITELIBDIR - Installation path for site architecture independent | ||||
# libraries. | # libraries. | ||||
# RUBY_SITEARCHLIBDIR - Installation path for site architecture dependent | # RUBY_SITEARCHLIBDIR - Installation path for site architecture dependent | ||||
▲ Show 20 Lines • Show All 161 Lines • ▼ Show 20 Lines | |||||
# Commands | # Commands | ||||
RUBY_RD2?= ${LOCALBASE}/bin/rd2 | RUBY_RD2?= ${LOCALBASE}/bin/rd2 | ||||
RUBY_RDOC?= ${LOCALBASE}/bin/rdoc${RUBY_VER:S/.//} | RUBY_RDOC?= ${LOCALBASE}/bin/rdoc${RUBY_VER:S/.//} | ||||
# Ports | # Ports | ||||
RUBY_BASE_PORT?= lang/ruby${RUBY_VER:S/.//} | RUBY_BASE_PORT?= lang/ruby${RUBY_VER:S/.//} | ||||
RUBY_PORT?= ${RUBY_BASE_PORT} | RUBY_PORT?= ${RUBY_BASE_PORT} | ||||
RUBY_RDTOOL_PORT?= textproc/ruby-rdtool | RUBY_RDTOOL_PORT?= textproc/ruby-rdtool | ||||
RUBY_RDOC_PORT?= textproc/ruby-rdoc | |||||
RUBY_ICONV_PORT?= converters/ruby-iconv | |||||
# Depends | # Depends | ||||
DEPEND_LIBRUBY?= lib${RUBY_NAME}.so.${RUBY_SHLIBVER}:${PORTSDIR}/${RUBY_PORT} | DEPEND_LIBRUBY?= lib${RUBY_NAME}.so.${RUBY_SHLIBVER}:${PORTSDIR}/${RUBY_PORT} | ||||
DEPEND_RUBY?= ${RUBY}:${PORTSDIR}/${RUBY_PORT} | DEPEND_RUBY?= ${RUBY}:${PORTSDIR}/${RUBY_PORT} | ||||
DEPEND_RUBY_RDTOOL?= ${RUBY_RD2}:${PORTSDIR}/${RUBY_RDTOOL_PORT} | DEPEND_RUBY_RDTOOL?= ${RUBY_RD2}:${PORTSDIR}/${RUBY_RDTOOL_PORT} | ||||
DEPEND_RUBY_ICONV= ${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/${RUBY_ICONV_PORT} | |||||
# Directories | # Directories | ||||
RUBY_LIBDIR?= ${_RUBY_SYSLIBDIR}/ruby/${RUBY_VER} | RUBY_LIBDIR?= ${_RUBY_SYSLIBDIR}/ruby/${RUBY_VER} | ||||
RUBY_ARCHLIBDIR?= ${RUBY_LIBDIR}/${RUBY_ARCH} | RUBY_ARCHLIBDIR?= ${RUBY_LIBDIR}/${RUBY_ARCH} | ||||
RUBY_SITELIBDIR?= ${_RUBY_SITEDIR}/${RUBY_VER} | RUBY_SITELIBDIR?= ${_RUBY_SITEDIR}/${RUBY_VER} | ||||
RUBY_SITEARCHLIBDIR?= ${RUBY_SITELIBDIR}/${RUBY_ARCH} | RUBY_SITEARCHLIBDIR?= ${RUBY_SITELIBDIR}/${RUBY_ARCH} | ||||
RUBY_VENDORLIBDIR?= ${_RUBY_VENDORDIR}/${RUBY_VER} | RUBY_VENDORLIBDIR?= ${_RUBY_VENDORDIR}/${RUBY_VER} | ||||
RUBY_VENDORARCHLIBDIR?= ${RUBY_VENDORLIBDIR}/${RUBY_ARCH} | RUBY_VENDORARCHLIBDIR?= ${RUBY_VENDORLIBDIR}/${RUBY_ARCH} | ||||
▲ Show 20 Lines • Show All 308 Lines • Show Last 20 Lines |