head	1.42;
access;
symbols
	RELEASE_8_3_0:1.40
	RELEASE_9_0_0:1.37
	RELEASE_7_4_0:1.22
	RELEASE_8_2_0:1.22
	RELEASE_6_EOL:1.18
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.6
	RELEASE_8_0_0:1.2;
locks; strict;
comment	@# @;


1.42
date	2012.11.17.06.03.02;	author svnexp;	state Exp;
branches;
next	1.41;

1.41
date	2012.07.21.22.22.23;	author hrs;	state Exp;
branches;
next	1.40;

1.40
date	2012.02.11.22.34.48;	author pgollucci;	state Exp;
branches;
next	1.39;

1.39
date	2012.02.07.19.18.13;	author pgollucci;	state Exp;
branches;
next	1.38;

1.38
date	2011.12.17.03.26.22;	author linimon;	state Exp;
branches;
next	1.37;

1.37
date	2011.12.02.15.11.43;	author decke;	state Exp;
branches;
next	1.36;

1.36
date	2011.11.11.12.16.42;	author dinoex;	state Exp;
branches;
next	1.35;

1.35
date	2011.11.01.23.55.41;	author pgollucci;	state Exp;
branches;
next	1.34;

1.34
date	2011.09.10.15.20.53;	author decke;	state Exp;
branches;
next	1.33;

1.33
date	2011.09.10.15.13.19;	author decke;	state Exp;
branches;
next	1.32;

1.32
date	2011.09.10.14.18.50;	author decke;	state Exp;
branches;
next	1.31;

1.31
date	2011.08.22.20.16.59;	author decke;	state Exp;
branches;
next	1.30;

1.30
date	2011.07.20.18.56.02;	author decke;	state Exp;
branches;
next	1.29;

1.29
date	2011.05.31.14.57.44;	author decke;	state Exp;
branches;
next	1.28;

1.28
date	2011.04.30.15.31.00;	author decke;	state Exp;
branches;
next	1.27;

1.27
date	2011.03.17.10.49.42;	author decke;	state Exp;
branches;
next	1.26;

1.26
date	2011.03.14.13.23.31;	author decke;	state Exp;
branches;
next	1.25;

1.25
date	2011.03.08.20.53.04;	author decke;	state Exp;
branches;
next	1.24;

1.24
date	2011.03.07.21.29.49;	author decke;	state Exp;
branches;
next	1.23;

1.23
date	2011.02.27.09.38.59;	author decke;	state Exp;
branches;
next	1.22;

1.22
date	2011.01.31.10.24.12;	author decke;	state Exp;
branches;
next	1.21;

1.21
date	2011.01.14.13.36.46;	author decke;	state Exp;
branches;
next	1.20;

1.20
date	2011.01.12.16.39.54;	author decke;	state Exp;
branches;
next	1.19;

1.19
date	2010.12.23.14.17.11;	author decke;	state Exp;
branches;
next	1.18;

1.18
date	2010.11.29.18.48.27;	author decke;	state Exp;
branches;
next	1.17;

1.17
date	2010.11.01.20.01.44;	author decke;	state Exp;
branches;
next	1.16;

1.16
date	2010.09.27.14.08.56;	author decke;	state Exp;
branches;
next	1.15;

1.15
date	2010.08.23.11.25.13;	author decke;	state Exp;
branches;
next	1.14;

1.14
date	2010.07.10.08.37.46;	author decke;	state Exp;
branches;
next	1.13;

1.13
date	2010.06.30.12.33.04;	author decke;	state Exp;
branches;
next	1.12;

1.12
date	2010.05.26.12.36.31;	author decke;	state Exp;
branches;
next	1.11;

1.11
date	2010.05.14.18.50.43;	author decke;	state Exp;
branches;
next	1.10;

1.10
date	2010.04.01.12.45.37;	author decke;	state Exp;
branches;
next	1.9;

1.9
date	2010.03.16.02.02.52;	author dougb;	state Exp;
branches;
next	1.8;

1.8
date	2010.03.14.04.07.41;	author wxs;	state Exp;
branches;
next	1.7;

1.7
date	2010.03.10.12.33.05;	author wen;	state Exp;
branches;
next	1.6;

1.6
date	2010.02.22.21.00.26;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2010.01.31.13.19.07;	author miwi;	state Exp;
branches;
next	1.4;

