From owner-svn-ports-head@FreeBSD.ORG Mon Dec 2 18:36:22 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF73FD30; Mon, 2 Dec 2013 18:36:22 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BB3D01B0F; Mon, 2 Dec 2013 18:36:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB2IaMvT022495; Mon, 2 Dec 2013 18:36:22 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB2IaM9N022494; Mon, 2 Dec 2013 18:36:22 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201312021836.rB2IaM9N022494@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Mon, 2 Dec 2013 18:36:22 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335530 - head/databases/rubygem-activerecord X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Dec 2013 18:36:22 -0000 Author: sunpoet Date: Mon Dec 2 18:36:22 2013 New Revision: 335530 URL: http://svnweb.freebsd.org/changeset/ports/335530 Log: - Add LICENSE - Convert to new options helper Modified: head/databases/rubygem-activerecord/Makefile Modified: head/databases/rubygem-activerecord/Makefile ============================================================================== --- head/databases/rubygem-activerecord/Makefile Mon Dec 2 18:36:18 2013 (r335529) +++ head/databases/rubygem-activerecord/Makefile Mon Dec 2 18:36:22 2013 (r335530) @@ -9,6 +9,8 @@ MASTER_SITES= RG MAINTAINER= ruby@FreeBSD.org COMMENT= Object-relational mapping layer for Rails MVC Framework +LICENSE= MIT + RUN_DEPENDS= rubygem-activesupport>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activesupport \ rubygem-activemodel>=${PORTVERSION}:${PORTSDIR}/databases/rubygem-activemodel \ rubygem-tzinfo>=0.3.29:${PORTSDIR}/devel/rubygem-tzinfo \ @@ -26,18 +28,8 @@ OPTIONSFILE= ${PORT_DBDIR}/rubygem-${POR GEM_ENV+= LANG=en_US.UTF-8 -.include - -.if ${PORT_OPTIONS:MMYSQL} -RUN_DEPENDS+= ${RUBY_PKGNAMEPREFIX}mysql>0:${PORTSDIR}/databases/ruby-mysql -.endif - -.if ${PORT_OPTIONS:MPGSQL} -RUN_DEPENDS+= rubygem-pg>=0:${PORTSDIR}/databases/rubygem-pg -.endif - -.if ${PORT_OPTIONS:MSQLITE3} -RUN_DEPENDS+= rubygem-sqlite3>=1.2.1:${PORTSDIR}/databases/rubygem-sqlite3 -.endif +MYSQL_RUN_DEPENDS= ${RUBY_PKGNAMEPREFIX}mysql>=0:${PORTSDIR}/databases/ruby-mysql +PGSQL_RUN_DEPENDS= rubygem-pg>=0:${PORTSDIR}/databases/rubygem-pg +SQLITE3_RUN_DEPENDS= rubygem-sqlite3>=1.2.1:${PORTSDIR}/databases/rubygem-sqlite3 .include