diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-12 13:03:30 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-03-12 13:03:30 +0000 |
commit | e9b8b7be2bf57ddc8e0cd31d781183b72d8bc370 (patch) | |
tree | 895fd939b31034605d399b16d1e5f3b87c166911 | |
parent | Add ${MASTER_SITE_SOURCEFORGE} to MASTER_SITES and remove www.mysql.net (diff) |
Update to 0.4.0.
Notes
Notes:
svn path=/head/; revision=39649
-rw-r--r-- | textproc/ruby-sablot/Makefile | 6 | ||||
-rw-r--r-- | textproc/ruby-sablot/distinfo | 2 | ||||
-rw-r--r-- | textproc/ruby-sablot/files/patch-extconf.rb | 29 | ||||
-rw-r--r-- | textproc/ruby-sablot/pkg-plist | 1 |
4 files changed, 16 insertions, 22 deletions
diff --git a/textproc/ruby-sablot/Makefile b/textproc/ruby-sablot/Makefile index b02b97def7c2..6c2fc081289a 100644 --- a/textproc/ruby-sablot/Makefile +++ b/textproc/ruby-sablot/Makefile @@ -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 diff --git a/textproc/ruby-sablot/distinfo b/textproc/ruby-sablot/distinfo index f03997fbe89b..f956bfd83b0b 100644 --- a/textproc/ruby-sablot/distinfo +++ b/textproc/ruby-sablot/distinfo @@ -1 +1 @@ -MD5 (ruby/sablot-0.0.2.tar.gz) = 077cefea47d357cf17dfc0c0d5691d52 +MD5 (ruby/sablot-0.4.0.tar.gz) = befe1d3d76ac338e39554b68fd139ffe diff --git a/textproc/ruby-sablot/files/patch-extconf.rb b/textproc/ruby-sablot/files/patch-extconf.rb index 23f7e51ff5a8..e2abb2870f94 100644 --- a/textproc/ruby-sablot/files/patch-extconf.rb +++ b/textproc/ruby-sablot/files/patch-extconf.rb @@ -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') +--- extconf.rb.orig Mon Mar 12 02:09:20 2001 ++++ extconf.rb Mon Mar 12 22:00:21 2001 +@@ -8,8 +8,10 @@ + end --$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") + 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") - end + STDERR.print <<EOB diff --git a/textproc/ruby-sablot/pkg-plist b/textproc/ruby-sablot/pkg-plist index c00d7b0ca155..a6655d03dcf6 100644 --- a/textproc/ruby-sablot/pkg-plist +++ b/textproc/ruby-sablot/pkg-plist @@ -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 |