pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ruby-installpkg Migrate ruby-installpkg to use n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0f0ef950d919
branches:  trunk
changeset: 484470:0f0ef950d919
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 27 16:04:26 2004 +0000

description:
Migrate ruby-installpkg to use new framework for Ruby packages.
And make this pakcage only for ruby16 until threre is a new ruby18
based pacakge which needs this package.

diffstat:

 devel/ruby-installpkg/Makefile |  17 +++++++++--------
 1 files changed, 9 insertions(+), 8 deletions(-)

diffs (33 lines):

diff -r 284bc23342d7 -r 0f0ef950d919 devel/ruby-installpkg/Makefile
--- a/devel/ruby-installpkg/Makefile    Sat Nov 27 16:01:37 2004 +0000
+++ b/devel/ruby-installpkg/Makefile    Sat Nov 27 16:04:26 2004 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2004/03/16 02:01:10 taca Exp $
+# $NetBSD: Makefile,v 1.4 2004/11/27 16:04:26 taca Exp $
 
 DISTNAME=      installpkg-0.0.1
-PKGNAME=       ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+PKGNAME=       ${RUBY_PKGPREFIX}-${DISTNAME}
 CATEGORIES=    devel ruby
 MASTER_SITES=  http://www.aracnet.com/~ptkwt/ruby_stuff/InstallPkg/
 EXTRACT_SUFX=  .tgz
@@ -10,12 +10,13 @@
 HOMEPAGE=      # not available
 COMMENT=       Ruby module for writing install.rb files
 
-DIST_SUBDIR=   ruby
-USE_RUBY=      yes
-NO_BUILD=      yes
+RUBY_VERSION=          ${RUBY16_VERSION}
+USE_RUBY_INSTALL=      yes
+NO_BUILD=              yes
+INSTALL_TARGET=                # empty
 
-do-install:
-       cd ${WRKSRC} && ${RUBY} install.rb
+post-extract:
+       ${RM} -f ${WRKSRC}/lib/.install-pkg.rb.swp
 
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index