devel/rubygem-devise: fix PR 200625 correctly

This reverts r388685 and modifies the gemspec to not include a file that
caused the offending html file to get generated in the rdoc step.

Bump portrevision because now the rails dependencies are getting pulled
in correctly again.

PR:		200625
Differential Revision:	https://reviews.freebsd.org/D2739
Approved by:	mat (mentor)
This commit is contained in:
Michael Moll 2015-06-07 14:46:31 +00:00
parent 24b9feb6a0
commit dee1ffa610
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=388701

View File

@ -3,6 +3,7 @@
PORTNAME= devise
PORTVERSION= 3.5.1
PORTREVISION= 1
CATEGORIES= devel rubygems
MASTER_SITES= RG
@ -26,11 +27,12 @@ OPTIONS_DEFAULT= RAILS3
RAILS3_DESC= Use Rails 3 as backend
RAILS4_DESC= Use Rails 4 as backend
.include <bsd.port.options.mk>
RAILS3_RUN_DEPENDS= rubygem-railties>=3.2.6:${PORTSDIR}/www/rubygem-railties \
rubygem-responders-rails3>=0:${PORTSDIR}/www/rubygem-responders-rails3
RAILS4_RUN_DEPENDS= rubygem-railties4>=4.1.1:${PORTSDIR}/www/rubygem-railties4 \
rubygem-responders>=0:${PORTSDIR}/www/rubygem-responders
post-patch:
@${REINPLACE_CMD} -e 's|, "test/rails_app/config/routes.rb"||' ${WRKSRC}/${PORTNAME}.gemspec
.include <bsd.port.mk>