aboutsummaryrefslogtreecommitdiff
path: root/www/rubygem-innate
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-06-23 18:22:54 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-06-23 18:22:54 +0000
commit990a779a543458757df7e5c0e5fb18c096d64363 (patch)
treed92813cb691af08f386651f5a57ce3336ff6a58f /www/rubygem-innate
parentc18edcc477640162963f422e8a490b2d08069c00 (diff)
downloadports-990a779a543458757df7e5c0e5fb18c096d64363.tar.gz
ports-990a779a543458757df7e5c0e5fb18c096d64363.zip
Notes
Diffstat (limited to 'www/rubygem-innate')
-rw-r--r--www/rubygem-innate/Makefile5
-rw-r--r--www/rubygem-innate/files/redirect.rb.patch11
2 files changed, 1 insertions, 15 deletions
diff --git a/www/rubygem-innate/Makefile b/www/rubygem-innate/Makefile
index 72e9088a94c2..f53e1612a87b 100644
--- a/www/rubygem-innate/Makefile
+++ b/www/rubygem-innate/Makefile
@@ -7,6 +7,7 @@
PORTNAME= innate
PORTVERSION= 2010.04
+PORTREVISION= 1
CATEGORIES= www rubygems
MASTER_SITES= RG
@@ -19,8 +20,4 @@ USE_RUBY= yes
USE_RUBYGEMS= yes
RUBYGEM_AUTOPLIST= yes
-post-install:
- @${PATCH} -p0 -d ${PREFIX}/${GEM_LIB_DIR} < ${PATCHDIR}/redirect.rb.patch
- @${FIND} ${PREFIX}/${GEM_LIB_DIR} -name "*.orig" -delete
-
.include <bsd.port.mk>
diff --git a/www/rubygem-innate/files/redirect.rb.patch b/www/rubygem-innate/files/redirect.rb.patch
deleted file mode 100644
index 3481add2046e..000000000000
--- a/www/rubygem-innate/files/redirect.rb.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- lib/innate/helper/redirect.rb.orig 2009-11-04 20:42:37.753852619 +0800
-+++ lib/innate/helper/redirect.rb 2009-11-04 20:18:19.000000000 +0800
-@@ -77,7 +77,7 @@
- redirect(referer) unless referer_uri == request_uri
- end
-
-- redirect(fallback)
-+ redirect(Innate.options.prefix + fallback)
- end
- alias redirect_referer redirect_referrer
- end