summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortaca <taca>2004-11-30 17:03:15 +0000
committertaca <taca>2004-11-30 17:03:15 +0000
commit0257394b1858d742e71ecdd2ad89ce010671e4a1 (patch)
tree581a07c6c43c2b13266aa2653c95c4a7363ef81a
parent2bf04192c245b0c6ee32eb3f89bf23fd25f8f36e (diff)
downloadpkgsrc-0257394b1858d742e71ecdd2ad89ce010671e4a1.tar.gz
Make ruby-zlib to Ruby 1.8.1 bundled version; move out ruby-zlib
from ruby18. And include devel/zlib/buildlink3.mk, too.
-rw-r--r--devel/ruby-zlib/Makefile28
-rw-r--r--devel/ruby-zlib/PLIST6
-rw-r--r--devel/ruby-zlib/distinfo4
3 files changed, 17 insertions, 21 deletions
diff --git a/devel/ruby-zlib/Makefile b/devel/ruby-zlib/Makefile
index ff8a648b984..993c3e6ba1c 100644
--- a/devel/ruby-zlib/Makefile
+++ b/devel/ruby-zlib/Makefile
@@ -1,22 +1,24 @@
-# $NetBSD: Makefile,v 1.3 2004/11/28 06:06:51 taca Exp $
+# $NetBSD: Makefile,v 1.4 2004/11/30 17:03:15 taca Exp $
# FreeBSD: ports/archivers/ruby-zlib/Makefile,v 1.7 2000/09/26 22:01:12 knu Exp
-DISTNAME= ruby-zlib-${VERSION}
-PKGNAME= ${RUBY_PKGPREFIX}-zlib-${VERSION}
-CATEGORIES= devel ruby
-MASTER_SITES= http://www.blue.sky.or.jp/atelier/ruby/
+DISTNAME= ${RUBY_DISTNAME}
+PKGNAME= ${RUBY_PKGPREFIX}-zlib-${RUBY_VERSION}
+CATEGORIES= devel ruby
+MASTER_SITES= ${MASTER_SITE_RUBY}
-MAINTAINER= taca@NetBSD.org
-HOMEPAGE= http://www.blue.sky.or.jp/atelier/
-COMMENT= Zlib library for Ruby
+MAINTAINER= taca@NetBSD.org
+HOMEPAGE= ${RUBY_HOMEPAGE}
+COMMENT= Zlib library for Ruby
-VERSION= 0.6.0
-RUBY_VERSION= ${RUBY16_VERSION}
+RUBY_VERSION_SUPPORTED= 18
+USE_BUILDLINK3= yes
USE_RUBY_EXTCONF= yes
+DISTINFO_FILE= ${RUBY_DISTINFO_FILE}
+EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/zlib
+WRKSRC= ${RUBY_WRKSRC}/ext/zlib
INSTALL_TARGET= site-install
-DOCS= ChangeLog doc/zlib.html doc/zlib.rd \
- doc/zlib.ja.html doc/zlib.rd.ja
+DOCS= doc/zlib.rd
post-install:
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/zlib
@@ -25,4 +27,6 @@ post-install:
.endfor
.include "../../lang/ruby/modules.mk"
+.include "../../lang/ruby/Makefile.common"
+.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ruby-zlib/PLIST b/devel/ruby-zlib/PLIST
index 3fbd2290b15..5a7612c4bd7 100644
--- a/devel/ruby-zlib/PLIST
+++ b/devel/ruby-zlib/PLIST
@@ -1,8 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2003/08/30 07:16:42 taca Exp $
+@comment $NetBSD: PLIST,v 1.2 2004/11/30 17:03:15 taca Exp $
${RUBY_SITEARCHLIBDIR}/zlib.so
-${RUBY_DOCDIR}/zlib/ChangeLog
-${RUBY_DOCDIR}/zlib/zlib.html
${RUBY_DOCDIR}/zlib/zlib.rd
-${RUBY_DOCDIR}/zlib/zlib.ja.html
-${RUBY_DOCDIR}/zlib/zlib.rd.ja
@dirrm ${RUBY_DOCDIR}/zlib
diff --git a/devel/ruby-zlib/distinfo b/devel/ruby-zlib/distinfo
deleted file mode 100644
index e63d69b3325..00000000000
--- a/devel/ruby-zlib/distinfo
+++ /dev/null
@@ -1,4 +0,0 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/08/30 07:16:42 taca Exp $
-
-SHA1 (ruby/ruby-zlib-0.6.0.tar.gz) = 2d2fffa84e7be20baad114f6e87b36639ac1de8e
-Size (ruby/ruby-zlib-0.6.0.tar.gz) = 61549 bytes