[128579] trunk/dports/textproc/xml2rfc

khindenburg at macports.org khindenburg at macports.org
Sun Nov 23 19:54:56 PST 2014


Revision: 128579
          https://trac.macports.org/changeset/128579
Author:   khindenburg at macports.org
Date:     2014-11-23 19:54:56 -0800 (Sun, 23 Nov 2014)
Log Message:
-----------
xml2rfc: add patch that fixes building #45974; add license; fix livecheck

Modified Paths:
--------------
    trunk/dports/textproc/xml2rfc/Portfile

Added Paths:
-----------
    trunk/dports/textproc/xml2rfc/files/patch-example.xml.diff

Modified: trunk/dports/textproc/xml2rfc/Portfile
===================================================================
--- trunk/dports/textproc/xml2rfc/Portfile	2014-11-24 03:43:08 UTC (rev 128578)
+++ trunk/dports/textproc/xml2rfc/Portfile	2014-11-24 03:54:56 UTC (rev 128579)
@@ -7,6 +7,7 @@
 version             1.36
 categories          textproc
 platforms           darwin
+license             BSD
 maintainers         nomaintainer
 supported_archs     noarch
 
@@ -23,7 +24,8 @@
                     sha256  eb1c59597fcb40575bf56e2d04e1c8d7e1b3e965c32e20801354d7404e1f270c
 
 depends_build       bin:unzip:unzip
-patchfiles          fast-sync.sh.diff
+patchfiles          fast-sync.sh.diff \
+                    patch-example.xml.diff
 
 use_configure       no
 destroot {
@@ -43,4 +45,5 @@
 }
 
 livecheck.type      regex
-livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
+livecheck.url       [lindex $master_sites 0]
+livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}

Added: trunk/dports/textproc/xml2rfc/files/patch-example.xml.diff
===================================================================
--- trunk/dports/textproc/xml2rfc/files/patch-example.xml.diff	                        (rev 0)
+++ trunk/dports/textproc/xml2rfc/files/patch-example.xml.diff	2014-11-24 03:54:56 UTC (rev 128579)
@@ -0,0 +1,11 @@
+--- example.xml.orig	2014-11-21 14:49:29.000000000 -0500
++++ example.xml	2014-11-21 14:49:40.000000000 -0500
+@@ -4,7 +4,7 @@
+ 
+ <!DOCTYPE rfc SYSTEM "rfc2629.dtd" [
+     <!ENTITY rfc2119 PUBLIC '' 
+-      'http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml'>
++      'http://xml2rfc.ietf.org/public/rfc/bibxml/reference.RFC.2119.xml'>
+ ]>
+ 
+ <rfc category="std" ipr="full3978" docName="sample.txt">
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141123/b1627ef7/attachment.html>


More information about the macports-changes mailing list