1.4
date	2009.11.17.23.05.05;	author miwi;	state Exp;
branches;
next	1.3;

1.3
date	2009.11.13.23.35.22;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2009.09.18.22.52.34;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2009.05.23.14.09.24;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.42
log
@Switch exporter over
@
text
@# New ports collection makefile for:	redmine
# Date created:		2009-02-24
# Whom:			Bernhard Froehlich <decke@@bluelife.at>
#
# $FreeBSD: head/www/redmine/Makefile 301292 2012-07-21 22:22:23Z hrs $
#

PORTNAME=	redmine
PORTVERSION=	1.3.1
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}

MAINTAINER=	ruby@@FreeBSD.org
COMMENT=	A flexible project management web application

RUN_DEPENDS=	rackup:${PORTSDIR}/www/rubygem-rack \
		rubygem-rubytree>=0:${PORTSDIR}/devel/rubygem-rubytree \
		rubygem-i18n>=0.4.2:${PORTSDIR}/devel/rubygem-i18n

.if defined(RUBY_VER) && ${RUBY_VER} != "1.8"
IGNORE=		requires ruby1.8, but you have RUBY_VER set to 1.9
.else
RUBY_VER=	1.8
.endif
USE_RUBY=	yes
USE_RUBY_FEATURES=	iconv
USE_RAKE=	yes
NO_BUILD=	yes
SUB_LIST+=	RUBY_NAME=${RUBY_NAME}

OPTIONS_DEFINE=	MYSQL POSTGRESQL RMAGIC WWWSERVER
OPTIONS_DEFAULT=MYSQL            RMAGIC WWWSERVER THIN
OPTIONS_SINGLE=	WWWSERVER
OPTIONS_SINGLE_WWWSERVER=	THIN PASSENGER
POSTGRESQL_DESC=Enable PostgreSQL support
RMAGIC_DESC=	Enable Gantt charts support
THIN_DESC=	Use Thin WEB server
PASSENGER_DESC=	Use Apache/Nginx WEB server
NO_OPTIONS_SORT=yes

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MMYSQL}
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/mysql.so:${PORTSDIR}/databases/ruby-mysql
.endif

.if ${PORT_OPTIONS:MPOSTGRESQL}
RUN_DEPENDS+=	rubygem-pg>=0:${PORTSDIR}/databases/rubygem-pg
.endif

.if ${PORT_OPTIONS:MRMAGIC}
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/RMagick2.so:${PORTSDIR}/graphics/ruby-rmagick
.endif

.if ${PORT_OPTIONS:MTHIN}
USERS=		${WWWOWN}
GROUPS=		${WWWGRP}
RUN_DEPENDS+=	thin:${PORTSDIR}/www/rubygem-thin
USE_RC_SUBR=	redmine
SUB_LIST+=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
.endif

.if ${PORT_OPTIONS:MPASSENGER}
RUN_DEPENDS+=	passenger-config:${PORTSDIR}/www/rubygem-passenger
.endif

post-extract:
	${MV} ${WRKSRC}/config/settings.yml ${WRKSRC}/config/settings.yml-dist

pre-install:
	${MKDIR} ${WRKSRC}/public/plugin_assets

do-install:
	${MKDIR} ${WWWDIR}
	cd ${WRKSRC} && \
	${COPYTREE_SHARE} "*" ${WWWDIR} "! ( -name *\.orig -o -name *\.bak )"
	${FIND} ${WRKSRC}/script -type f -print | ${XARGS} ${CHMOD} 755

