2015-11-21 10:32:07 +01:00
|
|
|
# $NetBSD: options.mk,v 1.4 2015/11/21 09:32:07 ryoon Exp $
|
Reimport ruby22-redmine-3.0.3 as devel/ruby-redmine. This allows the package to
be used with multiple Ruby versions simultaneously without CONFLICTing with each
other. Main difference is that SHAREDIR, EGDIR, and the helper scripts using RUBY_PKGPREFIX and RUBY_SUFFIX, where applicable. The rcvar will be
ruby_redmine${RUBY_PKGPREFIX} now. Discussed with MAINTAINER some time last
quarter.
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). 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
2015-07-06 01:55:25 +02:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.redmine
|
|
|
|
|
|
|
|
PKG_OPTIONS_REQUIRED_GROUPS= db
|
|
|
|
PKG_OPTIONS_GROUP.db= mysql pgsql sqlite3
|
|
|
|
PKG_SUPPORTED_OPTIONS+= unicorn
|
|
|
|
|
|
|
|
PKG_SUGGESTED_OPTIONS= mysql unicorn
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
PLIST_VARS+= mysql pgsql sqlite3
|
|
|
|
|
|
|
|
###
|
|
|
|
### Use mysql, pgsql, or sqlite3 backend
|
|
|
|
###
|
2015-10-10 04:03:04 +02:00
|
|
|
MYSQL_DISTFILE= mysql2-0.3.20.gem
|
2015-11-21 10:32:07 +01:00
|
|
|
PGSQL_DISTFILE= pg-0.18.4.gem
|
|
|
|
SQLITE3_DISTFILE= sqlite3-1.3.11.gem
|
Reimport ruby22-redmine-3.0.3 as devel/ruby-redmine. This allows the package to
be used with multiple Ruby versions simultaneously without CONFLICTing with each
other. Main difference is that SHAREDIR, EGDIR, and the helper scripts using RUBY_PKGPREFIX and RUBY_SUFFIX, where applicable. The rcvar will be
ruby_redmine${RUBY_PKGPREFIX} now. Discussed with MAINTAINER some time last
quarter.
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). 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
2015-07-06 01:55:25 +02:00
|
|
|
|
|
|
|
.if make (distinfo) || make (mdi) # for checksum generation only
|
2015-10-10 04:03:04 +02:00
|
|
|
GEMS_DISTFILES+= ${MYSQL_DISTFILE}
|
|
|
|
GEMS_DISTFILES+= ${PGSQL_DISTFILE}
|
|
|
|
GEMS_DISTFILES+= ${SQLITE3_DISTFILE}
|
Reimport ruby22-redmine-3.0.3 as devel/ruby-redmine. This allows the package to
be used with multiple Ruby versions simultaneously without CONFLICTing with each
other. Main difference is that SHAREDIR, EGDIR, and the helper scripts using RUBY_PKGPREFIX and RUBY_SUFFIX, where applicable. The rcvar will be
ruby_redmine${RUBY_PKGPREFIX} now. Discussed with MAINTAINER some time last
quarter.
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). 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
2015-07-06 01:55:25 +02:00
|
|
|
.elif !empty(PKG_OPTIONS:Mmysql)
|
2015-10-10 04:03:04 +02:00
|
|
|
GEMS_DISTFILES+= ${MYSQL_DISTFILE}
|
Reimport ruby22-redmine-3.0.3 as devel/ruby-redmine. This allows the package to
be used with multiple Ruby versions simultaneously without CONFLICTing with each
other. Main difference is that SHAREDIR, EGDIR, and the helper scripts using RUBY_PKGPREFIX and RUBY_SUFFIX, where applicable. The rcvar will be
ruby_redmine${RUBY_PKGPREFIX} now. Discussed with MAINTAINER some time last
quarter.
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). 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
2015-07-06 01:55:25 +02:00
|
|
|
.include "../../mk/mysql.buildlink3.mk"
|
2015-10-10 04:03:04 +02:00
|
|
|
RM_PLIST_SRC+= PLIST.mysql
|
Reimport ruby22-redmine-3.0.3 as devel/ruby-redmine. This allows the package to
be used with multiple Ruby versions simultaneously without CONFLICTing with each
other. Main difference is that SHAREDIR, EGDIR, and the helper scripts using RUBY_PKGPREFIX and RUBY_SUFFIX, where applicable. The rcvar will be
ruby_redmine${RUBY_PKGPREFIX} now. Discussed with MAINTAINER some time last
quarter.
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). 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
2015-07-06 01:55:25 +02:00
|
|
|
.elif !empty(PKG_OPTIONS:Mpgsql)
|
2015-10-10 04:03:04 +02:00
|
|
|
GEMS_DISTFILES+= ${PGSQL_DISTFILE}
|
Reimport ruby22-redmine-3.0.3 as devel/ruby-redmine. This allows the package to
be used with multiple Ruby versions simultaneously without CONFLICTing with each
other. Main difference is that SHAREDIR, EGDIR, and the helper scripts using RUBY_PKGPREFIX and RUBY_SUFFIX, where applicable. The rcvar will be
ruby_redmine${RUBY_PKGPREFIX} now. Discussed with MAINTAINER some time last
quarter.
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). 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
2015-07-06 01:55:25 +02:00
|
|
|
.include "../../mk/pgsql.buildlink3.mk"
|
|
|
|
CHECK_INTERPRETER_SKIP+= ${RM_DIR}/gems/gems/pg-*/spec/*
|
|
|
|
CHECK_INTERPRETER_SKIP+= ${RM_DIR}/gems/gems/pg-*/spec/pg/*
|
2015-10-10 04:03:04 +02:00
|
|
|
RM_PLIST_SRC+= PLIST.pgsql
|
Reimport ruby22-redmine-3.0.3 as devel/ruby-redmine. This allows the package to
be used with multiple Ruby versions simultaneously without CONFLICTing with each
other. Main difference is that SHAREDIR, EGDIR, and the helper scripts using RUBY_PKGPREFIX and RUBY_SUFFIX, where applicable. The rcvar will be
ruby_redmine${RUBY_PKGPREFIX} now. Discussed with MAINTAINER some time last
quarter.
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). 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
2015-07-06 01:55:25 +02:00
|
|
|
.elif !empty(PKG_OPTIONS:Msqlite3)
|
2015-10-10 04:03:04 +02:00
|
|
|
GEMS_DISTFILES+= ${SQLITE3_DISTFILE}
|
Reimport ruby22-redmine-3.0.3 as devel/ruby-redmine. This allows the package to
be used with multiple Ruby versions simultaneously without CONFLICTing with each
other. Main difference is that SHAREDIR, EGDIR, and the helper scripts using RUBY_PKGPREFIX and RUBY_SUFFIX, where applicable. The rcvar will be
ruby_redmine${RUBY_PKGPREFIX} now. Discussed with MAINTAINER some time last
quarter.
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). 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
2015-07-06 01:55:25 +02:00
|
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
2015-10-10 04:03:04 +02:00
|
|
|
RM_PLIST_SRC+= PLIST.sqlite3
|
Reimport ruby22-redmine-3.0.3 as devel/ruby-redmine. This allows the package to
be used with multiple Ruby versions simultaneously without CONFLICTing with each
other. Main difference is that SHAREDIR, EGDIR, and the helper scripts using RUBY_PKGPREFIX and RUBY_SUFFIX, where applicable. The rcvar will be
ruby_redmine${RUBY_PKGPREFIX} now. Discussed with MAINTAINER some time last
quarter.
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). 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
2015-07-06 01:55:25 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
###
|
|
|
|
### Use Unicorn web server
|
|
|
|
###
|
|
|
|
.if !empty(PKG_OPTIONS:Municorn) || make (distinfo) || make (mdi)
|
2015-10-10 04:03:04 +02:00
|
|
|
RM_PLIST_SRC+= PLIST.unicorn
|
|
|
|
GEMS_DISTFILES+= kgio-2.10.0.gem \
|
|
|
|
raindrops-0.15.0.gem \
|
2015-11-21 10:32:07 +01:00
|
|
|
unicorn-5.0.1.gem
|
Reimport ruby22-redmine-3.0.3 as devel/ruby-redmine. This allows the package to
be used with multiple Ruby versions simultaneously without CONFLICTing with each
other. Main difference is that SHAREDIR, EGDIR, and the helper scripts using RUBY_PKGPREFIX and RUBY_SUFFIX, where applicable. The rcvar will be
ruby_redmine${RUBY_PKGPREFIX} now. Discussed with MAINTAINER some time last
quarter.
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). 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
2015-07-06 01:55:25 +02:00
|
|
|
|
|
|
|
SUBST_CLASSES+= prefix
|
|
|
|
SUBST_STAGE.prefix= pre-configure
|
|
|
|
SUBST_MESSAGE.prefix= Setting PREFIX and RUBY_PKGPREFIX.
|
|
|
|
SUBST_FILES.prefix= ${WRKDIR}/unicorn.rb
|
|
|
|
SUBST_SED.prefix+= -e "s|@RUBY_PKGPREFIX@|${RUBY_PKGPREFIX}|g"
|
|
|
|
SUBST_VARS.prefix+= PREFIX
|
|
|
|
|
|
|
|
RCD_SCRIPTS+= redmine_unicorn${RUBY_SUFFIX}
|
|
|
|
RCD_SCRIPT_SRC.redmine_unicorn${RUBY_SUFFIX}= ${FILESDIR}/redmine_unicorn.sh
|
|
|
|
|
|
|
|
CONF_FILES+= ${EGDIR}/unicorn.rb.example \
|
|
|
|
${PREFIX}/${RM_DIR}/app/config/unicorn.rb
|
|
|
|
|
2015-10-10 04:03:04 +02:00
|
|
|
PLIST_SRC= ${PLIST_SRC_DFLT} ${RM_PLIST_SRC}
|
|
|
|
|
Reimport ruby22-redmine-3.0.3 as devel/ruby-redmine. This allows the package to
be used with multiple Ruby versions simultaneously without CONFLICTing with each
other. Main difference is that SHAREDIR, EGDIR, and the helper scripts using RUBY_PKGPREFIX and RUBY_SUFFIX, where applicable. The rcvar will be
ruby_redmine${RUBY_PKGPREFIX} now. Discussed with MAINTAINER some time last
quarter.
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). 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
2015-07-06 01:55:25 +02:00
|
|
|
post-extract:
|
|
|
|
${CP} ${FILESDIR}/unicorn.rb ${WRKDIR}/unicorn.rb
|
|
|
|
|
|
|
|
.PHONY: unicorn-post-install
|
|
|
|
unicorn-post-install:
|
|
|
|
${CP} ${WRKDIR}/unicorn.rb \
|
|
|
|
${DESTDIR}${EGDIR}/unicorn.rb.example
|
|
|
|
${CP} ${FILESDIR}/Gemfile.local \
|
|
|
|
${DESTDIR}${PREFIX}/${RM_DIR}/app
|
|
|
|
.endif
|
|
|
|
.PHONY: unicorn-post-install
|
|
|
|
unicorn-post-install:
|
|
|
|
# nothing
|