[125322] trunk/dports/devel/libtool/Portfile

larryv at macports.org larryv at macports.org
Sat Sep 13 10:58:41 PDT 2014


Revision: 125322
          https://trac.macports.org/changeset/125322
Author:   larryv at macports.org
Date:     2014-09-13 10:58:41 -0700 (Sat, 13 Sep 2014)
Log Message:
-----------
libtool: Add modeline and clean up

Also removed the unnecessary post-destroot check.

Modified Paths:
--------------
    trunk/dports/devel/libtool/Portfile

Modified: trunk/dports/devel/libtool/Portfile
===================================================================
--- trunk/dports/devel/libtool/Portfile	2014-09-13 15:54:46 UTC (rev 125321)
+++ trunk/dports/devel/libtool/Portfile	2014-09-13 17:58:41 UTC (rev 125322)
@@ -1,51 +1,48 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem      1.0
+PortSystem          1.0
 
-name            libtool
-version         2.4.2
-revision        3
-categories      devel sysutils
+name                libtool
+version             2.4.2
+revision            3
+categories          devel sysutils
+platforms           darwin freebsd
 # Scripts are GPL-2+, libltdl is LGPL-2+, but all parts that tend to be
 # distributed with dependents have a licensing exception that allows
 # distrbution under the same terms as the rest of the program.
-license         libtool
-maintainers     larryv
-description     GNU Libtool - The GNU Portable Library Tool
+license             libtool
+maintainers         larryv
 
-long_description \
-    GNU libtool is a generic library support script. Libtool hides the  \
-    complexity of using shared libraries behind a consistent, portable  \
-    interface.
+description         GNU Libtool - The GNU Portable Library Tool
+long_description    GNU libtool is a generic library support script. \
+                    Libtool hides the complexity of using shared \
+                    libraries behind a consistent, portable interface.
+homepage            http://www.gnu.org/software/libtool/
 
-homepage        http://www.gnu.org/software/libtool/
-platforms       darwin freebsd
-master_sites    gnu
+depends_build       port:automake port:autoconf
+if {${os.platform} ne "darwin"} {
+    depends_lib     port:grep port:gsed
+}
 
+master_sites        gnu
 checksums           md5     d2f3b7d4627e69e13514a40e72a24d50 \
                     sha1    22b71a8b5ce3ad86e1094e7285981cae10e6ff88 \
                     rmd160  b7153f3f1e1c50d8c04787cafccd4e19af62ec7d
 
-depends_build   port:automake port:autoconf
-
-if {${os.platform} ne "darwin"} {
-    depends_lib port:grep \
-                port:gsed
-}
-
-#worksrcdir      [strsed $distname {s/[a-z]*$//}]
-
-configure.args  F77=no \
-                FC=no \
-                GCJ=no \
-                --program-prefix=g
-
 # Patch to allow -stdlib=* for the linker
 # See ticket 32982.
 # committed upstream -> remove for libtool 2.4.3
 patchfiles      ltmain.m4sh-allow-clang-stdlib.diff
 
-use_parallel_build  yes
+platform darwin {
+    configure.env   GREP=/usr/bin/grep \
+                    SED=/usr/bin/sed
+}
+configure.args      FC=no \
+                    F77=no \
+                    GCJ=no \
+                    --program-prefix=g
 
 post-destroot {
     set gnubin ${prefix}/libexec/gnubin
@@ -59,22 +56,9 @@
         TODO ${destroot}${docdir}
 }
 
-test.run        yes
-test.target     check
+test.run            yes
+test.target         check
 
-platform darwin {
-    configure.env-append GREP=/usr/bin/grep \
-                         SED=/usr/bin/sed
-    post-destroot {
-        foreach {neededfile} "${prefix}/lib/libltdl.dylib" {
-            if {![file exists ${destroot}${neededfile}]} {
-                ui_error "${neededfile} is not in the destroot. Please clean ${name} and try again."
-                return -code error "missing ${neededfile} in destroot"
-            }
-        }
-    }
-}
-
-livecheck.type  regex
-livecheck.url   http://ftp.gnu.org/gnu/${name}/?C=M&O=D
-livecheck.regex ${name}-(\\d+(?:\\.\\d+)*\[a-z\]?)
+livecheck.type      regex
+livecheck.url       http://ftp.gnu.org/gnu/${name}/?C=M&O=D
+livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*\[a-z\]?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140913/82369429/attachment.html>


More information about the macports-changes mailing list