summaryrefslogtreecommitdiff
path: root/devel/rake
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2005-11-02 13:54:45 +0000
committertaca <taca@pkgsrc.org>2005-11-02 13:54:45 +0000
commitae60018e0872274b23355ae8c6acd04dbf063236 (patch)
treecf3e081c43e9162fabbdcbf9113bcf4be488c3c0 /devel/rake
parent43da09de40c6e39b255422ab0a486062f8fe90cf (diff)
downloadpkgsrc-ae60018e0872274b23355ae8c6acd04dbf063236.tar.gz
Update rake to 0.6.2.
- pkgsrc changes; install documatation, examples and manual page. - Changes from 0.5.4 are huge, please see CHANGES file.
Diffstat (limited to 'devel/rake')
-rw-r--r--devel/rake/Makefile30
-rw-r--r--devel/rake/PLIST19
-rw-r--r--devel/rake/distinfo8
3 files changed, 47 insertions, 10 deletions
diff --git a/devel/rake/Makefile b/devel/rake/Makefile
index 85f4ca2ccd7..6fd5fac32f1 100644
--- a/devel/rake/Makefile
+++ b/devel/rake/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.2 2005/09/04 13:51:33 taca Exp $
+# $NetBSD: Makefile,v 1.3 2005/11/02 13:54:45 taca Exp $
-DISTNAME= rake-0.5.4
+DISTNAME= rake-0.6.2
CATEGORIES= devel ruby
-MASTER_SITES= http://rubyforge.org/frs/download.php/4259/
+MASTER_SITES= http://rubyforge.org/frs/download.php/6357/
EXTRACT_SUFX= .tgz
MAINTAINER= minskim@NetBSD.org
@@ -11,8 +11,13 @@ COMMENT= Ruby Make
NO_BUILD= yes
USE_RUBY_INSTALL= yes
-
-.include "../../lang/ruby/modules.mk"
+USE_TOOLS+= gunzip
+DOCDIR= ${RUBY_DOCDIR}/rake
+EXAMPLESDIR= ${RUBY_EXAMPLESDIR}/rake
+DOCS= CHANGES README TODO doc/glossary.rdoc \
+ doc/jamis.rb doc/proto_rake.rdoc \
+ doc/rakefile.rdoc doc/rational.rdoc
+EXAMPLES= Rakefile1 Rakefile2 a.c b.c main.c
pre-configure:
${MV} ${WRKSRC}/bin/rake ${WRKSRC}/bin/rake.orig
@@ -20,4 +25,19 @@ pre-configure:
${CAT} ${WRKSRC}/bin/rake.orig >> ${WRKSRC}/bin/rake
${RM} ${WRKSRC}/bin/rake.orig
+post-install:
+ @if [ ! -f ${WRKSRC}/doc/rake.1 ]; then \
+ ${GUNZIP_CMD} ${WRKSRC}/doc/rake.1.gz; \
+ fi
+ ${INSTALL_MAN} ${WRKSRC}/doc/rake.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCDIR}
+.endfor
+ ${INSTALL_DATA_DIR} ${EXAMPLESDIR}
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/doc/example/${f} ${EXAMPLESDIR}
+.endfor
+
+.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/rake/PLIST b/devel/rake/PLIST
index 0f7c669901a..e947331f5c6 100644
--- a/devel/rake/PLIST
+++ b/devel/rake/PLIST
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/11 04:07:44 minskim Exp $
+@comment $NetBSD: PLIST,v 1.2 2005/11/02 13:54:45 taca Exp $
bin/rake
+${PKGMANDIR}/man1/rake.1
${RUBY_SITELIBDIR}/rake.rb
+${RUBY_SITELIBDIR}/rake/classic_namespace.rb
${RUBY_SITELIBDIR}/rake/clean.rb
${RUBY_SITELIBDIR}/rake/contrib/compositepublisher.rb
${RUBY_SITELIBDIR}/rake/contrib/ftptools.rb
@@ -20,3 +22,18 @@ ${RUBY_SITELIBDIR}/rake/testtask.rb
@dirrm ${RUBY_SITELIBDIR}/rake/loaders
@dirrm ${RUBY_SITELIBDIR}/rake/contrib
@dirrm ${RUBY_SITELIBDIR}/rake
+${RUBY_DOCDIR}/rake/CHANGES
+${RUBY_DOCDIR}/rake/README
+${RUBY_DOCDIR}/rake/TODO
+${RUBY_DOCDIR}/rake/glossary.rdoc
+${RUBY_DOCDIR}/rake/jamis.rb
+${RUBY_DOCDIR}/rake/proto_rake.rdoc
+${RUBY_DOCDIR}/rake/rakefile.rdoc
+${RUBY_DOCDIR}/rake/rational.rdoc
+@dirrm ${RUBY_DOCDIR}/rake
+${RUBY_EXAMPLESDIR}/rake/Rakefile1
+${RUBY_EXAMPLESDIR}/rake/Rakefile2
+${RUBY_EXAMPLESDIR}/rake/a.c
+${RUBY_EXAMPLESDIR}/rake/b.c
+${RUBY_EXAMPLESDIR}/rake/main.c
+@dirrm ${RUBY_EXAMPLESDIR}/rake
diff --git a/devel/rake/distinfo b/devel/rake/distinfo
index 64619c9ef41..791fa917870 100644
--- a/devel/rake/distinfo
+++ b/devel/rake/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.2 2005/09/04 13:51:33 taca Exp $
+$NetBSD: distinfo,v 1.3 2005/11/02 13:54:45 taca Exp $
-SHA1 (ruby/rake-0.5.4.tgz) = 1efdfc081590284a1667e292587a538c8663847f
-RMD160 (ruby/rake-0.5.4.tgz) = f735e5cf0f03f6e5da3b3bc10d0eb9c3919dce98
-Size (ruby/rake-0.5.4.tgz) = 56350 bytes
+SHA1 (ruby/rake-0.6.2.tgz) = 7d6d61bfa65aa99cf906980be2b32da1f98340a9
+RMD160 (ruby/rake-0.6.2.tgz) = b7e77aaf89ac2c86006ad7498435e8dc115c01f6
+Size (ruby/rake-0.6.2.tgz) = 62292 bytes