[104063] trunk/dports/devel/log4cpp/Portfile

michaelld at macports.org michaelld at macports.org
Thu Mar 14 06:30:46 PDT 2013


Revision: 104063
          https://trac.macports.org/changeset/104063
Author:   michaelld at macports.org
Date:     2013-03-14 06:30:46 -0700 (Thu, 14 Mar 2013)
Log Message:
-----------
log4cpp:
* update to version 1.1;
* redo autoconf et.al. for modern usage;
* add license.

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

Modified: trunk/dports/devel/log4cpp/Portfile
===================================================================
--- trunk/dports/devel/log4cpp/Portfile	2013-03-14 12:29:48 UTC (rev 104062)
+++ trunk/dports/devel/log4cpp/Portfile	2013-03-14 13:30:46 UTC (rev 104063)
@@ -4,10 +4,10 @@
 PortSystem          1.0
 
 name                log4cpp
-version             1.0
-set branch          [join [lrange [split ${version} .] 0 1] .]
+version             1.1
 categories          devel
 platforms           darwin
+license             LGPL-2.1
 maintainers         nomaintainer
 
 description         configurable logging for C++
@@ -18,13 +18,29 @@
                     API as is reasonable.
 
 homepage            http://log4cpp.sourceforge.net/
-master_sites        sourceforge:project/log4cpp/log4cpp-${branch}.x%20%28current%29/log4cpp-${version}
+master_sites        sourceforge
 
+checksums           sha1 6003105dd11b1fe6f0f88b5bc42c86cccd78d5ae
+
+worksrcdir         ${name}
+
+use_autoconf        yes
+autoconf.cmd       ${worksrcpath}/autogen.sh
+
+post-extract {
+    move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
+    reinplace "s at AM_CONFIG_HEADER@AC_CONFIG_HEADERS at g" \
+        ${worksrcpath}/configure.ac
+    reinplace "s at libtoolize@glibtoolize at g" ${worksrcpath}/autogen.sh
+    reinplace "s at INCLUDES@AM_CPPFLAGS at g" ${worksrcpath}/src/Makefile.am
+    reinplace "s at INCLUDES@AM_CPPFLAGS at g" ${worksrcpath}/tests/Makefile.am
+}
+
+# docs do not honor DESTDIR; keep them disabled for now
+
 configure.args      --disable-doxygen \
                     --disable-dot \
                     --disable-html-docs \
                     --disable-latex-docs
 
-checksums           sha1    bdb2fa7a8c8af738d79156bf9f6191875cdba5cc
-
 livecheck.regex     /${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130314/ed78d445/attachment-0001.html>


More information about the macports-changes mailing list