[27959] trunk/dports/textproc/texinfo/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Aug 16 08:03:01 PDT 2007


Revision: 27959
          http://trac.macosforge.org/projects/macports/changeset/27959
Author:   vinc17 at macports.org
Date:     2007-08-16 08:02:57 -0700 (Thu, 16 Aug 2007)

Log Message:
-----------
* Took the maintainership.
* Bump to version 4.9.
* Install doc files in ${prefix}/share/doc/texinfo.
* Added livecheck support (default rules don't work).

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

Modified: trunk/dports/textproc/texinfo/Portfile
===================================================================
--- trunk/dports/textproc/texinfo/Portfile	2007-08-16 14:50:37 UTC (rev 27958)
+++ trunk/dports/textproc/texinfo/Portfile	2007-08-16 15:02:57 UTC (rev 27959)
@@ -1,29 +1,39 @@
 # $Id$
+
 PortSystem 1.0
 name            texinfo
-version         4.8
-revision        2
+version         4.9
 categories      textproc
-maintainers     nomaintainer at macports.org
+maintainers     vincent-opdarw at vinc17.org
 description     Texinfo is the official documentation format of the GNU project
 long_description        Texinfo is the official documentation format of the \
-		GNU project. It uses a single source file to produce output \
-		in a number of formats, both online and printed (dvi, info, \
-		html, xml, etc.). This means that instead of writing \
-		different documents for online information and another for \
-		a printed manual, you need write only one document.
+                GNU project. It uses a single source file to produce output \
+                in a number of formats, both online and printed (dvi, info, \
+                html, xml, etc.). This means that instead of writing \
+                different documents for online information and another for \
+                a printed manual, you need write only one document.
 homepage        http://www.gnu.org/software/texinfo/
 master_sites    gnu
 use_bzip2       yes
-checksums       md5 6ba369bbfe4afaa56122e65b3ee3a68c
+checksums       md5 f4458e4b81e5469fa0815c35654141ab \
+                sha1 19a0cc0b56cbfcfe610925bef31e0bdf749492c9 \
+                rmd160 ec74348476cd8360e5f8317e86e5da1b23a6982c
 
-configure.args	--mandir=${prefix}/share/man \
-				--infodir=${prefix}/share/info
+depends_lib     port:gettext \
+                port:libiconv \
+                port:ncurses
 
-depends_lib	port:gettext \
-		port:libiconv \
-		port:ncurses
+pre-destroot {
+    xinstall -d "${destroot}${prefix}/share/doc/${name}"
+    xinstall -m 644 -v -W "${worksrcpath}" AUTHORS INTRODUCTION NEWS TODO \
+      "${destroot}${prefix}/share/doc/${name}"
+}
 
 post-destroot {
-	file delete -force ${destroot}${prefix}/lib/charset.alias
+    file delete -force ${destroot}${prefix}/lib/charset.alias
 }
+
+# We need to support names like 'texinfo-4.8a.tar.bz2'.
+livecheck.check     regex
+livecheck.url       http://ftp.gnu.org/gnu/texinfo/?M=D
+livecheck.regex     ${name}-(\[0-9.a-s\]+)\\.tar

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


More information about the macports-changes mailing list