summaryrefslogtreecommitdiff
path: root/databases/ruby-gdbm
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2004-11-27 14:30:14 +0000
committertaca <taca@pkgsrc.org>2004-11-27 14:30:14 +0000
commit7fdf8667296a8736f284758b855a16e5eaa920ea (patch)
tree339a75c0bec5f3225ae2f55b02eaab139705a30b /databases/ruby-gdbm
parent9c98a967c48dc26475e95815def7782b947a13ad (diff)
downloadpkgsrc-7fdf8667296a8736f284758b855a16e5eaa920ea.tar.gz
Make ruby-gdbm package into new framework.
Since this change PKGBASE, PKGREVISION is reset now.
Diffstat (limited to 'databases/ruby-gdbm')
-rw-r--r--databases/ruby-gdbm/Makefile23
-rw-r--r--databases/ruby-gdbm/PLIST4
2 files changed, 13 insertions, 14 deletions
diff --git a/databases/ruby-gdbm/Makefile b/databases/ruby-gdbm/Makefile
index 412f0437e42..972289b2aaa 100644
--- a/databases/ruby-gdbm/Makefile
+++ b/databases/ruby-gdbm/Makefile
@@ -1,23 +1,22 @@
-# $NetBSD: Makefile,v 1.9 2004/03/16 02:01:10 taca Exp $
+# $NetBSD: Makefile,v 1.10 2004/11/27 14:30:14 taca Exp $
#
DISTNAME= ${RUBY_DISTNAME}
-PKGNAME= ${RUBY_PKGNAMEPREFIX}gdbm-${RUBY_VERSION}
-PKGREVISION= 2
+PKGNAME= ${RUBY_PKGPREFIX}-gdbm-${RUBY_VERSION}
CATEGORIES= databases ruby
MASTER_SITES= ${MASTER_SITE_RUBY}
MAINTAINER= taca@NetBSD.org
-HOMEPAGE= http://www.ruby-lang.org/en/
+HOMEPAGE= ${RUBY_HOMEPAGE}
COMMENT= Ruby extension to GDBM library
-DEPENDS+= gdbm>=1.8.3:../../databases/gdbm
+USE_BUILDLINK3= yes
+USE_RUBY_EXTCONF= yes
+DISTINFO_FILE= ${RUBY_DISTINFO_FILE}
+WRKSRC= ${RUBY_WRKSRC}/ext/gdbm
+EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/gdbm
-WRKSRC= ${RUBY_WRKSRC}/ext/gdbm
-DIST_SUBDIR= ruby
-DISTINFO_FILE= ${RUBY_DISTINFO}
-EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/gdbm
-USE_RUBY_EXTCONF= yes
-
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
+.include "../../lang/ruby/Makefile.common"
+.include "../../databases/gdbm/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ruby-gdbm/PLIST b/databases/ruby-gdbm/PLIST
index b2b6d19603b..a1ffda25c02 100644
--- a/databases/ruby-gdbm/PLIST
+++ b/databases/ruby-gdbm/PLIST
@@ -1,2 +1,2 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:12:49 zuntum Exp $
-${RUBY_ARCHLIBDIR}/gdbm.so
+@comment $NetBSD: PLIST,v 1.2 2004/11/27 14:30:14 taca Exp $
+${RUBY_SITEARCHLIBDIR}/gdbm.so