head	1.13;
access;
symbols
	pkgsrc-2015Q2:1.11.0.2
	pkgsrc-2015Q2-base:1.11
	pkgsrc-2015Q1:1.8.0.2
	pkgsrc-2015Q1-base:1.8;
locks; strict;
comment	@# @;


1.13
date	2015.07.05.23.57.39;	author rodent;	state dead;
branches;
next	1.12;
commitid	CeOQVOa5Z476H9sy;

1.12
date	2015.07.03.01.25.07;	author rodent;	state Exp;
branches;
next	1.11;
commitid	rTEpUy1HcDk3hMry;

1.11
date	2015.06.27.18.43.05;	author joerg;	state Exp;
branches;
next	1.10;
commitid	uP1H9TQSkP1cd6ry;

1.10
date	2015.06.18.12.49.37;	author rodent;	state Exp;
branches;
next	1.9;
commitid	1iJs4Uvp8cVQxUpy;

1.9
date	2015.04.06.08.17.26;	author adam;	state Exp;
branches;
next	1.8;
commitid	dUs0ktQdJn8Wnvgy;

1.8
date	2015.03.30.22.06.58;	author ryoon;	state Exp;
branches;
next	1.7;
commitid	4mjeDxx6C4IscGfy;

1.7
date	2015.03.29.18.49.02;	author rodent;	state Exp;
branches;
next	1.6;
commitid	Xat9i9RgkpQt8xfy;

1.6
date	2015.03.29.18.00.31;	author rodent;	state Exp;
branches;
next	1.5;
commitid	HBZPmMPpbE4sRwfy;

1.5
date	2015.03.29.08.30.01;	author ryoon;	state Exp;
branches;
next	1.4;
commitid	DCHHPshYmXUcItfy;

1.4
date	2015.03.08.15.49.35;	author taca;	state Exp;
branches;
next	1.3;
commitid	qRSEjN9i5CepOOcy;

1.3
date	2015.03.01.13.42.02;	author taca;	state Exp;
branches;
next	1.2;
commitid	gbo2WRu6CpI0lUby;

1.2
date	2015.01.25.13.09.10;	author joerg;	state Exp;
branches;
next	1.1;
commitid	rFPCr3QFoiqyhp7y;

1.1
date	2015.01.03.18.55.43;	author ryoon;	state Exp;
branches;
next	;
commitid	BlFhUb6cGLwkUB4y;


desc
@@


1.13
log
@s/redmine/ruby-redmine and collate. Remove the redmine package, as it was
moved to ruby-redmine.
@
text
@# $NetBSD: Makefile,v 1.12 2015/07/03 01:25:07 rodent Exp $

DISTNAME=	redmine-3.0.3
PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES=	devel
MASTER_SITES=	http://www.redmine.org/releases/

MAINTAINER=	ryoon@@NetBSD.org
HOMEPAGE=	http://www.redmine.org/
COMMENT=	Flexible project management web application
LICENSE=	gnu-gpl-v2 # and so on.

RUBY_VERSION_SUPPORTED= 200 193 21 22

GEMS_DISTFILES+=	actionmailer-4.2.1.gem actionpack-4.2.1.gem
GEMS_DISTFILES+=	actionpack-action_caching-1.1.1.gem
GEMS_DISTFILES+=	actionpack-xml_parser-1.0.2.gem actionview-4.2.1.gem
GEMS_DISTFILES+=	activejob-4.2.1.gem activemodel-4.2.1.gem
GEMS_DISTFILES+=	activerecord-4.2.1.gem activesupport-4.2.1.gem
GEMS_DISTFILES+=	arel-6.0.0.gem builder-3.2.2.gem bundler-1.9.1.gem
GEMS_DISTFILES+=	coderay-1.1.0.gem erubis-2.7.0.gem globalid-0.3.5.gem
GEMS_DISTFILES+=	hike-1.2.3.gem i18n-0.7.0.gem jquery-rails-3.1.2.gem
GEMS_DISTFILES+=	json-1.8.2.gem loofah-2.0.2.gem mail-2.6.3.gem
GEMS_DISTFILES+=	mime-types-2.5.gem mini_portile-0.6.2.gem
GEMS_DISTFILES+=	minitest-5.6.1.gem multi_json-1.11.0.gem
GEMS_DISTFILES+=	net-ldap-0.3.1.gem nokogiri-1.6.6.2.gem
GEMS_DISTFILES+=	protected_attributes-1.0.9.gem rack-1.6.1.gem
GEMS_DISTFILES+=	rack-openid-1.4.2.gem rack-test-0.6.3.gem
GEMS_DISTFILES+=	rails-4.2.1.gem rails-deprecated_sanitizer-1.0.3.gem
GEMS_DISTFILES+=	rails-dom-testing-1.0.6.gem
GEMS_DISTFILES+=	rails-html-sanitizer-1.0.2.gem railties-4.2.1.gem
GEMS_DISTFILES+=	rake-10.4.2.gem rbpdf-1.18.5.gem redcarpet-3.1.2.gem
GEMS_DISTFILES+=	request_store-1.0.5.gem rmagick-2.13.4.gem
GEMS_DISTFILES+=	ruby-openid-2.3.0.gem sprockets-3.1.0.gem
GEMS_DISTFILES+=	sprockets-rails-2.3.1.gem thor-0.19.1.gem
GEMS_DISTFILES+=	thread_safe-0.3.5.gem tilt-1.4.1.gem tzinfo-1.2.2.gem

DISTFILES+=	${DEFAULT_DISTFILES}

.for _gem_ in ${GEMS_DISTFILES}
DISTFILES+=	${_gem_}
SITES.${_gem_}=	https://rubygems.org/downloads/
.endfor

.include "options.mk"

WRKSRC=		${WRKDIR}
RM_DIR=		share/redmine

USE_TOOLS+=	bash:run pax pkg-config

