Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2014 15:35:32 +0000 (UTC)
From:      Dirk Meyer <dinoex@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r349765 - head/textproc/ruby-amatch
Message-ID:  <201403311535.s2VFZWgJ049398@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Mon Mar 31 15:35:31 2014
New Revision: 349765
URL: http://svnweb.freebsd.org/changeset/ports/349765
QAT: https://qat.redports.org/buildarchive/r349765/

Log:
  - update to 2.2.12
  - better fetch from github
  - add USES=zip

Modified:
  head/textproc/ruby-amatch/Makefile
  head/textproc/ruby-amatch/distinfo

Modified: head/textproc/ruby-amatch/Makefile
==============================================================================
--- head/textproc/ruby-amatch/Makefile	Mon Mar 31 15:23:14 2014	(r349764)
+++ head/textproc/ruby-amatch/Makefile	Mon Mar 31 15:35:31 2014	(r349765)
@@ -2,11 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	amatch
-PORTVERSION=	0.2.7
+PORTVERSION=	0.2.12
 CATEGORIES=	textproc ruby
-MASTER_SITES=	https://codeload.github.com/flori/amatch/zipball/
+MASTER_SITES=	https://github.com/flori/amatch/archive/
 PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
-EXTRACT_SUFX=
 DISTNAME=	v${PORTVERSION}
 DIST_SUBDIR=	ruby/amatch
 
@@ -15,18 +14,19 @@ COMMENT=	Ruby library for approximate st
 
 OPTIONS_DEFINE=	DOCS
 
-USES=		gmake
+USES=		zip gmake
 USE_RUBY=	yes
 USE_RUBY_EXTCONF=	yes
 USE_GITHUB=	yes
 GH_ACCOUNT=	flori
 GH_TAGNAME=	v${PORTVERSION}
-GH_COMMIT=	98473c4
+GH_COMMIT=	v${PORTVERSION}
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 CONFIGURE_WRKSRC=	${WRKSRC}/ext
 BUILD_WRKSRC=	${WRKSRC}/ext
 
 PLIST_FILES=	bin/agrep.rb %%RUBY_SITELIBDIR%%/amatch/version.rb \
-		%%RUBY_SITEARCHLIBDIR%%/amatch.so
+		%%RUBY_SITEARCHLIBDIR%%/amatch_ext.so
 PLIST_DIRS=	%%RUBY_SITELIBDIR%%/amatch
 
 AMATCH_RUBY=	install.rb
@@ -42,7 +42,7 @@ do-install:
 		${STAGEDIR}${PREFIX}/bin/
 	${INSTALL_SCRIPT} ${WRKSRC}/lib/amatch/version.rb \
 		${STAGEDIR}${RUBY_SITELIBDIR}/amatch/
-	${INSTALL_DATA} ${WRKSRC}/ext/amatch.so \
+	${INSTALL_DATA} ${WRKSRC}/ext/amatch_ext.so \
 		${STAGEDIR}${RUBY_SITEARCHLIBDIR}/
 .if ${PORT_OPTIONS:MDOCS}
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/

Modified: head/textproc/ruby-amatch/distinfo
==============================================================================
--- head/textproc/ruby-amatch/distinfo	Mon Mar 31 15:23:14 2014	(r349764)
+++ head/textproc/ruby-amatch/distinfo	Mon Mar 31 15:35:31 2014	(r349765)
@@ -1,2 +1,2 @@
-SHA256 (ruby/amatch/v0.2.7) = 2d254225a5006efe35feec75fd36c5291045812bf45533e966344dafb1a2cb14
-SIZE (ruby/amatch/v0.2.7) = 30512
+SHA256 (ruby/amatch/v0.2.12.zip) = af77c3035cce67faa33f22f4f3f1375e52989bd3168469c59e4ce59149232c1c
+SIZE (ruby/amatch/v0.2.12.zip) = 32323



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