[28692] trunk/dports/textproc/libxslt/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Fri Sep 7 06:26:19 PDT 2007


Revision: 28692
          http://trac.macosforge.org/projects/macports/changeset/28692
Author:   nox at macports.org
Date:     2007-09-07 06:26:19 -0700 (Fri, 07 Sep 2007)

Log Message:
-----------
libxslt:
 * Updated to 1.1.22.
 * Standard documentation is now installed.
 * Added doc variant to install API documentation which was installed by default
   (no need for the common user to have a local copy of libxslt website).
 * Disabled crypto support (would have linked to libgcrypt if it was installed).
 * Added md5 and sha1 checksums.
 * Added test support.

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

Modified: trunk/dports/textproc/libxslt/Portfile
===================================================================
--- trunk/dports/textproc/libxslt/Portfile	2007-09-07 12:06:56 UTC (rev 28691)
+++ trunk/dports/textproc/libxslt/Portfile	2007-09-07 13:26:19 UTC (rev 28692)
@@ -2,24 +2,51 @@
 PortSystem  1.0
 
 name              libxslt
-version	           1.1.21
+version	          1.1.22
 description       gnome xslt library and xsltproc
 categories        textproc
 platforms         darwin
-maintainers       rhwood openmaintainer at macports.org
+maintainers       rhwood openmaintainer
 
 homepage          http://xmlsoft.org/XSLT/
 master_sites      ftp://xmlsoft.org/${name}/
-checksums         rmd160 5c55d24fdcb5c14f004829e9bf2b02320edd63a0
+
+checksums         md5 d6a9a020a76a3db17848d769d6c9c8a9 \
+                  sha1 55ce4dc659681d9a5ba2322c45cbdfe75b46639c \
+                  rmd160 bc2d32a4d7fea777c3d4b0ce3f5a70c8ea3f8969
+
 depends_lib       port:libiconv port:libxml2 port:zlib
 configure.args	  --mandir=${prefix}/share/man --enable-static=no \
                     --with-libxml-prefix=${prefix} \
-                    --without-python
+                    --without-python \
+                    --without-crypto
 
 pre-configure {
     reinplace s|need_relink=yes|need_relink=no| ${worksrcpath}/ltmain.sh
 }
 
+post-configure {
+	if {! [variant_isset doc]} {
+		cd ${worksrcpath}/doc
+		reinplace -E "/^install-data-am:/s|install-data-local||" Makefile
+		reinplace -E "/^all:/s|web||" Makefile
+	}
+}
+
+post-destroot {
+	set docdir ${prefix}/share/doc/${name}-${version}
+	if {! [variant_isset doc]} {
+		xinstall -d ${destroot}${docdir}
+	}
+	xinstall -m 0644 -W ${worksrcpath} AUTHORS COPYING ChangeLog Copyright FEATURES \
+		NEWS README TODO ${destroot}${docdir}
+}
+
+test.run    yes
+test.target check
+
+variant doc description {Install extra documentation} {}
+
 variant debug {
         configure.cflags-append -O0 -g
 	configure.args-append --with-debugger
@@ -35,3 +62,4 @@
 livecheck.check regex
 livecheck.url   ${homepage}news.html
 livecheck.regex {<h3>(\d+(?:\.\d+)*): .*</h3>}
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070907/fe337dab/attachment.html


More information about the macports-changes mailing list