From owner-freebsd-ruby@FreeBSD.ORG Tue Jan 21 04:11:10 2014 Return-Path: Delivered-To: freebsd-ruby@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 1896DED1 for ; Tue, 21 Jan 2014 04:11:10 +0000 (UTC) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id B59171DAE for ; Tue, 21 Jan 2014 04:11:09 +0000 (UTC) Received: from mouf.net (swills@mouf [199.48.129.64]) by mouf.net (8.14.5/8.14.5) with ESMTP id s0L4Aw5P010880 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 21 Jan 2014 04:11:03 GMT (envelope-from swills@mouf.net) Received: (from swills@localhost) by mouf.net (8.14.5/8.14.5/Submit) id s0L4Aw7M010879; Tue, 21 Jan 2014 04:10:58 GMT (envelope-from swills) Date: Tue, 21 Jan 2014 04:10:58 +0000 From: Steve Wills To: olli hauer Subject: Re: request help to port a ruby based svn2git Message-ID: <20140121041057.GA9303@mouf.net> References: <52DBC5DD.8090202@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52DBC5DD.8090202@gmx.de> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Tue, 21 Jan 2014 04:11:03 +0000 (UTC) X-Spam-Status: No, score=0.0 required=4.5 tests=none autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mouf.net X-Virus-Scanned: clamav-milter 0.97.8 at mouf.net X-Virus-Status: Clean Cc: freebsd-ruby@freebsd.org X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 04:11:10 -0000 Do you specifically need the version from github? If not, you may have an easier time of building the port if you fetch from rubygems.org: http://rubygems.org/gems/svn2git and let the framework do all the work for you. Steve On Sun, Jan 19, 2014 at 01:32:29PM +0100, olli hauer wrote: > Hi, > > I'm trying create a port for https://github.com/nirvdrum/svn2git/ > > Fetching the src from github is working, build and install manually in > WRKSRC is also OK, but doing this with the ports framework drives me mad. > > If extract is not overwritten the framework looks for files that are not > provided, same for build target ... > > Reason why I try to create a port, in first tests it worked well and does > not require a dependency hell like devel/svn2git. > > Perhaps someone from ruby@ can give some hints how to build with the help of > the ports framework. > > Please CC me, I'm not subscribed. > // olli > > > PORTNAME= svn2git > PORTVERSION= 2.2.2 > CATEGORIES= devel ruby > MASTER_SITES= https://github.com/${GH_ACCOUNT}/${PORTNAME}/tarball/${GITVERSION}/ > PKGNAMEPREFIX= ruby- > DISTNAME= ${PORTNAME}-${GITVERSION} > EXTRACT_SUFX= .tar.gz > > MAINTAINER= ruby@FreeBSD.org > COMMENT= Tiny utility for migrating projects from Subversion to Git > > LICENSE= MIT > > FETCH_ARGS= -Fpr > GITVERSION= 11b124b > GH_ACCOUNT= nirvdrum > WRKSRC= ${WRKDIR}/${GH_ACCOUNT}-${PORTNAME}-${GITVERSION} > > USE_RUBY= yes > #GEM_SPEC= ${WRKSRC}/${PORTNAME}.gemspec > USE_RUBYGEMS= yes > #RUBYGEM_AUTOPLIST= yes > > extract: > -@${RM} -rf ${WRKDIR} > -@${MKDIR} ${WRKDIR} > ${TAR} -xzf ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} -C ${WRKDIR} > > build: > (cd ${WRKSRC} && ${RUBYGEMBIN} build ${PORTNAME}.gemspec) > > .include > > _______________________________________________ > freebsd-ruby@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ruby > To unsubscribe, send any mail to "freebsd-ruby-unsubscribe@freebsd.org"