Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2014 14:12:45 +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: r349621 - in head/textproc/ruby-amatch: . files
Message-ID:  <201403301412.s2UECjak006481@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dinoex
Date: Sun Mar 30 14:12:45 2014
New Revision: 349621
URL: http://svnweb.freebsd.org/changeset/ports/349621
QAT: https://qat.redports.org/buildarchive/r349621/

Log:
  - update to 0.2.7 from github
  - use STAGEDIR

Deleted:
  head/textproc/ruby-amatch/files/patch-ext_amatch.c
Modified:
  head/textproc/ruby-amatch/Makefile
  head/textproc/ruby-amatch/distinfo

Modified: head/textproc/ruby-amatch/Makefile
==============================================================================
--- head/textproc/ruby-amatch/Makefile	Sun Mar 30 13:59:07 2014	(r349620)
+++ head/textproc/ruby-amatch/Makefile	Sun Mar 30 14:12:45 2014	(r349621)
@@ -2,21 +2,28 @@
 # $FreeBSD$
 
 PORTNAME=	amatch
-PORTVERSION=	0.2.5
+PORTVERSION=	0.2.7
 CATEGORIES=	textproc ruby
-MASTER_SITES=	RF
+MASTER_SITES=	https://codeload.github.com/flori/amatch/zipball/
 PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
-EXTRACT_SUFX=	.tgz
-DIST_SUBDIR=	ruby
+EXTRACT_SUFX=
+DISTNAME=	v${PORTVERSION}
+DIST_SUBDIR=	ruby/amatch
 
 MAINTAINER=	ruby@FreeBSD.org
 COMMENT=	Ruby library for approximate string matching and searching
 
 OPTIONS_DEFINE=	DOCS
 
-NO_BUILD=	yes # build while install
-USE_RUBY=	yes
 USES=		gmake
+USE_RUBY=	yes
+USE_RUBY_EXTCONF=	yes
+USE_GITHUB=	yes
+GH_ACCOUNT=	flori
+GH_TAGNAME=	v${PORTVERSION}
+GH_COMMIT=	98473c4
+CONFIGURE_WRKSRC=	${WRKSRC}/ext
+BUILD_WRKSRC=	${WRKSRC}/ext
 
 PLIST_FILES=	bin/agrep.rb %%RUBY_SITELIBDIR%%/amatch/version.rb \
 		%%RUBY_SITEARCHLIBDIR%%/amatch.so
@@ -24,17 +31,23 @@ PLIST_DIRS=	%%RUBY_SITELIBDIR%%/amatch
 
 AMATCH_RUBY=	install.rb
 DOCSDIR=	${RUBY_MODDOCDIR}
-PORTDOCS=	CHANGES README
+PORTDOCS=	CHANGES README.rdoc
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 do-install:
-	@${ECHO_MSG} "===>  Running ${AMATCH_RUBY} to install"
-	cd ${WRKSRC}/ && ${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${AMATCH_RUBY} install
+	${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}/amatch \
+		${STAGEDIR}${RUBY_SITEARCHLIBDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/bin/agrep.rb \
+		${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_SCRIPT} ${WRKSRC}/lib/amatch/version.rb \
+		${STAGEDIR}${RUBY_SITELIBDIR}/amatch/
+	${INSTALL_DATA} ${WRKSRC}/ext/amatch.so \
+		${STAGEDIR}${RUBY_SITEARCHLIBDIR}/
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}/
-	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}/
+	cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} \
+		${STAGEDIR}${DOCSDIR}/
 .endif
 
 .include <bsd.port.mk>

Modified: head/textproc/ruby-amatch/distinfo
==============================================================================
--- head/textproc/ruby-amatch/distinfo	Sun Mar 30 13:59:07 2014	(r349620)
+++ head/textproc/ruby-amatch/distinfo	Sun Mar 30 14:12:45 2014	(r349621)
@@ -1,2 +1,2 @@
-SHA256 (ruby/amatch-0.2.5.tgz) = fd3eb6ac602fbd7dac3d51d3476da750e1cb20e3b1597529c0ebcbfc24591322
-SIZE (ruby/amatch-0.2.5.tgz) = 38582
+SHA256 (ruby/amatch/v0.2.7) = 2d254225a5006efe35feec75fd36c5291045812bf45533e966344dafb1a2cb14
+SIZE (ruby/amatch/v0.2.7) = 30512



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