Commit graph

28 commits

Author SHA1 Message Date
taca
2636a36840 * Default PKGNAME will be set to ${RUBY_PKGPREFIX}-${DISTNAME}.
* RUBY_HAS_ARCHLIB is deprecated.
* Add support of both ruby18 and ruby19.
2010-09-10 03:21:57 +00:00
joerg
76039544d1 Remove @dirrm related logic. 2009-06-14 22:57:58 +00:00
rillig
79a38fed91 cleanup: replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-05-16 07:22:01 +00:00
taca
9f89df5d55 Miscellaneous message correction. 2009-02-15 03:20:03 +00:00
taca
bdf0dc3728 * Describe USE_RUBY_EXTCONF and USE_RUBY_SETUP.
* Add USE_RUBY_SETUP_PKG which use devel/ruby-setup as setup script
  instead of a script bundled with original distfiles since it is
  useful to support DESTDIR.
2009-02-15 03:16:37 +00:00
taca
5e0621752a Start of updating Ruby to 1.8.7.
* Update RUBY18_VERSION to 1.8.7 and RUBY18_PATCHLEVEL to 17.
* Use vendor_ruby instead for site_ruby.
* Introduce macros for relative path and use them instead of old absolete
  path.

	RUBY_LIB		lib/ruby/${RUBY_VER_DIR}
	RUBY_ARCHLIB		${RUBY_LIB}/${RUBY_ARCH}
	RUBY_SITELIB_BASE	lib/ruby/site_ruby
	RUBY_SITELIB		${RUBY_SITELIB_BASE}/${RUBY_VER_DIR}
	RUBY_SITEARCHLIB	${RUBY_SITELIB}/${RUBY_ARCH}
	RUBY_VENDORLIB_BASE	lib/ruby/vendor_ruby
	RUBY_VENDORLIB		${RUBY_VENDORLIB_BASE}/${RUBY_VER_DIR}
	RUBY_VENDORARCHLIB	${RUBY_VENDORLIB}/${RUBY_ARCH}
	RUBY_DOC		share/doc/${RUBY_NAME}
	RUBY_EG			share/examples/${RUBY_NAME}

  Old these macros are removed after 2008Q2 branch.

	RUBY_LIBDIR
	RUBY_ARCHLIBDIR
	RUBY_SITELIBDIR
	RUBY_SITEARCHLIBDIR
	RUBY_VENDORLIBDIR
	RUBY_VENDORARCHLIBDIR
	RUBY_DOCDIR
	RUBY_EXAMPLESDIR

  * update PRINT_PLIST_AWK macro to reality and move some of them from
    ruby/modules.mk to ruby/rubyversion.mk.
2008-06-19 14:30:45 +00:00
jlam
9c48ec7869 In the *-install targets, add ${INSTALL_ENV} to the environment passed
to the installation script.  This causes DESTDIR to be passed through
if a package has DESTDIR support.
2008-03-12 03:18:47 +00:00
jlam
31df13cb5a Back out previous... this was a mistake because the setup.rb file I
was looking at was not the "standard" setup.rb file.  In standard
setup.rb files, the argument to --prefix is indeed the staging directory.
2008-03-08 00:47:31 +00:00
jlam
bfaaf5ce5b Fix the DESTDIR installation -- files to into ${DESTDIR}${PREFIX}, not
just into ${DESTDIR}.
2008-03-07 22:41:32 +00:00
obache
0a37dd1427 Also skip "@dirrm lib/ruby/site_ruby" for print-PLIST. 2008-03-01 02:31:56 +00:00
obache
6ee73476a8 Add DESTDIR support for setup.rb>=3.1.1 packages. 2008-02-08 15:10:41 +00:00
minskim
f03fc73c20 Add PRINT_PLIST_AWK patterns for RUBY_SITEARCHLIBDIR and RUBY_DLEXT. 2006-05-03 02:11:00 +00:00
taca
7f74be6582 Remove USE_RUBY_DIST_SUBDIR which is unused now. 2006-01-05 07:04:47 +00:00
taca
a7aa3e89fb Stop handling DIST_SUBDIR default for Ruby packages.
First, set default value of USE_RUBY_DIST_SUBDIR to "no".
2006-01-03 14:24:32 +00:00
rillig
579e977969 Ran "pkglint --autofix", which corrected some of the quoting issues in
CONFIGURE_ARGS.
2005-12-05 23:55:01 +00:00
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
taca
90a1578320 Replace LOCALBASE with PREFIX. 2005-11-02 07:44:24 +00:00
taca
3e7f2b528a Set USE_RUBY_DIST_SUBDIR to yes if it isn't defined yet. 2005-10-16 15:09:46 +00:00
taca
9586475c44 Move default definition of DIST_SUBDIR for Ruby related
from modules.mk to rubyversion.mk.

This should fix devel/ruby-rd-mode package.
2005-09-11 15:54:22 +00:00
minskim
90bc657e39 Add PRINT_PLIST_AWK patterns to exclude RUBY_DOCDIR and
RUBY_EXAMPLESDIR in generating PLIST for ruby modules.
2005-06-23 15:16:53 +00:00
minskim
bff2680fad Add PRINT_PLIST_AWK patterns for ruby modules. 2005-04-10 00:57:58 +00:00
minskim
a0f8a5632d Use DEPENDS, instead of including buildlink3.mk, to pull in
dependency when NO_BUILD is set.

Approved by taca@.
2005-04-02 05:10:10 +00:00
tv
fc05eb808a USE_BUILDLINK3 is mandatory; don't check for it anymore. 2005-03-24 19:20:43 +00:00
tv
c7260c11e9 Fix botch in previous: argument after : in DEPENDS must be a relative
path, not an absolute path.
2005-03-08 16:31:02 +00:00
taca
f4f48af2c5 Change depends to ruby16-base/ruby18-base package from ruby16/ruby18
package and tweak the package's COMMENT.

Bump PKGREVISION.
2005-03-06 16:46:05 +00:00
taca
33dc5c35be Don't always set DIST_SUBDIR but only if RUBY_DIST_SUBDIR isn't empty.
This change dosen't affect any current ruby based packages.
2004-12-16 07:11:55 +00:00
wiz
6e02d7ee41 Rename ALL_TARGET to BUILD_TARGET for consistency with other *_TARGETs.
Suggested by Roland Illig, ok'd by various.
2004-12-03 15:14:50 +00:00
taca
893eb044d9 Importing files for Ruby's new framework. 2004-11-27 13:57:20 +00:00