Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Sep 2015 16:25:08 +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: r396010 - head/www/ruby-aws
Message-ID:  <201509031625.t83GP8ci036354@repo.freebsd.org>

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

Log:
  - Add LICENSE
  - Add missing EXAMPLES option
  - Add NO_ARCH
  - Convert to new options target helper
  - Use BROKEN_RUBY22
  - Use single space after WWW:
  
  Approved by:	portmgr (blanket)
  With hat:	ruby

Modified:
  head/www/ruby-aws/Makefile
  head/www/ruby-aws/pkg-descr

Modified: head/www/ruby-aws/Makefile
==============================================================================
--- head/www/ruby-aws/Makefile	Thu Sep  3 16:25:03 2015	(r396009)
+++ head/www/ruby-aws/Makefile	Thu Sep  3 16:25:08 2015	(r396010)
@@ -12,30 +12,32 @@ DIST_SUBDIR=	ruby
 MAINTAINER=	don@na.rim.or.jp
 COMMENT=	Ruby interface to Amazon Web Services
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+BROKEN_RUBY22=	yes
+
 CONFLICTS=	ruby-amazon-[0-9]*
 
+NO_ARCH=	yes
 USE_RUBY=	yes
 USE_RUBY_SETUP=	yes
 
 DOCS=		COPYING INSTALL NEWS README
 EXAMPLES=	example/*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS EXAMPLES
 
-post-install:
-	${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
-.for f in ${EXAMPLES}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
-.endfor
+post-install-DOCS-on:
 	${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/
 .for f in ${DOCS}
 	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
 .endfor
 
-.include <bsd.port.pre.mk>
-
-.if ${RUBY_VER} >= 2.2
-BROKEN=		Does not build
-.endif
+post-install-EXAMPLES-on:
+	${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
+.for f in ${EXAMPLES}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
+.endfor
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

Modified: head/www/ruby-aws/pkg-descr
==============================================================================
--- head/www/ruby-aws/pkg-descr	Thu Sep  3 16:25:03 2015	(r396009)
+++ head/www/ruby-aws/pkg-descr	Thu Sep  3 16:25:08 2015	(r396010)
@@ -2,4 +2,4 @@ Ruby/AWS is a Ruby language library that
 the popular Amazon Web site via the REST (XML over HTTP) based Amazon
 Web Services.  It is the successor to the now obsolete Ruby/Amazon.
 
-WWW:	http://www.caliban.org/ruby/ruby-aws/
+WWW: http://www.caliban.org/ruby/ruby-aws/



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