Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Dec 2015 19:45:33 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r404465 - head/devel/rubygem-rdoc3
Message-ID:  <201512251945.tBPJjXBw014640@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Dec 25 19:45:33 2015
New Revision: 404465
URL: https://svnweb.freebsd.org/changeset/ports/404465

Log:
  - Add LICENSE_FILE
  - Remove BUILD_DEPENDS
  - Rework r277976 in a simpler way

Modified:
  head/devel/rubygem-rdoc3/Makefile

Modified: head/devel/rubygem-rdoc3/Makefile
==============================================================================
--- head/devel/rubygem-rdoc3/Makefile	Fri Dec 25 19:45:28 2015	(r404464)
+++ head/devel/rubygem-rdoc3/Makefile	Fri Dec 25 19:45:33 2015	(r404465)
@@ -11,21 +11,16 @@ COMMENT=	RDoc produces HTML and command-
 
 LICENSE=	GPLv2 RUBY
 LICENSE_COMB=	dual
+LICENSE_FILE_RUBY=	${WRKSRC}/LICENSE.rdoc
 
-BUILD_DEPENDS=	rubygem-json>=1.4:${PORTSDIR}/devel/rubygem-json
 RUN_DEPENDS=	rubygem-json>=1.4:${PORTSDIR}/devel/rubygem-json
 
 NO_ARCH=	yes
-
 USE_RUBY=	yes
 USE_RUBYGEMS=	yes
 RUBYGEM_AUTOPLIST=	yes
 
-GEM_ENV+=	RUBYLIB=${PREFIX}/${GEM_LIB_DIR}/lib
-
-.include <bsd.port.pre.mk>
-
-pre-install:
-RUBYGEM_ARGS+=	--bindir ${WRKDIR}
+post-install:
+	${RM} ${STAGEDIR}${PREFIX}/bin/rdoc ${STAGEDIR}${PREFIX}/bin/ri
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512251945.tBPJjXBw014640>