aboutsummaryrefslogtreecommitdiff
path: root/textproc/ruby-xslt
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-11-16 04:56:41 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-11-16 04:56:41 +0000
commit2f09ba2d0a820e636dcb2b0bac89522d1194435f (patch)
tree176ea13948dd332730c1fcea6ee4afaf5e1ae8a3 /textproc/ruby-xslt
parent4ed575d2cafe0874c60ca959d546c064040fdd12 (diff)
downloadports-2f09ba2d0a820e636dcb2b0bac89522d1194435f.tar.gz
ports-2f09ba2d0a820e636dcb2b0bac89522d1194435f.zip
Notes
Diffstat (limited to 'textproc/ruby-xslt')
-rw-r--r--textproc/ruby-xslt/Makefile11
-rw-r--r--textproc/ruby-xslt/distinfo2
-rw-r--r--textproc/ruby-xslt/pkg-plist1
3 files changed, 9 insertions, 5 deletions
diff --git a/textproc/ruby-xslt/Makefile b/textproc/ruby-xslt/Makefile
index f953478976cd..7596f7a63ddc 100644
--- a/textproc/ruby-xslt/Makefile
+++ b/textproc/ruby-xslt/Makefile
@@ -6,11 +6,11 @@
#
PORTNAME= xslt
-PORTVERSION= 0.0.1
+PORTVERSION= 0.0.2
CATEGORIES= textproc ruby
MASTER_SITES= http://www.fantasy-coders.de/ruby/xslt4r/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-DISTNAME= ${PORTNAME}4r-${PORTVERSION:S/./_/g}
+DISTNAME= ${PORTNAME}4r-${PORTVERSION}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
@@ -21,9 +21,10 @@ USE_RUBY= yes
RUBY_SHEBANG_FILES= ${WRKSRC}/xslt.rb
-WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
+DOCS= ChangeLog ToDo
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/xslt.rb ${RUBY_SITELIBDIR}/
${LN} -sf ${RUBY_SITELIBDIR}/xslt.rb ${LOCALBASE}/bin/xslt
@@ -31,7 +32,9 @@ do-install:
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
${INSTALL_DATA} ${WRKSRC}/test/*.x* ${RUBY_EXAMPLESDIR}/${PORTNAME}
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
- ${INSTALL_DATA} ${WRKSRC}/ToDo ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}
+.endfor
.endif
.include <bsd.port.mk>
diff --git a/textproc/ruby-xslt/distinfo b/textproc/ruby-xslt/distinfo
index 38e1efc3ddb7..43a321cdfbea 100644
--- a/textproc/ruby-xslt/distinfo
+++ b/textproc/ruby-xslt/distinfo
@@ -1 +1 @@
-MD5 (ruby/xslt4r-0_0_1.tar.gz) = b1805d4168c467870f7a6038abf226f6
+MD5 (ruby/xslt4r-0.0.2.tar.gz) = 50504106dbe6bf479a825782842b52fa
diff --git a/textproc/ruby-xslt/pkg-plist b/textproc/ruby-xslt/pkg-plist
index d4a56b77fa8c..ff2ea398e196 100644
--- a/textproc/ruby-xslt/pkg-plist
+++ b/textproc/ruby-xslt/pkg-plist
@@ -6,5 +6,6 @@ bin/xslt
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/xslt/test.xml
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/xslt/test_style.xsl
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/xslt
+%%PORTDOCS%%%%RUBY_DOCDIR%%/xslt/ChangeLog
%%PORTDOCS%%%%RUBY_DOCDIR%%/xslt/ToDo
%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/xslt