aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-libxml
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2008-07-16 15:31:25 +0800
committergahr <gahr@FreeBSD.org>2008-07-16 15:31:25 +0800
commit2ade2fb2981be5ff7f8ab27871468ca945ad50b0 (patch)
tree7f21f3c2d57421354664ac6e87e3ac983997e094 /textproc/ruby-libxml
parent3c20816551bcd16fa54e17aa117a1a5c0cb9385d (diff)
downloadfreebsd-ports-gnome-2ade2fb2981be5ff7f8ab27871468ca945ad50b0.tar.gz
freebsd-ports-gnome-2ade2fb2981be5ff7f8ab27871468ca945ad50b0.tar.zst
freebsd-ports-gnome-2ade2fb2981be5ff7f8ab27871468ca945ad50b0.zip
- Update to 0.8.0
Diffstat (limited to 'textproc/ruby-libxml')
-rw-r--r--textproc/ruby-libxml/Makefile13
-rw-r--r--textproc/ruby-libxml/distinfo6
-rw-r--r--textproc/ruby-libxml/pkg-plist14
3 files changed, 21 insertions, 12 deletions
diff --git a/textproc/ruby-libxml/Makefile b/textproc/ruby-libxml/Makefile
index 844ea078b80f..bfdf52845f88 100644
--- a/textproc/ruby-libxml/Makefile
+++ b/textproc/ruby-libxml/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= libxml
-PORTVERSION= 0.7.0
-PORTREVISION= 1
+PORTVERSION= 0.8.0
CATEGORIES= textproc ruby
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
MASTER_SITE_SUBDIR= libxml
@@ -28,13 +27,8 @@ EXT_ARGS= --with-iconv-dir=${LOCALBASE} \
--with-iconv-lib=${LOCALBASE}/lib \
--with-iconv-include=${LOCALBASE}/include
-PLIST_FILES= %%RUBY_SITEARCHLIBDIR%%/xml/libxml_ruby.so \
- %%RUBY_SITELIBDIR%%/xml/libxml.rb
-PLIST_DIRS= %%RUBY_SITEARCHLIBDIR%%/xml \
- %%RUBY_SITELIBDIR%%/xml
-
post-patch:
- ${REINPLACE_CMD} -e 's|libxml_ruby.so|xml/libxml_ruby.so|' \
+ ${REINPLACE_CMD} -e 's|libxml_ruby|xml/libxml_ruby|' \
${WRKSRC}/lib/libxml.rb
do-configure:
@@ -44,8 +38,9 @@ do-build:
cd ${WRKSRC}/ext/libxml && ${MAKE}
do-install:
- ${INSTALL} -d ${RUBY_SITELIBDIR}/xml ${RUBY_SITEARCHLIBDIR}/xml
+ ${INSTALL} -d ${RUBY_SITELIBDIR}/xml ${RUBY_SITELIBDIR}/libxml ${RUBY_SITEARCHLIBDIR}/xml
${INSTALL_DATA} ${WRKSRC}/lib/libxml.rb ${RUBY_SITELIBDIR}/xml
+ (cd ${WRKSRC}/lib/libxml && ${COPYTREE_SHARE} \*.rb ${RUBY_SITELIBDIR}/libxml)
${INSTALL_DATA} ${WRKSRC}/ext/libxml/libxml_ruby.so ${RUBY_SITEARCHLIBDIR}/xml/
.include <bsd.port.mk>
diff --git a/textproc/ruby-libxml/distinfo b/textproc/ruby-libxml/distinfo
index 31de6f214bd1..7a52957655e8 100644
--- a/textproc/ruby-libxml/distinfo
+++ b/textproc/ruby-libxml/distinfo
@@ -1,3 +1,3 @@
-MD5 (libxml-ruby-0.7.0.tgz) = 53fade7402afb18199976de443fda382
-SHA256 (libxml-ruby-0.7.0.tgz) = 3a27c8f51c3c92e224b99bc0ecef75ce77d4464cebebff7eb7b6b9352633d023
-SIZE (libxml-ruby-0.7.0.tgz) = 1356043
+MD5 (libxml-ruby-0.8.0.tgz) = c7d87b307c4b32a0777b9b887e19eef1
+SHA256 (libxml-ruby-0.8.0.tgz) = 95cc3f8bdab945a1ca8f6d4abcb530166efb5b7a6054de997dfe661c74343f8d
+SIZE (libxml-ruby-0.8.0.tgz) = 1479044
diff --git a/textproc/ruby-libxml/pkg-plist b/textproc/ruby-libxml/pkg-plist
new file mode 100644
index 000000000000..2008f82e5ba0
--- /dev/null
+++ b/textproc/ruby-libxml/pkg-plist
@@ -0,0 +1,14 @@
+%%RUBY_SITEARCHLIBDIR%%/xml/libxml_ruby.so
+%%RUBY_SITELIBDIR%%/xml/libxml.rb
+%%RUBY_SITELIBDIR%%/libxml/attr.rb
+%%RUBY_SITELIBDIR%%/libxml/attributes.rb
+%%RUBY_SITELIBDIR%%/libxml/document.rb
+%%RUBY_SITELIBDIR%%/libxml/node.rb
+%%RUBY_SITELIBDIR%%/libxml/node_set.rb
+%%RUBY_SITELIBDIR%%/libxml/parser.rb
+%%RUBY_SITELIBDIR%%/libxml/parser_options.rb
+%%RUBY_SITELIBDIR%%/libxml/properties.rb
+%%RUBY_SITELIBDIR%%/libxml/tree.rb
+@dirrm %%RUBY_SITEARCHLIBDIR%%/xml
+@dirrm %%RUBY_SITELIBDIR%%/xml
+@dirrm %%RUBY_SITELIBDIR%%/libxml