Update to 0.4.0.
This commit is contained in:
parent
38fae3c981
commit
e9b8b7be2b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=39649
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= sablot
|
||||
PORTVERSION= 0.0.2
|
||||
PORTVERSION= 0.4.0
|
||||
CATEGORIES= textproc ruby
|
||||
MASTER_SITES= http://www.inac.co.jp/~maki/ruby/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
@ -22,14 +22,10 @@ USE_RUBY_EXTCONF= yes
|
||||
USE_RUBY_RD= yes
|
||||
.endif
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
DOCS= README sablot.html sablot.rd
|
||||
|
||||
post-extract:
|
||||
${RM} ${WRKSRC}/Makefile
|
||||
|
||||
post-build:
|
||||
.if !defined(NOPORTDOCS)
|
||||
cd ${WRKSRC} && ${RUBY_RD} sablot.rd > sablot.html
|
||||
|
@ -1 +1 @@
|
||||
MD5 (ruby/sablot-0.0.2.tar.gz) = 077cefea47d357cf17dfc0c0d5691d52
|
||||
MD5 (ruby/sablot-0.4.0.tar.gz) = befe1d3d76ac338e39554b68fd139ffe
|
||||
|
@ -1,18 +1,15 @@
|
||||
--- extconf.rb.orig Sun Dec 3 23:50:31 2000
|
||||
+++ extconf.rb Sat Mar 10 00:35:37 2001
|
||||
@@ -2,10 +2,10 @@
|
||||
|
||||
dir_config('sablot')
|
||||
|
||||
-$LOCAL_LIBS += " -L/usr/local/lib -lsablot -lxmlparse -lxmltok"
|
||||
-
|
||||
-if have_header("sablot.h") &&
|
||||
- have_library("sablot", "SablotProcessStrings") &&
|
||||
- have_library("xmltok", "XML_ParserCreate")
|
||||
+if have_header("expat.h") &&
|
||||
+ have_header("sablot.h") &&
|
||||
+ have_library("expat", "XML_ParserCreate") &&
|
||||
+ have_library("iconv") &&
|
||||
+ have_library("sablot", "SablotProcessStrings")
|
||||
create_makefile("sablot")
|
||||
--- 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
|
||||
|
@ -3,6 +3,7 @@
|
||||
%%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%%@dirrm %%RUBY_EXAMPLESDIR%%/sablot
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/sablot/README
|
||||
%%PORTDOCS%%%%RUBY_DOCDIR%%/sablot/sablot.html
|
||||
|
Loading…
Reference in New Issue
Block a user