diff options
author | taca <taca> | 2004-11-28 05:48:32 +0000 |
---|---|---|
committer | taca <taca> | 2004-11-28 05:48:32 +0000 |
commit | 348e044d60c76060fad9819c7e94fc6aece7811e (patch) | |
tree | 609af9a9d26f7656cdaab6a6a97a780e825cb9b1 | |
parent | a72cdf1313d8cc2fad50689aee6584dffa654b4b (diff) | |
download | pkgsrc-348e044d60c76060fad9819c7e94fc6aece7811e.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.
-rw-r--r-- | www/ruby-webrick/Makefile | 21 |
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" |