Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2014 13:32:29 +0100
From:      olli hauer <ohauer@gmx.de>
To:        freebsd-ruby@freebsd.org
Cc:        Olli Hauer <ohauer@gmx.de>
Subject:   request help to port a ruby based svn2git
Message-ID:  <52DBC5DD.8090202@gmx.de>

next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>




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