aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjrm <jrm@FreeBSD.org>2017-10-19 08:17:04 +0800
committerjrm <jrm@FreeBSD.org>2017-10-19 08:17:04 +0800
commit38bfe70989b4888d6af1f530ab0691de144e99f0 (patch)
tree39a3206a072ce11911d4bee6bfc76b90189ecd4f
parenta18320742040d076dcecb0dcf08a659c55af5820 (diff)
downloadfreebsd-ports-gnome-38bfe70989b4888d6af1f530ab0691de144e99f0.tar.gz
freebsd-ports-gnome-38bfe70989b4888d6af1f530ab0691de144e99f0.tar.zst
freebsd-ports-gnome-38bfe70989b4888d6af1f530ab0691de144e99f0.zip
www/rubygem-redis-rack: Avoid conflicts with devel/rubygem-appraisal and
devel/rubygem-rake by not installing bin/appraisal and bin/rake. While here, use DISTVERSION and ordering as recommended in the Porter's Handbook.
-rw-r--r--www/rubygem-redis-rack/Makefile12
1 files changed, 8 insertions, 4 deletions
diff --git a/www/rubygem-redis-rack/Makefile b/www/rubygem-redis-rack/Makefile
index cea08ce95ef7..f37d7fef6483 100644
--- a/www/rubygem-redis-rack/Makefile
+++ b/www/rubygem-redis-rack/Makefile
@@ -1,7 +1,8 @@
# $FreeBSD$
PORTNAME= redis-rack
-PORTVERSION= 2.0.3
+DISTVERSION= 2.0.3
+PORTREVISION= 1
CATEGORIES= www rubygems
MASTER_SITES= RG
@@ -14,10 +15,13 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
RUN_DEPENDS= rubygem-rack>=1.5:www/rubygem-rack \
rubygem-redis-store>=1.2:devel/rubygem-redis-store
-NO_ARCH= yes
-USE_RUBY= yes
USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
-PLIST_FILES= bin/appraisal bin/rake
+post-install:
+ @${RM} ${STAGEDIR}${PREFIX}/bin/appraisal \
+ ${STAGEDIR}${PREFIX}/bin/rake
.include <bsd.port.mk>