svn commit: r452390 - head/www/rubygem-redis-rack

Joseph Mingrone jrm at FreeBSD.org
Thu Oct 19 00:17:05 UTC 2017


Author: jrm
Date: Thu Oct 19 00:17:04 2017
New Revision: 452390
URL: https://svnweb.freebsd.org/changeset/ports/452390

Log:
  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.

Modified:
  head/www/rubygem-redis-rack/Makefile

Modified: head/www/rubygem-redis-rack/Makefile
==============================================================================
--- head/www/rubygem-redis-rack/Makefile	Wed Oct 18 23:26:26 2017	(r452389)
+++ head/www/rubygem-redis-rack/Makefile	Thu Oct 19 00:17:04 2017	(r452390)
@@ -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
 
-PLIST_FILES=	bin/appraisal bin/rake
+NO_ARCH=	yes
+
+post-install:
+	@${RM} ${STAGEDIR}${PREFIX}/bin/appraisal \
+		${STAGEDIR}${PREFIX}/bin/rake
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list