Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2015 16:24:41 +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: r396004 - head/mail/ruby-rmail
Message-ID:  <201509031624.t83GOfWV035664@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Thu Sep  3 16:24:40 2015
New Revision: 396004
URL: https://svnweb.freebsd.org/changeset/ports/396004

Log:
  - Add LICENSE
  - Convert to new options target helper
  - Add NO_ARCH
  - Use BROKEN_RUBY22
  - Remove outdated post-extract:

Modified:
  head/mail/ruby-rmail/Makefile

Modified: head/mail/ruby-rmail/Makefile
==============================================================================
--- head/mail/ruby-rmail/Makefile	Thu Sep  3 16:24:36 2015	(r396003)
+++ head/mail/ruby-rmail/Makefile	Thu Sep  3 16:24:40 2015	(r396004)
@@ -12,27 +12,22 @@ DIST_SUBDIR=	ruby
 MAINTAINER=	ruby@FreeBSD.org
 COMMENT=	Lightweight mail manipulating library for Ruby
 
-USE_RUBY=	yes
-USE_RUBY_SETUP=	yes
-RUBY_SETUP=	install.rb
+LICENSE=	BSD3CLAUSE
 
-DOCS=		NEWS NOTES README THANKS TODO doc
+BROKEN_RUBY22=	yes
 
 OPTIONS_DEFINE=	DOCS
 
-post-extract:
-	${FIND} ${WRKSRC} -name '*~' -delete
+NO_ARCH=	yes
+USE_RUBY=	yes
+USE_RUBY_SETUP=	yes
+RUBY_SETUP=	install.rb
+
+DOCS=		NEWS NOTES README THANKS TODO
 
-post-install:
-	${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
-.for f in ${DOCS}
-	${CP} -R ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
-.endfor
-
-.include <bsd.port.pre.mk>
-
-.if ${RUBY_VER} >= 2.2
-BROKEN=         Does not build
-.endif
+post-install-DOCS-on:
+	${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/doc/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${RUBY_MODDOCDIR}/
+	cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${RUBY_MODDOCDIR}/doc/
 
-.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?201509031624.t83GOfWV035664>