summaryrefslogtreecommitdiff
path: root/www/instiki
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2005-03-06 17:14:18 +0000
committertaca <taca@pkgsrc.org>2005-03-06 17:14:18 +0000
commit3dad91feb424bcb4b05f651b5469d0bb53449ca6 (patch)
tree17bcc8865d1d747b60e7a02a558306322c7cdbca /www/instiki
parent6c9b8e01217398f20dd2a736c6edb9d9bac26f89 (diff)
downloadpkgsrc-3dad91feb424bcb4b05f651b5469d0bb53449ca6.tar.gz
Make DEPENDS to ruby-digest and ruby-zlib packages and cosmetic change
to package name patterns. Bump PKGREVISION.
Diffstat (limited to 'www/instiki')
-rw-r--r--www/instiki/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/www/instiki/Makefile b/www/instiki/Makefile
index 0d21c955ac6..fbd64fce50f 100644
--- a/www/instiki/Makefile
+++ b/www/instiki/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2005/03/06 13:12:20 taca Exp $
+# $NetBSD: Makefile,v 1.7 2005/03/06 17:14:18 taca Exp $
DISTNAME= instiki-0.9.2
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= www
MASTER_SITES= http://rubyforge.org/frs/download.php/2515/
EXTRACT_SUFX= .tgz
@@ -10,6 +10,15 @@ MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://instiki.org/
COMMENT= Wiki clone that focuses on simple installation and running
+.include "../../lang/ruby/rubyversion.mk"
+.if ${RUBY_VER} == "16"
+DEPENDS+= ${RUBY_PKGPREFIX}-digest-[0-9]*:../../security/ruby${RUBY_VER}-digest
+DEPENDS+= ${RUBY_PKGPREFIX}-zlib-[0-9]*:../../devel/ruby${RUBY_VER}-zlib
+.else
+DEPENDS+= ${RUBY_PKGPREFIX}-digest-[0-9]*:../../security/ruby-digest
+DEPENDS+= ${RUBY_PKGPREFIX}-zlib-[0-9]*:../../devel/ruby-zlib
+.endif
+
NO_BUILD= # defined
USE_BUILDLINK3= yes
USE_PKGINSTALL= yes