mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-12 07:27:57 +00:00
Update to 0.5.0.
This commit is contained in:
parent
85df8a48dc
commit
129b7f43c4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=44386
@ -6,36 +6,32 @@
|
||||
#
|
||||
|
||||
PORTNAME= sablot
|
||||
PORTVERSION= 0.4.0
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 0.5.0
|
||||
CATEGORIES= textproc ruby
|
||||
MASTER_SITES= http://www.inac.co.jp/~maki/ruby/
|
||||
MASTER_SITES= http://www.rubycolor.org/arc/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
LIB_DEPENDS= sablot.60:${PORTSDIR}/textproc/sablotron
|
||||
LIB_DEPENDS= sablot.60:${PORTSDIR}/textproc/sablotron \
|
||||
iconv.2:${PORTSDIR}/converters/iconv \
|
||||
expat.2:${PORTSDIR}/textproc/expat2
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
.if !defined(NOPORTDOCS)
|
||||
USE_RUBY_RD= yes
|
||||
.endif
|
||||
|
||||
CONFIGURE_ARGS= --with-sablot-lib="${LOCALBASE}" \
|
||||
--with-iconv="${LOCALBASE}" \
|
||||
--with-expat="${LOCALBASE}"
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
DOCS= README sablot.html sablot.rd
|
||||
|
||||
post-build:
|
||||
.if !defined(NOPORTDOCS)
|
||||
cd ${WRKSRC} && ${RUBY_RD} sablot.rd > sablot.html
|
||||
.endif
|
||||
DOCS= README doc/*
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
|
||||
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
||||
${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
||||
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
|
||||
|
@ -1 +1 @@
|
||||
MD5 (ruby/sablot-0.4.0.tar.gz) = befe1d3d76ac338e39554b68fd139ffe
|
||||
MD5 (ruby/sablot-0.5.0.tar.gz) = c9f811d68e15b104fc6af72691f280d5
|
||||
|
@ -1,15 +0,0 @@
|
||||
--- extconf.rb.orig Mon Mar 12 02:09:20 2001
|
||||
+++ extconf.rb Mon Mar 12 22:00:21 2001
|
||||
@@ -8,8 +8,10 @@
|
||||
end
|
||||
|
||||
if have_header("sablot.h") and
|
||||
- have_library("xmltok", "XmlParseXmlDecl") and
|
||||
- have_library("xmlparse", "XML_ParserCreate") and
|
||||
+ (have_library("expat", "XML_ParserCreate") or
|
||||
+ (have_library("xmltok", "XmlParseXmlDecl") and
|
||||
+ have_library("xmlparse", "XML_ParserCreate"))) and
|
||||
+ have_library("iconv") and
|
||||
have_library("sablot", "SablotProcessStrings")
|
||||
create_makefile("sablot")
|
||||
STDERR.print <<EOB
|
@ -1,9 +1,28 @@
|
||||
%%RUBY_SITEARCHLIBDIR%%/sablot.so
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/sample.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/sample.xml
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/sample.xsl
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/sample2.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/sample3.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/basic/sample.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/basic/sample.xml
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/basic/sample.xsl
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/basic/sample_file.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/basic/sample_obj.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/basic/sample_param.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/basic/sample_param.xsl
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/encoding/ddhc-iso-8859-1.xml
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/encoding/ddhc-utf-8.xml
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/encoding/doc-euc-jp.xml
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/encoding/doc-iso-2022-jp.xml
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/encoding/doc-shift_jis.xml
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/encoding/doc-utf-8.xml
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/encoding/doc2html.rb
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/encoding/doc2html.xsl
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/encoding/doc2html_fr.xsl
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/encoding/doc2html_ja.xsl
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/handler/sample.xml
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/handler/sample.xsl
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/handler/sample_err.xsl
|
||||
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/sablot/handler/sample_mh.rb
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/sablot/basic
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/sablot/encoding
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/sablot/handler
|
||||
%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/sablot
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/sablot/README
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/sablot/sablot.html
|
||||
|
Loading…
Reference in New Issue
Block a user