REPLACE_RUBY+=	builder-3.2.2/lib/*.rb builder-3.2.2/lib/builder/*.rb
REPLACE_RUBY+=	builder-3.2.2/rakelib/tags.rake builder-3.2.2/test/*.rb
REPLACE_RUBY+=	bundler-1.9.1/bin/*
REPLACE_RUBY+=	bundler-1.9.1/lib/bundler/templates/newgem/bin/console.tt
REPLACE_RUBY+=	bundler-1.9.1/lib/bundler/templates/newgem/exe/newgem.tt
REPLACE_RUBY+=	coderay-1.1.0/bin/coderay coderay-1.1.0/test/functional/basic.rb
REPLACE_RUBY+=	erubis-2.7.0/benchmark/bench.rb erubis-2.7.0/bin/erubis
REPLACE_RUBY+=	erubis-2.7.0/contrib/erubis erubis-2.7.0/contrib/inline-require
REPLACE_RUBY+=	erubis-2.7.0/setup.rb json-1.8.2/install.rb
REPLACE_RUBY+=	json-1.8.2/tests/*.rb json-1.8.2/tools/server.rb
REPLACE_RUBY+=	loofah-2.0.2/benchmark/benchmark.rb
REPLACE_RUBY+=	mini_portile-0.6.2/lib/mini_portile.rb
REPLACE_RUBY+=	nokogiri-1.6.6.2/bin/nokogiri
REPLACE_RUBY+=	nokogiri-1.6.6.2/ports/patches/sort-patches-by-date
REPLACE_RUBY+=	rack-1.6.1/bin/rackup rack-1.6.1/test/cgi/rackup_stub.rb
REPLACE_RUBY+=	rack-1.6.1/test/cgi/test rack-1.6.1/test/cgi/test.fcgi
REPLACE_RUBY+=	rails-4.2.1/guides/rails_guides/kindle.rb
REPLACE_RUBY+=	rails-4.2.1/guides/source/initialization.md
REPLACE_RUBY+=	railties-4.2.1/bin/rails
REPLACE_RUBY+=	raindrops-0.13.0/examples/linux-listener-stats.rb
REPLACE_RUBY+=	rake-10.4.2/bin/rake rake-10.4.2/doc/proto_rake.rdoc
REPLACE_RUBY+=	rake-10.4.2/test/test_rake_file_utils.rb
REPLACE_RUBY+=	rbpdf-1.18.5/test/test_helper.rb redcarpet-3.1.2/bin/redcarpet
REPLACE_RUBY+=	redmine-3.0.3/bin/*
REPLACE_RUBY+=	redmine-3.0.3/extra/mail_handler/rdm-mailhandler.rb
REPLACE_RUBY+=	redmine-3.0.3/extra/svn/reposman.rb
REPLACE_RUBY+=	redmine-3.0.3/public/dispatch.fcgi.example
REPLACE_RUBY+=	redmine-3.0.3/script/* rmagick-2.13.4/doc/ex/*.rb
REPLACE_RUBY+=	rmagick-2.13.4/doc/usage.html rmagick-2.13.4/examples/*.rb
REPLACE_RUBY+=	rmagick-2.13.4/test/*.rb ruby-openid-2.3.0/examples/discover
REPLACE_RUBY+=	ruby-openid-2.3.0/examples/rails_openid/public/dispatch.cgi
REPLACE_RUBY+=	ruby-openid-2.3.0/examples/rails_openid/public/dispatch.fcgi
REPLACE_RUBY+=	ruby-openid-2.3.0/examples/rails_openid/public/dispatch.rb
REPLACE_RUBY+=	ruby-openid-2.3.0/examples/rails_openid/script/rails
REPLACE_RUBY+=	sprockets-3.1.0/bin/sprockets thor-0.19.1/bin/thor
REPLACE_RUBY+=	thread_safe-0.3.5/examples/bench_cache.rb tilt-1.4.1/bin/tilt
REPLACE_RUBY+=	unicorn-4.9.0/GIT-VERSION-GEN
REPLACE_RUBY+=	unicorn-4.9.0/bin/unicorn*
REPLACE_RUBY+=	unicorn-4.9.0/t/bin/content-md5-put
REPLACE_RUBY+=	unicorn-4.9.0/t/bin/sha1sum.rb unicorn-4.9.0/t/bin/unused_listen
REPLACE_RUBY+=	unicorn-4.9.0/test/aggregate.rb

CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/bundler-*/lib/bundler/templates/*
CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/rack-*/test/cgi/test.ru
CHECK_INTERPRETER_SKIP+=	${RM_DIR}/gems/gems/json-1.8.2/json-java.gemspec
CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/nokogiri-1.6.6.2/ports/patches/sort-patches-by-date
CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/loofah-2.0.2/benchmark/benchmark.rb

# Selenium has Linux .so files.
CHECK_SHLIBS_SUPPORTED=	no

SUBST_CLASSES+=		rake
SUBST_STAGE.rake=	pre-configure
SUBST_MESSAGE.rake=	Replacing path to rake programme.
SUBST_FILES.rake=	redmine-3.0.3/Rakefile
SUBST_FILES.rake+=	actionpack-action_caching-1.1.1/Rakefile
SUBST_FILES.rake+=	ruby-openid-2.3.0/examples/rails_openid/Rakefile
SUBST_SED.rake=		-e 's,/usr/bin/env rake,${PREFIX}/${RM_DIR}/gems/bin/rake,g'

SUBST_CLASSES+=		shell
SUBST_FILES.shell=	${DESTDIR}${PREFIX}/bin/redmine_*.sh
SUBST_MESSAGE.shell=	Fixing paths in helper shell scripts.
SUBST_SED.shell=	-e "s|@@PREFIX@@|${PREFIX}|g;s|@@GEM@@|${GEM}|g"
SUBST_SED.shell+=	-e "s|@@RUBY@@|${RUBY}|g"
SUBST_STAGE.shell=	post-install

REPLACE_BASH+=	nokogiri-1.6.6.2/build_all nokogiri-1.6.6.2/test_all
REPLACE_BASH+=	bundler-1.9.1/lib/bundler/templates/newgem/bin/setup.tt

GEM_HOME=	${RM_DIR}/gems
PLIST_SUBST+=	GEM_HOME=${GEM_HOME}

USE_LANGUAGES=	c
# Do not build internal libxml2 and libxslt.
MAKE_ENV+=	NOKOGIRI_USE_SYSTEM_LIBRARIES=yes

INSTALLATION_DIRS+=	bin share/examples/redmine share/redmine/app/.bundle \
			${RM_DIR}/app/config

EGDIR=		${PREFIX}/share/examples/redmine
CONF_FILES+=	${EGDIR}/configuration.yml.example \
			${PREFIX}/${RM_DIR}/app/config/configuration.yml
CONF_FILES+=	${EGDIR}/database.yml.example \
			${PREFIX}/${RM_DIR}/app/config/database.yml