post-install:
	if ! [ -r ${WWWDIR}/config/settings.yml ]; then			\
		${INSTALL_DATA} ${WWWDIR}/config/settings.yml-dist	\
			${WWWDIR}/config/settings.yml;			\
	fi
	${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
	@@${CAT} ${PKGMESSAGE}

.include <bsd.port.post.mk>
@


1.41
log
@SVN rev 301292 on 2012-07-21 22:22:23Z by hrs

- OPTIONSng.
- Fix BROKEN.
- Do not overwrite config/settings.yml.
- Add missing empty directories in pkg-plist.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.40
log
@- Update to 1.3.1
- Still BROKEN w/ devel/ruby-gems

PR:             ports/164952
Submitted by:   Mikhail T. <m.tsatsenko@@gmail.com>
With Hat:       ruby@@
@
text
@d10 1
d33 9
a41 7
BROKEN=		Does not work with RubyGems 1.8

OPTIONS=	MYSQL "Enable MySQL support" on \
		POSTGRESQL "Enable PostgreSQL support" off \
		RMAGIC "Enable Gantt charts support" on \
		THIN "Use Thin WEB server" on \
		PASSENGER "Use Apache/Nginx WEB server" off
d45 1
a45 1
.if defined(WITH_MYSQL)
d49 1
a49 1
.if defined(WITH_POSTGRESQL)
d53 1
a53 1
.if defined(WITH_RMAGIC)
d57 1
a57 1
.if defined(WITH_THIN)
d65 1
a65 1
.if defined(WITH_PASSENGER)
d69 5
a73 4
.if !defined(WITH_THIN) && !defined(WITH_PASSENGER)
IGNORE=		either Thin or Apache/Nginx WEB server option required. \
		Please 'make config' again.
.endif
d77 3
a79 1
	(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${WWWDIR} "! ( -name *\.orig -o -name *\.bak )")
d81 5
a85 1
	${MKDIR} ${WWWDIR}/public/plugin_assets
a86 4

	${FIND} ${WWWDIR}/script -type f -exec ${CHMOD} 755 {} \;

post-install:
@


1.39
log
@- Update to 1.3.0
- Still broken with rubygems 1.8.x

PR:             ports/164269
Submitted by:   Mikhail T. <m.tsatsenko@@gmail.com>
With Hat:       ruby@@
@
text
@d9 1
a9 1
PORTVERSION=	1.3.0
@


1.38
log
@Work around duplicate ruby 1.8/1.9 dependency if RUBY_VER is 1.9.

Discussed with:		pgollucci
@
text
@d9 1
a9 2
PORTVERSION=	1.2.1
PORTREVISION=	1
d18 1
@


1.37
log
@- Mark BROKEN again because the bug in RubyGems 1.8.x is still there

undefined method `name' for "daemons":String
/usr/local/www/redmine/config/../vendor/rails/railties/lib/rails/gem_dependency.rb:277:in `=='

http://rubyforge.org/tracker/index.php?func=detail&aid=29188&group_id=126&atid=575

PR:		ports/162994
Reported by:	Chris <chris@@imagemetrica.com>,
		Armin Pirkovitsch <armin@@frozen-zone.org>,
		Dirk Meyer <dinoex@@FreeBSD.org>,
		myself
Discussed with:	miwi
Feature safe:	yes
@
text
@d21 3
d25 1
@


1.36
log
@- set MAINTAINER to ruby
Feature safe:	yes
@
text
@d28 2
@


1.35
log
@- Unmark broken, it works just fine
$ cd /var/db/pkg ; ls -1d redmine-1.2.1 ruby1*
redmine-1.2.1/
ruby18-gems-1.8.10/
ruby18-iconv-1.8.7.352,1/
ruby18-mysql-2.8.2_1/
ruby18-rmagick-2.13.1_1/

The bug sited in the previous commit
http://rubyforge.org/tracker/index.php?func=detail&aid=29188&group_id=126&atid=575
is for rails 2.3.11 and rubygems 1.8.1 neither of which are actually in the ports tree
anymore

With Hat:	ruby@@
@
text
@d15 1
a15 1
MAINTAINER=	dinoex@@FreeBSD.org
@


1.34
log
@- Pass maintainership to dinoex@@

Discussed with:	dinoex (on IRC)
@
text
@a27 2
BROKEN=		Does not work with RubyGems 1.8

@


1.33
log
@- Mark BROKEN because of a bug in RubyGems 1.8.x

http://rubyforge.org/tracker/index.php?func=detail&aid=29188&group_id=126&atid=575
@
text
@d15 1
a15 1
MAINTAINER=	decke@@FreeBSD.org
@


1.32
log
@- Switch Postgresql ruby client dependency to databases/rubygem-pg

PR:		ports/160587
Submitted by:	Dirk Meyer <dirk.meyer@@dinoex.sub.org>
@
text
@d28 2
@


1.31
log
@- Set required ruby version to 1.8
- Bump PORTREVISION
@
text
@d41 1
a41 1
RUN_DEPENDS+=	${RUBY_SITEARCHLIBDIR}/pg.so:${PORTSDIR}/databases/ruby-pg
@


1.30
log
@- Update to 1.2.1
@
text
@d10 1
d21 1
@


1.29
log
@- Update to 1.2.0
- Remove old hacks for i18n >= 0.5.0 and RubyGems >= 1.5.0
@
text
@d9 1
a9 1
PORTVERSION=	1.2.0
@


1.28
log
@- Update to 1.1.3
@
text
@d9 1
a9 1
PORTVERSION=	1.1.3
a62 5
post-patch:
	# hack to fix template syntax for rubygem-i18n >= 0.5.0
	${FIND} ${WRKSRC} -name "*.yml" -type f | ${XARGS} ${REINPLACE_CMD} -e \
		's|{{|%{|g ; s|}}|}|g'

@


1.27
log
@- Fix nasty bug in COPYTREE_SHARE line
- Bump PORTREVISION

Reported by:	pointyhat (via pav)
@
text
@d9 1
a9 2
PORTVERSION=	1.1.2
PORTREVISION=	3
@


1.26
log
@- Add fix to work with RubyGems 1.6.x
- Bump PORTREVISION

RubyGems 1.6.x is incompatible with the bundled rails 2.3.5. It's
documented in the RubyGems release notes that "RubyGems no longer requires
'thread'. Rails < 3 will need to add require 'thread' to their applications."

PR:		ports/155492
@
text
@d10 1
a10 1
PORTREVISION=	2
d71 1
a71 1
	(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${WWWDIR} "! -name *.orig ! -name *.bak")
@


1.25
log
@- Improve rc script with alternate user/group
- Add USERS/GROUPS
- Bump PORTREVISION

PR:		ports/154909
Submitted by:	David Demelier <demelier.david@@gmail.com>
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.24
log
@- Update to 1.1.2

Security:	http://www.vuxml.org/freebsd/cf96cd8d-48fb-11e0-98a6-0050569b2d21.html
@
text
@d10 1
d48 2
d52 1
@


1.23
log
@- Fix with ruby-gems 1.5.x
- Bump PORTREVISION

Reported by:	Armin Pirkovitsch <armin at frozen-zone dot org>
Obtained from:	http://www.redmine.org/issues/7516
@
text
@d9 1
a9 2
PORTVERSION=	1.1.1
PORTREVISION=	1
@


1.22
log
@- Update to 1.1.1

Feature safe:	yes
@
text
@d10 1
@


1.21
log
@- Add fix for incompatibilities with rubygem-i18n >= 0.5.0
- Readd patch to remove i18n check for 0.4.2
- Warn users of 3rd party plugins in UPDATING about possible incompatibilities
- Do not install .bak files

Feature safe:	yes
@
text
@d9 1
a9 2
PORTVERSION=	1.1.0
PORTREVISION=	1
@


1.20
log
@- Update to 1.1.0
- Remove non working patch for i18n gem. You need to follow UPDATING now!

Feature safe:	yes
@
text
@d10 1
d18 2
a19 1
RUN_DEPENDS=	rackup:${PORTSDIR}/www/rubygem-rack
d61 5
d68 1
a68 1
	(cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${WWWDIR} "! -name *.orig")
@


1.19
log
@- Update to 1.0.5

Security:	http://www.vuxml.org/freebsd/584c506d-0e98-11e0-b59b-0050569b2d21.html
@
text
@d9 1
a9 1
PORTVERSION=	1.0.5
@


1.18
log
@- Update to 1.0.4
@
text
@d9 1
a9 1
PORTVERSION=	1.0.4
@


1.17
log
@- Update to 1.0.3
@
text
@d9 1
a9 1
PORTVERSION=	1.0.3
@


1.16
log
@- Update to 1.0.2
- Pet portlint

Approved by:	beat (co-mentor)
@
text
@d9 1
a9 1
PORTVERSION=	1.0.2
@


1.15
log
@- Update to 1.0.1

Approved by:	beat (co-mentor)
@
text
@d9 1
a9 1
PORTVERSION=	1.0.1
d55 1
a55 1
IGNORE=		Either Thin or Apache/Nginx WEB server option required. \
@


1.14
log
@- Update to 0.9.6

Approved by:	miwi (mentor)
Security:	ba61ce15-8a7b-11df-87ec-0050569b2d21
@
text
@d9 1
a9 1
PORTVERSION=	0.9.6
@


1.13
log
@- Update to 0.9.5
- Improve pkg-plist and use @@dirrmtry

Approved by:	miwi (mentor)
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	0.9.5
@


1.12
log
@- Fix after rack 1.1.0 update
- Bump PORTREVISION

Discussed with:	pgollucci@@
Approved by:	beat (co-mentor)
@
text
@d9 1
a9 2
PORTVERSION=	0.9.4
PORTREVISION=	1
@


1.11
log
@- Update to 0.9.4
- Add optional Gantt chart support
- Replace mandatory thin dependency with optional thin or Apache/nginx support
- Improve pkg-plist

PR:             145633
Submitted by:   Artem Naluzhnyy <tut (at) nhamon.com.ua>
Approved by:    beat (co-mentor)
Security:       http://www.vuxml.org/freebsd/fcc39d22-5777-11df-bf33-001a92771ec2.html
@
text
@d10 1
@


1.10
log
@- Change to my FreeBSD email address

Approved by:	miwi (mentor), beat (co-mentor)
@
text
@d9 1
a9 2
PORTVERSION=	0.9.3
PORTREVISION=	2
d17 1
a17 2
RUN_DEPENDS=	rackup:${PORTSDIR}/www/rubygem-rack \
		thin:${PORTSDIR}/www/rubygem-thin
a22 1
USE_RC_SUBR=	redmine
d25 5
a29 2
OPTIONS=	MYSQL	"Enable MySQL Support" on \
		POSTGRESQL "Enable PostgreSQL Support" off
d41 18
@


1.9
log
@Fix rc.d script.

Submitted by:	maintainer
@
text
@d15 1
a15 1
MAINTAINER=	decke@@bluelife.at
@


1.8
log
@- Add RC script.

PR:		ports/144299
Submitted by:	Bernhard Froehlich <decke@@bluelife.at> (maintainer)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.7
log
@- Update to 0.9.3

PR:		ports/144394
Submitted by:	Bernhard Froehlich <decke@@bluelife.at> (maintainer)
@
text
@d10 1
d18 3
d25 2
@


1.6
log
@- Update to 0.9.2

PR:		143966
Submitted by:	Bernhard Froehlich <decke@@bluelife.at> (maintainer)
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	0.9.2
@


1.5
log
@- Update to 0.9.1

PR:		143399
Submitted by:	Bernhard Froehlich <decke@@bluelife.at> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.9.1
d42 1
a42 3
.for f in files log tmp public/plugin_assets
	${CHMOD} -R 755 ${WWWDIR}/${f}
.endfor
@


1.4
log
@- Update to 0.8.7

PR:		140578
Submitted by:	Bernhard Froehlich <decke@@bluelife.at> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.8.7
d22 13
d49 1
a49 1
.include <bsd.port.mk>
@


1.3
log
@- Update to 0.8.6

PR:		140513
Submitted by:	Bernhard Froehlich <decke@@bluelife.at> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.8.6
@


1.2
log
@- Update to 0.8.5
- Removed rails dependency because redmine includes rails 2.1.2 in vendor/
- Added patch for missing redmine version bump to 0.8.5
- Added pkg-message with links to Redmine Install/Upgrade Guide
- Makefile improvements

PR:		138857
Submitted by:	Bernhard Froehlich <decke@@bluelife.at> (maintainer)
Feature safe: yes
@
text
@d9 1
a9 1
PORTVERSION=	0.8.5
d11 2
a12 1
MASTER_SITES=	RF
@


1.1
log
@Redmine is a flexible project management web application
written using Ruby on Rails framework, it is cross-platform
and cross-database.

Feature Overview:
* 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

WWW:	http://www.redmine.org/

PR:		ports/134663
Submitted by:	Bernahrd Froehlich <decke at bluelife.at>
@
text
@d3 1
a3 1
# Whom:			Bernahrd Froehlich <decke@@bluelife.at>
d9 1
a9 1
PORTVERSION=	0.8.4
a15 2
RUN_DEPENDS=	${LOCALBASE}/bin/rails:${PORTSDIR}/www/rubygem-rails

d23 2
a24 1
	${CP} -pR ${WRKSRC}/ ${WWWDIR}
d28 6
a33 3
	for f in files log tmp public/plugin_assets; do \
		${CHMOD} -R 755 ${WWWDIR}/$$f; \
	done
@

