[99124] trunk/dports/textproc/sgml-common/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Oct 27 12:39:14 PDT 2012


Revision: 99124
          http://trac.macports.org//changeset/99124
Author:   ryandesign at macports.org
Date:     2012-10-27 12:39:14 -0700 (Sat, 27 Oct 2012)
Log Message:
-----------
sgml-common: fix master_sites (#36760); simplify destroot; noarch

Modified Paths:
--------------
    trunk/dports/textproc/sgml-common/Portfile

Modified: trunk/dports/textproc/sgml-common/Portfile
===================================================================
--- trunk/dports/textproc/sgml-common/Portfile	2012-10-27 17:52:22 UTC (rev 99123)
+++ trunk/dports/textproc/sgml-common/Portfile	2012-10-27 19:39:14 UTC (rev 99124)
@@ -5,10 +5,13 @@
 
 name                sgml-common
 version             0.6.3
+set openjade_version 1.3.2
 categories          textproc
 platforms           darwin
 license             GPL-2+
 maintainers         fourpalms.org:lockhart openmaintainer
+supported_archs     noarch
+
 # Actually - there is no homepage of this project, on that URL
 # page you could get complete ISO 8879 listing as was on the
 # old page - only part of it is included in sgml-common package.
@@ -21,18 +24,20 @@
                     Transcribed from the Fedora 15 RPM written originally by \
                     Tim Waugh <twaugh at redhat.com> based on work by Eric Bischoff \
                     and with recent maintenance by Ondrej Vasik <ovasik at redhat.com>.
-master_sites        ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/
 
+master_sites        ftp://sources.redhat.com/pub/docbook-tools/new-trials/SOURCES/:redhat \
+                    sourceforge:project/openjade/openjade/${openjade_version}:openjade
+
 extract.suffix      .tgz
+set openjade        openjade-${openjade_version}
 
-checksums           [lindex $distfiles 0] \
+distfiles           ${distname}${extract.suffix}:redhat \
+                    ${openjade}.tar.gz:openjade
+
+checksums           ${distname}${extract.suffix} \
                     rmd160  246d01272f70cd8382a7d596392e61d7dc0eec78 \
-                    sha256  7dc418c1d361123ffc5e45d61f1b97257940a8eb35d0bfbbc493381cc5b1f959
-
-set openjade        openjade-1.3.2
-distfiles-append    ${openjade}.tar.gz:openjade
-master_sites        sourceforge:openjade
-checksums-append    ${openjade}.tar.gz \
+                    sha256  7dc418c1d361123ffc5e45d61f1b97257940a8eb35d0bfbbc493381cc5b1f959 \
+                    ${openjade}.tar.gz \
                     rmd160  3b12f6596a42c49a60cc07cd9b8f4c5fdf3bafd2 \
                     sha256  1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1
 
@@ -123,8 +128,5 @@
     xinstall ${worksrcpath}/config/sgml.conf ${destroot}${prefix}/etc/sgml/sgml.conf
     xinstall -d ${destroot}${sgmldir}
     # Following 4 from openjade/pubtext - same maintainer as in SGML-common, so up2date:
-    xinstall ${workpath}/${openjade}/pubtext/xml.dcl ${destroot}${sgmldir}/
-    xinstall ${workpath}/${openjade}/pubtext/xml.soc ${destroot}${sgmldir}/
-    xinstall ${workpath}/${openjade}/pubtext/html.dcl ${destroot}${sgmldir}/
-    xinstall ${workpath}/${openjade}/pubtext/html.soc ${destroot}${sgmldir}/
+    xinstall -W ${workpath}/${openjade}/pubtext xml.dcl xml.soc html.dcl html.soc ${destroot}${sgmldir}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121027/fab7b8d5/attachment.html>


More information about the macports-changes mailing list