summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca>2015-03-01 13:35:36 +0000
committertaca <taca>2015-03-01 13:35:36 +0000
commit591d92542cfd9eec288b478a4ba53c608328161e (patch)
tree39bbf7e806e1e311e826bb206cce2668f1179047
parentab6c2e0ec2698af68fe207acc53feb79d23abacc (diff)
downloadpkgsrc-591d92542cfd9eec288b478a4ba53c608328161e.tar.gz
Update fromcvs to 0.0.0.134, latest GitHub source.
* Better support for Ruby 1.9 and later.
-rw-r--r--devel/fromcvs/Makefile25
-rw-r--r--devel/fromcvs/distinfo9
2 files changed, 18 insertions, 16 deletions
diff --git a/devel/fromcvs/Makefile b/devel/fromcvs/Makefile
index 9a9ca149240..bb571a74bea 100644
--- a/devel/fromcvs/Makefile
+++ b/devel/fromcvs/Makefile
@@ -1,25 +1,25 @@
-# $NetBSD: Makefile,v 1.32 2013/09/09 14:07:58 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2015/03/01 13:35:36 taca Exp $
-DISTNAME= fromcvs-fromcvs-184311d
-# Bump simply to 0.0.0.133, I am not sure...
-PKGNAME= fromcvs-0.0.0.133
-PKGREVISION= 1
+DISTNAME= fromcvs-${VERS}
+#PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= devel scm
-MASTER_SITES= -http://gitorious.org/fromcvs/fromcvs/archive-tarball/184311d
-EXTRACT_SUFX= .tar.gz
+MASTER_SITES= -https://github.com/corecode/fromcvs/archive/${REVISION}.zip
+EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE=
+HOMEPAGE= https://github.com/corecode/fromcvs/
COMMENT= CVS repository conversion tool
LICENSE= corecode-license
+# This is our own version.
+VERS= 0.0.0.134
+REVISION= 568b30324bc2f6871cc6da5d0750b3cb2e612af3
+
DEPENDS+= ${RUBY_PKGPREFIX}-rbtree>=0.2.0:../../devel/ruby-rbtree
DEPENDS+= ${RUBY_PKGPREFIX}-rcsparse>=0.0.0.37:../../devel/ruby-rcsparse
DEPENDS+= ${RUBY_PKGPREFIX}-sqlite3>=1.2.1:../../databases/ruby-sqlite3
-WRKSRC= ${WRKDIR}/fromcvs-fromcvs
-
-RUBY_VERSION_SUPPORTED= 18
+WRKSRC= ${WRKDIR}/fromcvs-${REVISION}
SUBST_CLASSES+= python
SUBST_FILES.python+= tohg.rb
@@ -29,6 +29,9 @@ SUBST_STAGE.python= pre-build
INSTALLATION_DIRS= bin
+post-extract:
+ cd ${WRKSRC}; find . -type f -exec ${CHMOD} -x {} \;
+
do-build:
${ECHO} "#!/bin/sh" > ${WRKSRC}/togit
${ECHO} "${RUBY} -rubygems -I${PREFIX}/share/fromcvs ${PREFIX}/share/fromcvs/togit.rb \"\$$@\"" >> ${WRKSRC}/togit
diff --git a/devel/fromcvs/distinfo b/devel/fromcvs/distinfo
index 2a2e547e65a..135988fa00d 100644
--- a/devel/fromcvs/distinfo
+++ b/devel/fromcvs/distinfo
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.16 2013/05/26 01:48:42 ryoon Exp $
+$NetBSD: distinfo,v 1.17 2015/03/01 13:35:36 taca Exp $
-SHA1 (fromcvs-fromcvs-184311d.tar.gz) = 20bac1e4cd4b8d3b66a4d8c8ac6f7c1b2450d57a
-RMD160 (fromcvs-fromcvs-184311d.tar.gz) = d960aa5507af6b0fdcfd1748e8f451474ae6880d
-Size (fromcvs-fromcvs-184311d.tar.gz) = 32671 bytes
+SHA1 (fromcvs-0.0.0.134.zip) = ed979e5ee19613d8cb9aac31ca014116dba08bdc
+RMD160 (fromcvs-0.0.0.134.zip) = 0739cfbce3a0e0f8f27e40b211d2f546ff3afa97
+Size (fromcvs-0.0.0.134.zip) = 46593 bytes
SHA1 (patch-aa) = 6d3f6455bc470f5462faf4d965d5842800ae3203
-SHA1 (patch-fromcvs.rb) = f39e9b918aa022b8a87dbe56072be0290ff523f6