diff options
author | taca <taca@pkgsrc.org> | 2004-11-27 14:43:13 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2004-11-27 14:43:13 +0000 |
commit | 8f13f8babc74c57b7508695e6fc6a1197af8c7be (patch) | |
tree | a2a03b66dd1e9fc7ee50ce0a3c42469d7c4bc73b /security | |
parent | 71e80612c9a483d4186b402c41674b3d90b446b0 (diff) | |
download | pkgsrc-8f13f8babc74c57b7508695e6fc6a1197af8c7be.tar.gz |
Update ruby-digest pacakge with new framework for Ruby packages.
(Provide ruby18-digest-1.8.1 and ruby16-1.6.8 package now.)
Diffstat (limited to 'security')
-rw-r--r-- | security/ruby-digest/Makefile | 28 | ||||
-rw-r--r-- | security/ruby-digest/PLIST | 18 |
2 files changed, 21 insertions, 25 deletions
diff --git a/security/ruby-digest/Makefile b/security/ruby-digest/Makefile index 8e1ec8240bd..bc2619709fb 100644 --- a/security/ruby-digest/Makefile +++ b/security/ruby-digest/Makefile @@ -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 -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} - -WRKSRC= ${RUBY_WRKSRC}/ext/digest -DIST_SUBDIR= ruby -RUBY_REQD= 1.6.6 -EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/digest -USE_RUBY_EXTCONF= yes +USE_BUILDLINK3= yes +USE_RUBY_EXTCONF= yes +DISTINFO_FILE= ${RUBY_DISTINFO_FILE} RUBY_EXTCONF_SUBDIRS= . md5 rmd160 sha1 sha2 -REPLACE_RUBY= test.rb -RUBY_DOCS= digest.txt digest.txt.ja +EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/digest +WRKSRC= ${RUBY_WRKSRC}/ext/digest + +RUBY_DOCS= digest.txt digest.txt.ja post-install: ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/digest @@ -30,5 +25,6 @@ post-install: ${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 --git a/security/ruby-digest/PLIST b/security/ruby-digest/PLIST index 2f1db8142a2..ebd69ac95ed 100644 --- a/security/ruby-digest/PLIST +++ b/security/ruby-digest/PLIST @@ -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 |