pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/ruby-digest Update ruby-digest pacakge with n...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0e61afe5eb9f
branches:  trunk
changeset: 484432:0e61afe5eb9f
user:      taca <taca%pkgsrc.org@localhost>
date:      Sat Nov 27 14:43:13 2004 +0000

description:
Update ruby-digest pacakge with new framework for Ruby packages.
(Provide ruby18-digest-1.8.1 and ruby16-1.6.8 package now.)

diffstat:

 security/ruby-digest/Makefile |  28 ++++++++++++----------------
 security/ruby-digest/PLIST    |  18 +++++++++---------
 2 files changed, 21 insertions(+), 25 deletions(-)

diffs (75 lines):

diff -r c5fc83aba437 -r 0e61afe5eb9f security/ruby-digest/Makefile
--- a/security/ruby-digest/Makefile     Sat Nov 27 14:42:28 2004 +0000
+++ b/security/ruby-digest/Makefile     Sat Nov 27 14:43:13 2004 +0000
@@ -1,28 +1,23 @@
-# $NetBSD: Makefile,v 1.8 2004/03/16 02:01:11 taca Exp $
+# $NetBSD: Makefile,v 1.9 2004/11/27 14:43:13 taca Exp $
 #
 
 DISTNAME=      ${RUBY_DISTNAME}
-PKGNAME=       ${RUBY_PKGNAMEPREFIX}digest-${RUBY_VERSION}
-PKGREVISION=   2
+PKGNAME=       ${RUBY_PKGPREFIX}-digest-${RUBY_VERSION}
 CATEGORIES=    security ruby
 MASTER_SITES=  ${MASTER_SITE_RUBY}
 
 MAINTAINER=    taca%NetBSD.org@localhost
-HOMEPAGE=      http://www.ruby-lang.org/en/
+HOMEPAGE=      ${RUBY_HOMEPAGE}
 COMMENT=       Ruby extension to message digest library
 
-CONFLICTS=     ${RUBY_PKGNAMEPREFIX}md5-[0-9]*
-
-DISTINFO_FILE= ${RUBY_DISTINFO}
+USE_BUILDLINK3=                yes
+USE_RUBY_EXTCONF=      yes
+DISTINFO_FILE=         ${RUBY_DISTINFO_FILE}
+RUBY_EXTCONF_SUBDIRS=  . md5 rmd160 sha1 sha2
+EXTRACT_ELEMENTS=      ${RUBY_DISTNAME}/ext/digest
+WRKSRC=                        ${RUBY_WRKSRC}/ext/digest
 
-WRKSRC=                ${RUBY_WRKSRC}/ext/digest
-DIST_SUBDIR=   ruby
-RUBY_REQD=     1.6.6
-EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/digest
-USE_RUBY_EXTCONF= yes
-RUBY_EXTCONF_SUBDIRS=  . md5 rmd160 sha1 sha2
-REPLACE_RUBY=  test.rb
-RUBY_DOCS=     digest.txt digest.txt.ja
+RUBY_DOCS=             digest.txt digest.txt.ja
 
 post-install:
        ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/digest
@@ -30,5 +25,6 @@
        ${INSTALL_DATA} ${WRKSRC}/${file} ${RUBY_DOCDIR}/digest
 .endfor
 
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
+.include "../../lang/ruby/Makefile.common"
 .include "../../mk/bsd.pkg.mk"
diff -r c5fc83aba437 -r 0e61afe5eb9f security/ruby-digest/PLIST
--- a/security/ruby-digest/PLIST        Sat Nov 27 14:42:28 2004 +0000
+++ b/security/ruby-digest/PLIST        Sat Nov 27 14:43:13 2004 +0000
@@ -1,12 +1,12 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2001/12/30 15:57:58 taca Exp $
-${RUBY_ARCHLIBDIR}/digest.so
-${RUBY_ARCHLIBDIR}/digest/md5.so
-${RUBY_ARCHLIBDIR}/digest/rmd160.so
-${RUBY_ARCHLIBDIR}/digest/sha1.so
-${RUBY_ARCHLIBDIR}/digest/sha2.so
-@dirrm ${RUBY_ARCHLIBDIR}/digest
-${RUBY_LIBDIR}/md5.rb
-${RUBY_LIBDIR}/sha1.rb
+@comment $NetBSD: PLIST,v 1.2 2004/11/27 14:43:13 taca Exp $
+${RUBY_SITEARCHLIBDIR}/digest.so
+${RUBY_SITEARCHLIBDIR}/digest/md5.so
+${RUBY_SITEARCHLIBDIR}/digest/rmd160.so
+${RUBY_SITEARCHLIBDIR}/digest/sha1.so
+${RUBY_SITEARCHLIBDIR}/digest/sha2.so
+@dirrm ${RUBY_SITEARCHLIBDIR}/digest
+${RUBY_SITELIBDIR}/md5.rb
+${RUBY_SITELIBDIR}/sha1.rb
 ${RUBY_DOCDIR}/digest/digest.txt
 ${RUBY_DOCDIR}/digest/digest.txt.ja
 @dirrm ${RUBY_DOCDIR}/digest



Home | Main Index | Thread Index | Old Index