summaryrefslogtreecommitdiff
path: root/www/ruby-borges/Makefile
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2004-11-28 05:37:04 +0000
committertaca <taca@pkgsrc.org>2004-11-28 05:37:04 +0000
commit1b23aaf155a0f2a1dcaf074babe4b1b25aa266ca (patch)
treec5a4148de5c3ed06b0aa2e971705c88458206a1b /www/ruby-borges/Makefile
parent121edf8d443e555db06ef2261eaadbe4c89cd4a1 (diff)
downloadpkgsrc-1b23aaf155a0f2a1dcaf074babe4b1b25aa266ca.tar.gz
Update to ruby-borges pacakge to 1.1.0 migrating to use new framework
for Ruby packages. Changes are huge and this version is Ruby 1.8 and lator.
Diffstat (limited to 'www/ruby-borges/Makefile')
-rw-r--r--www/ruby-borges/Makefile31
1 files changed, 17 insertions, 14 deletions
diff --git a/www/ruby-borges/Makefile b/www/ruby-borges/Makefile
index 2e94fdefe94..0c7c9fd8c0b 100644
--- a/www/ruby-borges/Makefile
+++ b/www/ruby-borges/Makefile
@@ -1,24 +1,27 @@
-# $NetBSD: Makefile,v 1.7 2004/03/26 02:27:58 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2004/11/28 05:37:04 taca Exp $
-DISTNAME= borges-0.2.0
-PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
-PKGREVISION= 1
+DISTNAME= borges-1.1.0
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES= www ruby
-MASTER_SITES= http://segment7.net/projects/ruby/borges/
+MASTER_SITES= http://rubyforge.org/frs/download.php/574/ \
+ http://segment7.net/projects/ruby/borges/
MAINTAINER= rasputin@idoru.mine.nu
-HOMEPAGE= http://segment7.net/projects/ruby/borges/
+HOMEPAGE= http://borges.rubyforge.org/
COMMENT= Ruby web application framework
-DEPENDS+= ruby-installpkg>=0.0.1:../../devel/ruby-installpkg
-DEPENDS+= ruby-webrick>=1.2.3:../../www/ruby-webrick
+USE_RUBY_SETUP= yes
+RUBY_VERSION_SUPPORTED?= 18
+BORGES_SHARE_DIR= data/doc data/examples
-DIST_SUBDIR= ruby
-USE_RUBY= yes
-NO_BUILD= yes
+.include "../../lang/ruby/rubyversion.mk"
-do-install:
- cd ${WRKSRC} && ${RUBY} install.rb
+.if !empty(RUBY_SUFFIX)
+pre-configure:
+.for d in ${BORGES_SHARE_DIR}
+ cd ${WRKSRC}; ${MV} $d/ruby $d/${RUBY_NAME}
+.endfor
+.endif
-.include "../../lang/ruby-base/Makefile.common"
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"