summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortaca <taca>2004-11-28 05:48:32 +0000
committertaca <taca>2004-11-28 05:48:32 +0000
commit0c48b63e7ed61f2a165980af0377824be0aab241 (patch)
tree609af9a9d26f7656cdaab6a6a97a780e825cb9b1 /www
parentb0e4d42129baee03ba89dd0e41f2454a7593c571 (diff)
downloadpkgsrc-0c48b63e7ed61f2a165980af0377824be0aab241.tar.gz
Migrate ruby-installpkg to use new framework for Ruby packages.
And mark this package is only for ruby16, too. The same version is bundled in ruby18.
Diffstat (limited to 'www')
-rw-r--r--www/ruby-webrick/Makefile21
1 files changed, 10 insertions, 11 deletions
diff --git a/www/ruby-webrick/Makefile b/www/ruby-webrick/Makefile
index a458c164015..3dda3dc551f 100644
--- a/www/ruby-webrick/Makefile
+++ b/www/ruby-webrick/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.11 2004/03/26 02:27:58 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2004/11/28 05:48:32 taca Exp $
#
DISTNAME= webrick-1.3.1
-PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
-PKGREVISION= 1
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= www ruby
MASTER_SITES= http://www.webrick.org/src/
@@ -11,17 +10,17 @@ MAINTAINER= rasputin@idoru.mine.nu
HOMEPAGE= http://www.webrick.org/
COMMENT= Ruby library to build HTTP servers
-DEPENDS+= ruby-openssl>=0.1.3:../../security/ruby-openssl
-DEPENDS+= ruby-erb>=1.4.3:../../textproc/ruby-erb
+DEPENDS+= ${RUBY_PKGPREFIX}-openssl>=0.1.3:../../security/ruby-openssl
+DEPENDS+= ${RUBY_PKGPREFIX}-erb>=1.4.3:../../textproc/ruby-erb
-DIST_SUBDIR= ruby
-USE_RUBY= yes
-NO_BUILD= yes
+RUBY_VERSION= ${RUBY16_VERSION}
+USE_RUBY_INSTALL= yes
+NO_BUILD= yes
+NO_CONFIGURE= yes
-do-install:
- cd ${WRKSRC} && ${RUBY} install.rb
+post-install:
${CP} -R ${WRKSRC}/doc ${RUBY_DOCDIR}/webrick
${CP} -R ${WRKSRC}/sample ${RUBY_EXAMPLESDIR}/webrick
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"