CONF_FILES+=	${EGDIR}/additional_environment.rb.example \
			${PREFIX}/${RM_DIR}/app/config/additional_environment.rb

.include "../../mk/bsd.prefs.mk"

APACHE_USER?=	www
APACHE_GROUP?=	www
PKG_GROUPS=	${APACHE_GROUP}
PKG_USERS=	${APACHE_USER}:${APACHE_GROUP}
BUILD_DEFS+=	APACHE_GROUP APACHE_USER
FILES_SUBST+=	WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
		RM_DIR=${RM_DIR}

GEM_EXTSDIR_NEEDS_SUBDIR=	no
.include "../../lang/ruby/gem-extract.mk"

do-build:
.for _gem_ in ${DISTFILES:M*.gem:S/.gem$//g}
	${RUN} cd ${WRKDIR}/${_gem_} && ${SETENV} ${MAKE_ENV} ${RUBYGEM_ENV} \
		${RUBYGEM_NAME} build ../${_gem_}.gemspec
	${RUN} ${TEST} -f ${WRKDIR}/${_gem_}/${_gem_}.gem || \
		${FAIL_MSG} "Build of ${_gem_}.gem failed."
.endfor

RUBYGEM_INSTALL_ROOT=	${WRKDIR}/.inst
RUBYGEM_INSTALL_ROOT_OPTION=	--install-root ${RUBYGEM_INSTALL_ROOT}
_RUBYGEM_OPTIONS=	--no-update-sources     # don't cache the gem index
_RUBYGEM_OPTIONS+=	--install-dir ${PREFIX}/${GEM_HOME}
_RUBYGEM_OPTIONS+=	${RUBYGEM_INSTALL_ROOT_OPTION}
_RUBYGEM_OPTIONS+=	--ignore-dependencies
_RUBYGEM_OPTIONS+=	--no-ri --no-rdoc

.include "../../lang/ruby/rubyversion.mk"

do-install:
# Install gems
.for _gem_ in ${DISTFILES:M*.gem:S/.gem$//g}
	@@${STEP_MSG} "Installing gem into installation root"
	${RUN} ${SETENV} ${MAKE_ENV} ${RUBYGEM_ENV} \
		${RUBYGEM_NAME} install --backtrace ${RUBYGEM_OPTIONS} \
			${_RUBYGEM_OPTIONS} --local ${WRKDIR}/${_gem_}/${_gem_}.gem
	@@${STEP_MSG} "gem install"

	${RUN} cd ${RUBYGEM_INSTALL_ROOT}${PREFIX} && \
		pax -rwpp . ${DESTDIR}${PREFIX}
.endfor
# Install Redmine
	${INSTALL_DATA} ${FILESDIR}/bundle-config \
		${DESTDIR}${PREFIX}/share/redmine/app/.bundle/config
	${INSTALL_SCRIPT} ${FILESDIR}/redmine_fix_gems.sh \
		${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${FILESDIR}/redmine_migrate_plugins.sh \
		${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${FILESDIR}/redmine_generate_secret.sh \
		${DESTDIR}${PREFIX}/bin
	${INSTALL_SCRIPT} ${FILESDIR}/redmine_migrate_db.sh \
		${DESTDIR}${PREFIX}/bin
	${INSTALL_DATA} ${FILESDIR}/Gemfile.lock \
		${DESTDIR}${PREFIX}/share/redmine/app
	${INSTALL_DATA} ${FILESDIR}/secrets.yml \
		${DESTDIR}${PREFIX}/${RM_DIR}/app/config
	# XXX: Rewrite this to use ${INSTALL_DATA} and remove pax from USE_TOOLS
	cd ${WRKDIR}/${DISTNAME} && pax -rw -pmp . \
		${DESTDIR}${PREFIX}/${RM_DIR}/app
	${CHMOD} +x ${DESTDIR}${PREFIX}/bin/redmine_*.sh

post-install: unicorn-post-install
	find ${DESTDIR} -name ext -type d | xargs rm -rf
	find ${DESTDIR} -name mkmf.log -type f | xargs rm -rf
	find ${DESTDIR} -name gem_make.out -type f | xargs rm -rf
	find ${DESTDIR} -name gem.build_complete -type f | xargs rm -rf
	${MV} ${DESTDIR}${PREFIX}/${RM_DIR}/app/config/configuration.yml.example \
		${DESTDIR}${PREFIX}/share/examples/redmine
	${MV} ${DESTDIR}${PREFIX}/${RM_DIR}/app/config/database.yml.example \
		${DESTDIR}${PREFIX}/share/examples/redmine
	${MV} ${DESTDIR}${PREFIX}/${RM_DIR}/app/config/additional_environment.rb.example \
		${DESTDIR}${PREFIX}/share/examples/redmine
	find ${DESTDIR} -type f -print0 | xargs -0 chmod g+r,g-w,-x
	find ${DESTDIR} -type d -print0 | xargs -0 chmod g-w
	${CHMOD} +x ${DESTDIR}${PREFIX}/bin/redmine_*.sh

.include "../../devel/libexecinfo/buildlink3.mk"
.include "../../devel/libffi/buildlink3.mk"
.include "../../graphics/ImageMagick/buildlink3.mk"
.include "../../lang/ruby/replace.mk"
.include "../../lang/ruby/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.12
log
@Fix variable substitution and shell script permissions. Reported by bad@@.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2015/06/27 18:43:05 joerg Exp $
@


1.11
log
@Fix missing config directory during build.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2015/06/18 12:49:37 rodent Exp $
d111 7
a121 1
FILES_SUBST+=	GEM=${GEM}
d200 1
d215 1
@


1.10
log
@Update to 3.0.3 - update Redmine gems to latest usable versions. Increase
timeout of unicorn process to 60s instead of 30s. Problems with the lower
timeouts will become apparent if you have a local mail server throttling
connections and you do something like update >=10 issues simultaneously. Install
some helper shell scripts to ease with Redmine configuration and management.
Install a sample secrets.yml file for usage with the application. This package
will be renamed to ruby-redmine after the freeze and its files installed with
${RUBY_PKGPREFIX} to enable the usage and testing of different Ruby versions
with Redmine. This package has been tested heavily in production and is known to
work well in its current state; though, we will want to change the way it uses
gems when pkgsrc gets rails-4.x. Discussed with maintainter previously.

From Changelog:

3.0.3 (2015-05-10)

    Defect #18580: Can't bulk edit own time entries with "Edit own time entries"
    Defect #19731: Issue validation fails if % done field is deactivated
    Defect #19735: Email addresses with slashes are not linked correctly
    Patch #19655: Set a back_url when forcing new login after session expiration
    Patch #19706: Issue show : optimizations
    Patch #19793: Adding flash messages to files_controller#create

3.0.2 (2015-04-26)

    Defect #19297: Custom fields with hidden/read-only combination displayed in Issue Edit Form
    Defect #19400: Possibility of having 2 (or more) repositories with empty identifier
    Defect #19444: Fix typo in wiki_syntax_detailed.html
    Defect #19538: Keywords in commit messages: journal entries are created even if nothing was changed
    Defect #19569: Field permissions not working properly with inherited memberships
    Defect #19580: "Required" and "Read-only" rules on "Fields Permissions" screen are not colored
    Defect #13583: Space between lines in nested lists not equal
    Defect #19161: 500 Internal error: sorting for column mail at Administration/User
    Defect #19163: Bulk edit form shows additional custom fields
    Defect #19168: Activity: changes made to tickets are shown multiple times
    Defect #19185: Update Install/Upgrade guide for 3.x version and get gid of DEPRECATION WARNING: You didn't set config.secret_key_base
    Defect #19276: Creating new issues with invalid project_id should return 422 instead of 403 error
    Defect #19405: Setting config.logger.level in additional_environment.rb has no effect
    Defect #19464: Possible to log time on project without time tracking
    Defect #19482: Custom field (long text format) displayed even if empty
    Defect #19537: Broken HTML sanitizer refence breaks email receiving
    Defect #19544: Malformed SQL query with SQLServer when grouping issues
    Defect #19553: When create by copying the issue, status can not be changed to default
    Defect #19558: Mail handler should not ignore emails with x-auto-response-suppress header
    Defect #19606: Issue Estimated Time not updated on tracker change
    Feature #19437: Upgrade to Rails 4.2.1
    Feature #19489: Translation for Spanish Panama
    Patch #19570: Spanish translation updated
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2015/04/06 08:17:26 adam Exp $
d122 2
a123 1
INSTALLATION_DIRS+=	bin share/examples/redmine share/redmine/app/.bundle
@


1.9
log
@Revbump after updating textproc/icu
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2015/03/30 22:06:58 ryoon Exp $
d3 1
a3 1
DISTNAME=	redmine-3.0.1
a4 1
PKGREVISION=	1
d15 1
a15 1
GEMS_DISTFILES+=	actionmailer-4.2.0.gem actionpack-4.2.0.gem
d17 3
a19 3
GEMS_DISTFILES+=	actionpack-xml_parser-1.0.1.gem actionview-4.2.0.gem
GEMS_DISTFILES+=	activejob-4.2.0.gem activemodel-4.2.0.gem
GEMS_DISTFILES+=	activerecord-4.2.0.gem activesupport-4.2.0.gem
d21 1
a21 1
GEMS_DISTFILES+=	coderay-1.1.0.gem erubis-2.7.0.gem globalid-0.3.3.gem
d23 3
a25 3
GEMS_DISTFILES+=	json-1.8.2.gem loofah-2.0.1.gem mail-2.6.3.gem
GEMS_DISTFILES+=	mime-types-2.4.3.gem mini_portile-0.6.2.gem
GEMS_DISTFILES+=	minitest-5.5.1.gem multi_json-1.11.0.gem
d27 1
a27 1
GEMS_DISTFILES+=	protected_attributes-1.0.9.gem rack-1.6.0.gem
d29 1
a29 1
GEMS_DISTFILES+=	rails-4.2.0.gem rails-deprecated_sanitizer-1.0.3.gem
d31 1
a31 1
GEMS_DISTFILES+=	rails-html-sanitizer-1.0.2.gem railties-4.2.0.gem
d34 2
a35 2
GEMS_DISTFILES+=	ruby-openid-2.3.0.gem sprockets-2.12.3.gem
GEMS_DISTFILES+=	sprockets-rails-2.2.4.gem thor-0.19.1.gem
d62 1
a62 1
REPLACE_RUBY+=	loofah-2.0.1/benchmark/benchmark.rb
d66 5
a70 5
REPLACE_RUBY+=	rack-1.6.0/bin/rackup rack-1.6.0/test/cgi/rackup_stub.rb
REPLACE_RUBY+=	rack-1.6.0/test/cgi/test rack-1.6.0/test/cgi/test.fcgi
REPLACE_RUBY+=	rails-4.2.0/guides/rails_guides/kindle.rb
REPLACE_RUBY+=	rails-4.2.0/guides/source/initialization.md
REPLACE_RUBY+=	railties-4.2.0/bin/rails
d75 5
a79 5
REPLACE_RUBY+=	redmine-3.0.1/bin/*
REPLACE_RUBY+=	redmine-3.0.1/extra/mail_handler/rdm-mailhandler.rb
REPLACE_RUBY+=	redmine-3.0.1/extra/svn/reposman.rb
REPLACE_RUBY+=	redmine-3.0.1/public/dispatch.fcgi.example
REPLACE_RUBY+=	redmine-3.0.1/script/* rmagick-2.13.4/doc/ex/*.rb
d86 1
a86 1
REPLACE_RUBY+=	sprockets-2.12.3/bin/sprockets thor-0.19.1/bin/thor
d88 5
a92 6
REPLACE_RUBY+=	unicorn-4.8.3/GIT-VERSION-GEN
REPLACE_RUBY+=	unicorn-4.8.3/bin/unicorn*
REPLACE_RUBY+=	unicorn-4.8.3/script/isolate_for_tests
REPLACE_RUBY+=	unicorn-4.8.3/t/bin/content-md5-put
REPLACE_RUBY+=	unicorn-4.8.3/t/bin/sha1sum.rb unicorn-4.8.3/t/bin/unused_listen
REPLACE_RUBY+=	unicorn-4.8.3/test/aggregate.rb
d98 1
a98 1
CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/loofah-2.0.1/benchmark/benchmark.rb
d106 1
a106 1
SUBST_FILES.rake=	redmine-3.0.1/Rakefile
a112 1
REPLACE_BASH+=	unicorn-4.8.3/local.mk.sample
d115 2
a116 1
PLIST_SUBST=	GEM_HOME=${GEM_HOME}
d122 1
a122 1
INSTALLATION_DIRS=	share/examples/redmine share/redmine/app/.bundle
d176 15
a192 4
	${CP} ${FILESDIR}/Gemfile.lock \
		${DESTDIR}${PREFIX}/share/redmine/app
	${CP} ${FILESDIR}/bundle-config \
		${DESTDIR}${PREFIX}/share/redmine/app/.bundle/config
d205 2
a206 1
	find ${DESTDIR} -type f -print0 | xargs -0 chmod g+r,-x
@


1.8
log
@Remove redundant RUBY_VERSION_SUPPORTED.
Thank you, taca@@.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2015/03/29 18:49:02 rodent Exp $
d5 1
@


1.7
log
@Condense and sort GEMS_DISTFILES. This will make the Makefile easier to
maintain.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2015/03/29 18:00:31 rodent Exp $
a44 2
RUBY_VERSION_SUPPORTED= 22

@


1.6
log
@Comment patch. Move REPLACE_RUBY to options.mk for pgsql option. Cleanup
REPLACE_RUBY, REPLACE_BASH, CHECK_INTERPRETER_SKIP, etc. Move those
respective directives which reference pgsql to options.mk. That fixed 100+
warnings/informationals with those directives. Approved by MAINTAINER in
private mail.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2015/03/29 08:30:01 ryoon Exp $
d15 22
a36 48
GEMS_DISTFILES+=bundler-1.9.1.gem \
		i18n-0.7.0.gem \
		json-1.8.2.gem \
		minitest-5.5.1.gem \
		thread_safe-0.3.5.gem \
		tzinfo-1.2.2.gem \
		activesupport-4.2.0.gem \
		builder-3.2.2.gem \
		erubis-2.7.0.gem \
		mini_portile-0.6.2.gem \
		nokogiri-1.6.6.2.gem \
		rails-deprecated_sanitizer-1.0.3.gem \
		rails-dom-testing-1.0.6.gem \
		loofah-2.0.1.gem \
		rails-html-sanitizer-1.0.2.gem \
		actionview-4.2.0.gem \
		rack-1.6.0.gem \
		rack-test-0.6.3.gem \
		actionpack-4.2.0.gem \
		globalid-0.3.3.gem \
		activejob-4.2.0.gem \
		mime-types-2.4.3.gem \
		mail-2.6.3.gem \
		actionmailer-4.2.0.gem \
		actionpack-action_caching-1.1.1.gem \
		actionpack-xml_parser-1.0.1.gem \
		activemodel-4.2.0.gem \
		arel-6.0.0.gem \
		activerecord-4.2.0.gem \
		coderay-1.1.0.gem \
		hike-1.2.3.gem \
		thor-0.19.1.gem \
		railties-4.2.0.gem \
		jquery-rails-3.1.2.gem \
		multi_json-1.11.0.gem \
		net-ldap-0.3.1.gem \
		protected_attributes-1.0.9.gem \
		ruby-openid-2.3.0.gem \
		rack-openid-1.4.2.gem \
		tilt-1.4.1.gem \
		sprockets-2.12.3.gem \
		sprockets-rails-2.2.4.gem \
		rails-4.2.0.gem \
		rbpdf-1.18.5.gem \
		redcarpet-3.1.2.gem \
		request_store-1.0.5.gem \
		rmagick-2.13.4.gem \
		rake-10.4.2.gem
@


1.5
log
@Update to 3.0.1

* Fix sqlite3 option.

Changelog:
3.0.1 (2015-03-16)

    Defect #19197: Missing notification if assignee was a group
    Defect #19260: Non-default identifier-less git repositories are undeletable
    Defect #19305: settings: incompatible character encodings: UTF-8 and ASCII-8BIT: yaml generated on ruby 1.8
    Defect #19313: Attached inline images with non-ascii file name can not be seen when text formatting is Makdown
    Defect #19348: Project name is missing for versions from sub-projects
    Defect #19381: Wrong syntax for wiki macros in wiki_syntax_detailed.html
    Defect #19172: "gem update bundler" suggestion for "`x64_mingw` is not a valid platform"
    Defect #19218: Wrong name for pt-BR in language drop-down
    Defect #19225: When deleting one item from multivalued custom field / list of users, name of removed user is not visible in history
    Defect #19232: IMAP STARTTLS options typo :tls
    Defect #19253: Repository users broken if only one committer exists
    Defect #19316: CustomField#possible_values may raise undefined method `force_encoding' error
    Defect #19320: Spent time (last 7 days) in My page not updated
    Defect #19323: Incorrect links generated in emails if host setup uses other port (":" symbol)
    Defect #19325: ActionController::UnknownFormat: error for PDF request and unknown user
    Defect #19354: Unexpected milliseconds in JSON time attributes
    Defect #19368: Creating an issue without tracker_id attribute ignores custom field values
    Patch #19233: Change 20150113213922_remove_users_mail.rb from Irreversible to Reversible
    Patch #19322: Allow to ignore auto reply messages from Exchange server

3.0.0 (2015-02-19)

    Defect #2573: Latest projects list: no space after lists in project description
    Defect #6579: Tree hierachy being currupted on multiple submissions of an issue
    Defect #14151: Grammer problem with German x_days
    Defect #15789: Users can see all groups when adding a filter "Assignee's Group"
    Defect #15988: Unexpected behaviour on issue fields for users that have multiple roles
    Defect #18237: From a rake task context, impossible to create an IssueRelation normally
    Defect #18265: Wrong csv separator in Croatian
    Defect #18301: Revision shortlink at end of URL breaks URL autolinking
    Defect #18314: German Translation - button_update
    Defect #18605: Wrong usage of logger.info to test log level
    Defect #18654: Custom field is rendered, even if its value is empty (for multiple)
    Defect #18711: Respect cross-project subtask setting on issue bulk edit form
    Defect #18781: Redmine::FieldFormat::IntFormat does not accept "real" Integer values
    Defect #18832: Activity Stream Filter missing on right hand side due to permission
    Defect #18855: User with only Move Issue rights in the project can still create issues using mass copy!
    Defect #18918: Grouping label for "none" should be changed to "null", "No Value", or" (blank) ".
    Defect #19024: link_to in Redmine::Hook::ViewListener omits url root
    Defect #19030: Links to completed versions on the roadmap page might lead to a "403 not authorized page"
    Defect #19039: Mail notification is formatting dates with changer's locale
    Defect #19040: Potential DB deadlocks on concurrent issue creation
    Defect #19055: 'label_per_page' is no longer used
    Defect #19111: Bad spelling in Spanish "mail_body_reminder"
    Feature #992: Option to search open issues only
    Feature #1326: Add / edit an attachment description after upload
    Feature #1415: Let system administrator limit repositories valid sources
    Feature #4244: Multiple email addresses for each user
    Feature #4383: Search Names of Files Attached to Issues
    Feature #4518: Wiki formatting documentation for nested lists
    Feature #5450: Move wiki page to other project
    Feature #5991: Tracker should have it's own default issue status
    Feature #6426: MenuManager::MenuItem should support a named route as a url
    Feature #7249: Custom fields for Documents
    Feature #8121: Allow overriding direction of part of text
    Feature #8818: Repository user-mapping with multiple email addresses
    Feature #11702: Add user/group to multiple projects at once
    Feature #11724: Prevent users from seeing other users based on their project membership
    Feature #12097: Multi Thread Support
    Feature #12734: Add table reference to textile help
    Feature #13051: Support any macro in (pdf) export for wiki's and issues
    Feature #13425: Ignore X-Autoreply mails
    Feature #13497: Document all available Redmine links properly
    Feature #13849: Grouped filters in the filter drop-down
    Feature #14371: Drop Ruby 1.8.7 support
    Feature #14534: Upgrade to Rails 4.2
    Feature #15236: Propose diff view for long text custom fields
    Feature #16823: IMAP STARTTLS support
    Feature #17354: User detail : show user login to admins
    Feature #17763: Ability to render multiple partials with view hook
    Feature #18500: Optional linking when copying issues
    Feature #18571: Tab "New Issue" should not be displayed if a project has no trackers
    Feature #18631: Better search results pagination
    Feature #18801: Support for accent insensitive search with PostgreSQL
    Feature #18860: Replace awesome_nested_set gem with a custom implementation of nested sets
    Feature #18947: Ruby 2.2 support
    Feature #19131: Use a better content type for attachments created with application/octet-stream
    Patch #6586: Calendar view hook Request
    Patch #13120: Translation in language selection
    Patch #18182: Latvian translation update
    Patch #18261: Japanese translation change (fix terms mismatch "default")
    Patch #18276: Allow queries captions to be dynamic
    Patch #18290: Issue performance patch
    Patch #18390: Better RTL css for the system
    Patch #18392: German translation: Self-registration
    Patch #18565: html improvements on project landing page
    Patch #18659: Do not truncate subissue/related issues titles on single issue view
    Patch #18671: Japanese translation change (fix misspelled word)
    Patch #18679: LabelledFormBuilder#label outputs 2 label elements
    Patch #18692: Access keys for previous (p)/next (n) links
    Patch #18707: Allow attachment thumbnails from REST api
    Patch #18817: Sort helper undefined to_a for string
    Patch #18818: TimeEntry acts_as_activity_provider scope should joins(:project)
    Patch #18983: Allow filtering of Redmine Reminders by Version
    Patch #19005: Make search results per page configurable
    Patch #19035: Japanese translation fix (label_age)
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2015/03/08 15:49:35 taca Exp $
d13 1
a13 1
RUBY_VERSION_SUPPORTED= 200 193 21
a62 1
		
d78 1
a78 1
USE_TOOLS+=	pax pkg-config
d80 42
a121 64
REPLACE_RUBY+=	builder-*/lib/*
REPLACE_RUBY+=	builder-*/lib/builder/*
REPLACE_RUBY+=	builder-*/test/*
REPLACE_RUBY+=	bundler-*/lib/bundler/templates/*/*/*
REPLACE_RUBY+=	bundler-*/bin/*
REPLACE_RUBY+=	erubis-*/benchmark/bench.rb
REPLACE_RUBY+=	ffi-*/ext/ffi_c/extconf.rb
REPLACE_RUBY+=	rbpdf-*/test/test_helper.rb
REPLACE_RUBY+=	rmagick-*/doc/ex/*
REPLACE_RUBY+=	rmagick-*/examples/*
REPLACE_RUBY+=	rmagick-*/test/*
REPLACE_RUBY+=	ruby-openid-*/examples/*
REPLACE_RUBY+=	ruby-openid-*/examples/rails_openid/*
REPLACE_RUBY+=	ruby-openid-*/examples/rails_openid/*/*
REPLACE_RUBY+=	ruby-openid-*/examples/rails_openid/*/*/*
REPLACE_RUBY+=	rubyzip-*/test/data/*
REPLACE_RUBY+=	redmine-*/*
REPLACE_RUBY+=	redmine-*/bin/*
REPLACE_RUBY+=	redmine-*/app/*
REPLACE_RUBY+=	redmine-*/extra/mail_handler/rdm-mailhandler.rb
REPLACE_RUBY+=	redmine-*/extra/svn/reposman.rb
REPLACE_RUBY+=	redmine-*/public/dispatch.fcgi.example
REPLACE_RUBY+=	redmine-*/script/*
REPLACE_RUBY+=	coderay-*/bin/coderay
REPLACE_RUBY+=	erubis-*/bin/*
REPLACE_RUBY+=	erubis-*/contrib/*
REPLACE_RUBY+=	mocha-*/bin/build-matrix
REPLACE_RUBY+=	nokogiri-*/*
REPLACE_RUBY+=	nokogiri-*/bin/*
REPLACE_RUBY+=	nokogiri-*/test/*
REPLACE_RUBY+=	rack-*/bin/*
REPLACE_RUBY+=	rack-*/test/*
REPLACE_RUBY+=	rack-*/test/cgi/*
REPLACE_RUBY+=	railties-*/bin/*
REPLACE_RUBY+=	railties-*/guides/code/getting_started/*
REPLACE_RUBY+=	railties-*/guides/code/getting_started/script/*
REPLACE_RUBY+=	railties-*/lib/rails/generators/rails/app/templates/Rakefile
REPLACE_RUBY+=	railties-*/lib/rails/generators/rails/plugin_new/templates/Rakefile
REPLACE_RUBY+=	rake-*/bin/rake
REPLACE_RUBY+=	redcarpet-*/bin/redcarpet
REPLACE_RUBY+=	rmagick-*/doc/ex/*
REPLACE_RUBY_DIRS+=	ruby-openid-*
REPLACE_RUBY+=	rubyzip-*/*/*
REPLACE_RUBY+=	shoulda-context-*/bin/*
REPLACE_RUBY+=	sprockets-*/bin/*
REPLACE_RUBY+=	thor-*/bin/*
REPLACE_RUBY+=	tilt-*/bin/*
REPLACE_RUBY+=	treetop-*/bin/*
REPLACE_RUBY+=	yard-*/bin/*
REPLACE_RUBY+=	pg-*/*
REPLACE_RUBY+=	pg-*/lib/*
REPLACE_RUBY+=	pg-*/lib/pg/*
REPLACE_RUBY+=	pg-*/sample/*
REPLACE_RUBY+=	json-*/*
REPLACE_RUBY+=	json-*/tests/*
REPLACE_RUBY+=	json-*/tools/*
REPLACE_RUBY+=	rdoc-*/bin/*
REPLACE_RUBY+=	unicorn-*/*
REPLACE_RUBY+=	unicorn-*/bin/*
REPLACE_RUBY+=	unicorn-*/script/*
REPLACE_RUBY+=	unicorn-*/t/bin/*
REPLACE_RUBY+=	unicorn-*/test/*
REPLACE_RUBY+=	raindrops-*/examples/*
REPLACE_RUBY+=	thread_safe-*/examples/*
d125 1
a125 2
CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/pg-*/spec/*
CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/pg-*/spec/pg/*
d134 4
a137 2
SUBST_MESSAGE.rake=	Replace rake
SUBST_FILES.rake=	${REPLACE_RUBY}
d139 4
a142 1
SUBST_SED.rake+=	-e 's,/usr/bin/env bash,/bin/sh,g'
d223 1
a223 1

@


1.4
log
@Use lang/ruby/gem-extract.mk which replaces this package's own fetch and
extract routine.

No functional change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2015/03/01 13:42:02 taca Exp $
d3 1
a3 1
DISTNAME=	redmine-2.6.0
a6 1
MASTER_SITES+=	https://rubygems.org/downloads/
d15 29
a43 12
DISTFILES+=	${DEFAULT_DISTFILES} \
		actionmailer-3.2.19.gem \
		actionpack-3.2.19.gem \
		activemodel-3.2.19.gem \
		activerecord-3.2.19.gem \
		activeresource-3.2.19.gem \
		activesupport-3.2.19.gem \
		arel-3.0.3.gem \
		builder-3.0.4.gem \
		bundler-1.7.10.gem \
		capybara-2.1.0.gem \
		childprocess-0.5.5.gem \
a44 2
		erubis-2.7.0.gem \
		ffi-1.9.6.gem \
d46 2
a47 2
		i18n-0.7.0.gem \
		journey-1.0.4.gem \
d49 1
a49 7
		json-1.8.1.gem \
		mail-2.5.4.gem \
		metaclass-0.0.4.gem \
		mime-types-1.25.1.gem \
		mini_portile-0.6.2.gem \
		mocha-1.0.0.gem \
		multi_json-1.10.1.gem \
d51 2
a52 4
		nokogiri-1.6.5.gem \
		polyglot-0.3.5.gem \
		rack-1.4.5.gem \
		rack-cache-1.2.gem \
d54 6
a59 8
		rack-ssl-1.3.4.gem \
		rack-test-0.6.2.gem \
		rails-3.2.19.gem \
		railties-3.2.19.gem \
		rake-10.4.2.gem \
		rbpdf-1.18.4.gem \
		rdoc-3.12.2.gem \
		redcarpet-2.3.0.gem \
d62 9
a70 14
		ruby-openid-2.3.0.gem \
		rubyzip-1.1.6.gem \
		selenium-webdriver-2.44.0.gem \
		shoulda-3.3.2.gem \
		shoulda-context-1.0.2.gem \
		shoulda-matchers-1.4.1.gem \
		sprockets-2.2.3.gem \
		thor-0.19.1.gem \
		tilt-1.4.1.gem \
		treetop-1.4.15.gem \
		tzinfo-0.3.42.gem \
		websocket-1.2.1.gem \
		xpath-2.0.0.gem \
		yard-0.8.7.6.gem
d72 1
a72 1
RUBY_VERSION_SUPPORTED= 193 200 21
d81 71
a151 67
REPLACE_RUBY+=	builder-3.0.4/lib/*
REPLACE_RUBY+=	builder-3.0.4/lib/builder/*
REPLACE_RUBY+=	builder-3.0.4/test/*
REPLACE_RUBY+=	bundler-1.7.10/lib/bundler/templates/*/*/*
REPLACE_RUBY+=	bundler-1.7.10/bin/*
REPLACE_RUBY+=	erubis-2.7.0/benchmark/bench.rb
REPLACE_RUBY+=	ffi-1.9.6/ext/ffi_c/extconf.rb
REPLACE_RUBY+=	rbpdf-1.18.4/test/test_helper.rb
REPLACE_RUBY+=	rmagick-2.13.4/doc/ex/*
REPLACE_RUBY+=	rmagick-2.13.4/examples/*
REPLACE_RUBY+=	rmagick-2.13.4/test/*
REPLACE_RUBY+=	ruby-openid-2.3.0/examples/*
REPLACE_RUBY+=	ruby-openid-2.3.0/examples/rails_openid/*
REPLACE_RUBY+=	ruby-openid-2.3.0/examples/rails_openid/*/*
REPLACE_RUBY+=	ruby-openid-2.3.0/examples/rails_openid/*/*/*
REPLACE_RUBY+=	rubyzip-1.1.6/test/data/*
REPLACE_RUBY+=	redmine-2.6.0/*
REPLACE_RUBY+=	redmine-2.6.0/app/*
REPLACE_RUBY+=	redmine-2.6.0/extra/mail_handler/rdm-mailhandler.rb
REPLACE_RUBY+=	redmine-2.6.0/extra/svn/reposman.rb
REPLACE_RUBY+=	redmine-2.6.0/public/dispatch.fcgi.example
REPLACE_RUBY+=	redmine-2.6.0/script/*
REPLACE_RUBY+=	coderay-1.1.0/bin/coderay
REPLACE_RUBY+=	erubis-2.7.0/bin/*
REPLACE_RUBY+=	erubis-2.7.0/contrib/*
REPLACE_RUBY+=	mocha-1.0.0/bin/build-matrix
REPLACE_RUBY+=	nokogiri-1.6.5/*
REPLACE_RUBY+=	nokogiri-1.6.5/bin/*
REPLACE_RUBY+=	nokogiri-1.6.5/test/*
REPLACE_RUBY+=	rack-1.4.5/bin/*
REPLACE_RUBY+=	rack-1.4.5/test/*
REPLACE_RUBY+=	rack-1.4.5/test/cgi/*
REPLACE_RUBY+=	railties-3.2.19/bin/*
REPLACE_RUBY+=	railties-3.2.19/guides/code/getting_started/*
REPLACE_RUBY+=	railties-3.2.19/guides/code/getting_started/script/*
REPLACE_RUBY+=	railties-3.2.19/lib/rails/generators/rails/app/templates/Rakefile
REPLACE_RUBY+=	railties-3.2.19/lib/rails/generators/rails/plugin_new/templates/Rakefile
REPLACE_RUBY+=	rake-10.4.2/bin/rake
REPLACE_RUBY+=	redcarpet-2.3.0/bin/redcarpet
REPLACE_RUBY+=	rmagick-2.13.4/doc/ex/*
REPLACE_RUBY_DIRS+=	ruby-openid-2.3.0
REPLACE_RUBY+=	rubyzip-1.1.6/*/*
REPLACE_RUBY+=	shoulda-context-1.0.2/bin/*
REPLACE_RUBY+=	sprockets-2.2.3/bin/*
REPLACE_RUBY+=	thor-0.19.1/bin/*
REPLACE_RUBY+=	tilt-1.4.1/bin/*
REPLACE_RUBY+=	treetop-1.4.15/bin/*
REPLACE_RUBY+=	yard-0.8.7.6/bin/*
REPLACE_RUBY+=	pg-0.18.0.pre20141117110243/*
REPLACE_RUBY+=	pg-0.18.0.pre20141117110243/lib/*
REPLACE_RUBY+=	pg-0.18.0.pre20141117110243/lib/pg/*
REPLACE_RUBY+=	pg-0.18.0.pre20141117110243/sample/*
REPLACE_RUBY+=	json-1.8.1/*
REPLACE_RUBY+=	json-1.8.1/tests/*
REPLACE_RUBY+=	json-1.8.1/tools/*
REPLACE_RUBY+=	rdoc-3.12.2/bin/*
REPLACE_RUBY+=	unicorn-4.8.3/*
REPLACE_RUBY+=	unicorn-4.8.3/bin/*
REPLACE_RUBY+=	unicorn-4.8.3/script/*
REPLACE_RUBY+=	unicorn-4.8.3/t/bin/*
REPLACE_RUBY+=	unicorn-4.8.3/test/*
REPLACE_RUBY+=	raindrops-0.13.0/examples/*

CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/bundler-1.7.10/lib/bundler/templates/*
CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/rack-1.4.5/test/cgi/test.ru
CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/pg-0.18.0.pre20141117110243/spec/*
CHECK_INTERPRETER_SKIP+=${RM_DIR}/gems/gems/pg-0.18.0.pre20141117110243/spec/pg/*
d170 1
a170 1
INSTALLATION_DIRS=	share/examples/redmine
a178 2
CONF_FILES+=	${EGDIR}/unicorn.rb.example \
			${PREFIX}/${RM_DIR}/app/config/unicorn.rb
d226 4
@


1.3
log
@Redmine 2.6.0 is supported by Ruby 1.9.3 and later.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2015/01/25 13:09:10 joerg Exp $
d189 2
a190 14
# XXX The following is borrowed from lang/ruby/gem.mk.
# XXX Please integrate the following to lang/ruby/*.mk.
do-extract:
# Extract non-gem tarball
	${RUN} extract_file=${_DISTDIR:Q}/${DISTFILES:M*${EXTRACT_SUFX}:Q}; export extract_file;  \
		cd ${WRKDIR} && cd ${EXTRACT_DIR.${DISTFILES:M*${EXTRACT_SUFX}:Q}} && ${EXTRACT_CMD}
# Extract gems
.for _gem_ in ${DISTFILES:M*.gem}
	${RUN} cd ${WRKDIR} && ${SETENV} ${MAKE_ENV} ${RUBYGEM_ENV} \
		${RUBYGEM_NAME} unpack ${_DISTDIR:Q}/${_gem_:Q}
	${RUN} cd ${WRKDIR} && \
		${SETENV} ${MAKE_ENV} TZ=UTC ${RUBYGEM_ENV} \
		${RUBYGEM_NAME} spec --ruby ${_DISTDIR:Q}/${_gem_:Q} > ${_gem_}spec
.endfor
a208 12
.if !empty(RUBY_GEMS_VERSION)
_RUBYGEMS_MAJOR=	${RUBY_GEMS_VERSION:C/\.[0-9\.]+$//}
_RUBYGEMS_MINORS=	${RUBY_GEMS_VERSION:C/^([0-9]+)\.*//}
.  if ${_RUBYGEMS_MAJOR} >= 2 && ${_RUBYGEMS_MINORS} >= 2
GEM_EXTSDIR=	${GEM_HOME}/extensions/${RUBY_ARCH}/${RUBY_VERSION}
.  endif
.  if !empty(GEM_EXTSDIR)
PLIST_SUBST+=		GEM_EXTSDIR=${GEM_EXTSDIR}
.  else
PLIST_SUBST+=		GEM_EXTSDIR="@@comment "
.  endif
.endif
@


1.2
log
@Needs pkg-config. Doesn't support Ruby 1.8.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2015/01/03 18:55:43 ryoon Exp $
d73 2
@


1.1
log
@Import ruby215-redmine-2.6.0 as devel/redmine.

Redmine is a flexible project management web application. Written
using the Ruby on Rails framework, it is cross-platform and
cross-database.

Redmine is open source and released under the terms of the GNU
General Public License v2 (GPL).

Features

Some of the main features of Redmine are:

   Multiple projects support
   Flexible role based access control
   Flexible issue tracking system
   Gantt chart and calendar
   News, documents & files management
   Feeds & email notifications
   Per project wiki
   Per project forums
   Time tracking
   Custom fields for issues, time-entries, projects and users
   SCM integration (SVN, CVS, Git, Mercurial, Bazaar and Darcs)
   Issue creation via email
   Multiple LDAP authentication support
   User self-registration support
   Multilanguage support
   Multiple databases support

This package contains all required Ruby gems in it.
Th code in Makefile should be moved to lang/ruby/*.mk later.
@
text
@d1 1
a1 1
# $NetBSD$
d14 2
d78 1
a78 1
USE_TOOLS+=	pax
@

