aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-xslt
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-11-16 12:56:41 +0800
committerknu <knu@FreeBSD.org>2001-11-16 12:56:41 +0800
commitb4594729b60272cc8eee6ebb989625cb718a36ff (patch)
tree4eaaee7e5cff101ecd0f2dd289ff5118d6af9a2a /textproc/ruby-xslt
parent5462dd9376ea0ff93347e4794ac358cf33ecd5cc (diff)
downloadfreebsd-ports-graphics-b4594729b60272cc8eee6ebb989625cb718a36ff.tar.gz
freebsd-ports-graphics-b4594729b60272cc8eee6ebb989625cb718a36ff.tar.zst
freebsd-ports-graphics-b4594729b60272cc8eee6ebb989625cb718a36ff.zip
Update to 0.0.2.
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 f953478976c..7596f7a63dd 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 38e1efc3ddb..43a321cdfbe 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 d4a56b77fa8..ff2ea398e19 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