pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/instiki Make DEPENDS to ruby-digest and ruby-zlib ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c577ba9231a1
branches:  trunk
changeset: 490271:c577ba9231a1
user:      taca <taca%pkgsrc.org@localhost>
date:      Sun Mar 06 17:14:18 2005 +0000

description:
Make DEPENDS to ruby-digest and ruby-zlib packages and cosmetic change
to package name patterns.

Bump PKGREVISION.

diffstat:

 www/instiki/Makefile |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (29 lines):

diff -r 55954a33e72f -r c577ba9231a1 www/instiki/Makefile
--- a/www/instiki/Makefile      Sun Mar 06 17:12:51 2005 +0000
+++ b/www/instiki/Makefile      Sun Mar 06 17:14:18 2005 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index