pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/newfile Update newfile package to 1.0.14 migrati...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1c46092d960
branches:  trunk
changeset: 484465:c1c46092d960
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 27 15:58:22 2004 +0000

description:
Update newfile package to 1.0.14 migrating to use new framework for Ruby,
prefixing package name with "ruby1*-".

diffstat:

 devel/newfile/Makefile         |  21 ++++++++++++---------
 devel/newfile/PLIST            |  14 ++++++--------
 devel/newfile/distinfo         |   8 ++++----
 devel/newfile/patches/patch-aa |  14 +++++++-------
 4 files changed, 29 insertions(+), 28 deletions(-)

diffs (113 lines):

diff -r 727445743915 -r c1c46092d960 devel/newfile/Makefile
--- a/devel/newfile/Makefile    Sat Nov 27 15:52:30 2004 +0000
+++ b/devel/newfile/Makefile    Sat Nov 27 15:58:22 2004 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2004/04/25 05:33:18 snj Exp $
+# $NetBSD: Makefile,v 1.5 2004/11/27 15:58:22 taca Exp $
 #
 
-DISTNAME=      newfile-1.0.7
-PKGREVISION=   1
+DISTNAME=      newfile-1.0.14
+PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=newfile/}
 
@@ -10,14 +10,17 @@
 HOMEPAGE=      http://newfile.sourceforge.net/
 COMMENT=       Tool for creating starter files in various languages
 
-DEPENDS+=      ruby-optparse>=0.8.6:../../devel/ruby-optparse
-
-USE_RUBY=      YES
+USE_BUILDLINK3=        YES
 NO_BUILD=      YES
 GNU_CONFIGURE= YES
-USE_BUILDLINK3=        YES
+
+.include "../../lang/ruby/rubyversion.mk"
 
-REPLACE_RUBY=  src/newfile.rb
+.if ${RUBY_VER} == "16"
+DEPENDS+=      ${RUBY_PKGPREFIX}-optparse>=0.8.6:../../devel/ruby-optparse
+.endif
+
+REPLACE_RUBY=  src/newfile.rb.in
 
 post-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/src/newfile.rb ${PREFIX}/bin/newfile
@@ -25,5 +28,5 @@
                ${PREFIX}/share/newfile/
        ${INSTALL_MAN} ${WRKSRC}/doc/newfile.1 ${PREFIX}/man/man1/
 
-.include "../../lang/ruby-base/buildlink3.mk"
+.include "../../lang/ruby/modules.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 727445743915 -r c1c46092d960 devel/newfile/PLIST
--- a/devel/newfile/PLIST       Sat Nov 27 15:52:30 2004 +0000
+++ b/devel/newfile/PLIST       Sat Nov 27 15:58:22 2004 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2003/03/22 03:22:57 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2004/11/27 15:58:22 taca Exp $
 bin/newfile
 man/man1/newfile.1
 share/newfile/fileproc.rb
@@ -18,16 +18,14 @@
 share/newfile/licenses/no%license.inc@localhost
 share/newfile/projects/auto%Makefile.am@localhost
 share/newfile/projects/auto%Makefile.cvs@localhost
+share/newfile/projects/auto@Mk^alane.pod.mk
+share/newfile/projects/auto@Mk^alane.rd.mk
+share/newfile/projects/auto@Mk^alane.tex.mk
 share/newfile/projects/auto@acinclude.m4
 share/newfile/projects/auto%configure.ac@localhost
-share/newfile/projects/auto@doc!Makefile.am
-share/newfile/projects/auto@doc-src!Makefile.am
-share/newfile/projects/auto@doc-src!alane.pod.mk
-share/newfile/projects/auto@doc-src!alane.tex.mk
-share/newfile/projects/auto@src!Makefile.am
+share/newfile/projects/auto@doc^Makefile.am
+share/newfile/projects/auto@src^Makefile.am
 share/newfile/projects/port@Makefile
-share/newfile/projects/port@distinfo
-share/newfile/projects/port@pkg-comment
 share/newfile/projects/port@pkg-descr
 share/newfile/projects/port@pkg-plist
 share/newfile/sytab.rb
diff -r 727445743915 -r c1c46092d960 devel/newfile/distinfo
--- a/devel/newfile/distinfo    Sat Nov 27 15:52:30 2004 +0000
+++ b/devel/newfile/distinfo    Sat Nov 27 15:58:22 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2003/03/22 03:22:57 wiz Exp $
+$NetBSD: distinfo,v 1.3 2004/11/27 15:58:22 taca Exp $
 
-SHA1 (newfile-1.0.7.tar.gz) = c183c2679e3262fc0ad0e7f90db998df42be94d8
-Size (newfile-1.0.7.tar.gz) = 129448 bytes
-SHA1 (patch-aa) = 95be72f2f3784fa70e5d444d5c14f61c66124eca
+SHA1 (ruby/newfile-1.0.14.tar.gz) = 247bf4e9d46a3d5715ffae71f0645bf19d00d03a
+Size (ruby/newfile-1.0.14.tar.gz) = 177411 bytes
+SHA1 (patch-aa) = c442c763b1f99961aef799c9cbe104e2a496a7f2
diff -r 727445743915 -r c1c46092d960 devel/newfile/patches/patch-aa
--- a/devel/newfile/patches/patch-aa    Sat Nov 27 15:52:30 2004 +0000
+++ b/devel/newfile/patches/patch-aa    Sat Nov 27 15:58:22 2004 +0000
@@ -1,13 +1,13 @@
-$NetBSD: patch-aa,v 1.1.1.1 2003/02/16 03:42:36 salo Exp $
+$NetBSD: patch-aa,v 1.2 2004/11/27 15:58:22 taca Exp $
 
---- Makefile.in.orig   Fri Feb  7 19:01:54 2003
-+++ Makefile.in        Sun Feb 16 03:49:33 2003
-@@ -119,7 +119,7 @@
+--- Makefile.in.orig   2003-11-03 21:49:37.000000000 +0900
++++ Makefile.in
+@@ -130,7 +130,7 @@ am__include = @am__include@
  am__quote = @am__quote@
  install_sh = @install_sh@
  
--SUBDIRS = src doc data doc-src www
-+SUBDIRS = data
+-SUBDIRS = src data 
++SUBDIRS = data 
+ #doc doc-src www
  EXTRA_DIST = LICENSE README Makefile.cvs
  subdir = .
- ACLOCAL_M4 = $(top_srcdir)/aclocal.m4



Home | Main Index | Thread Index | Old Index