[87797] trunk/dports/net/haproxy/Portfile

pmq at macports.org pmq at macports.org
Tue Dec 6 12:52:41 PST 2011


Revision: 87797
          http://trac.macports.org/changeset/87797
Author:   pmq at macports.org
Date:     2011-12-06 12:52:40 -0800 (Tue, 06 Dec 2011)
Log Message:
-----------
Major version bump to 1.4.18. Closes #30209 by maintainer timeout, although this doesn't use the provided older patch.
Use the provided destroot, but patch first the hardcoded /usr/local path. This enables installing some extra documentation.

Modified Paths:
--------------
    trunk/dports/net/haproxy/Portfile

Modified: trunk/dports/net/haproxy/Portfile
===================================================================
--- trunk/dports/net/haproxy/Portfile	2011-12-06 13:42:13 UTC (rev 87796)
+++ trunk/dports/net/haproxy/Portfile	2011-12-06 20:52:40 UTC (rev 87797)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 
 name              haproxy
-version           1.3.20
+version           1.4.18
 categories        net
 platforms         darwin
 maintainers       samgranieri.com:sam
@@ -18,17 +18,20 @@
                   per second on modern hardware, even with thousands simultaneous connections.
 
 homepage          http://haproxy.1wt.eu/
-master_sites      http://haproxy.1wt.eu/download/1.3/src/
+master_sites      http://haproxy.1wt.eu/download/1.4/src/
 
-checksums         md5     e37046e0cb2f407d92c41d7731d1dd10 \
-                  sha1    c017c2853ca0f20669abfb24c7f3b30630d86438 \
-                  rmd160  5f16cd2862bc02b61be44682d591f689a36c964d
+checksums         md5     4ac88bb1a76c4b84ed4f6131183bedbe \
+                  sha1    191dbcb5880c711580693bd081ca5fdd8dde3012 \
+                  rmd160  16729f0519a47123d88e849ae95d600c590c8583
 
-use_configure     no
+configure  {
+  reinplace "s#/usr/local#${prefix}#g" ${worksrcpath}/Makefile
+}
 
 build.target TARGET=osx
 
-destroot  {
-  xinstall -s -m 755 ${worksrcpath}/haproxy ${destroot}${prefix}/sbin
-  xinstall -m 644 ${worksrcpath}/doc/haproxy.1 ${destroot}${prefix}/share/man/man1
+post-destroot  {
+  set docdir ${destroot}${prefix}/share/doc
+  # xinstall -d ${docdir}
+  file rename ${destroot}${prefix}/doc ${docdir}
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111206/1e9ba1e1/attachment.html>


More information about the macports-changes mailing list