[89911] trunk/dports/www/mongrel2/Portfile
and.damore at macports.org
and.damore at macports.org
Tue Feb 14 14:45:47 PST 2012
Revision: 89911
http://trac.macports.org/changeset/89911
Author: and.damore at macports.org
Date: 2012-02-14 14:45:44 -0800 (Tue, 14 Feb 2012)
Log Message:
-----------
port mongrel2: version upgrade, removed patchfiles merged upstream, setting homepage to current URI -old one gives 404
Modified Paths:
--------------
trunk/dports/www/mongrel2/Portfile
Modified: trunk/dports/www/mongrel2/Portfile
===================================================================
--- trunk/dports/www/mongrel2/Portfile 2012-02-14 22:40:27 UTC (rev 89910)
+++ trunk/dports/www/mongrel2/Portfile 2012-02-14 22:45:44 UTC (rev 89911)
@@ -4,7 +4,8 @@
PortSystem 1.0
name mongrel2
-version 1.5
+version 1.7.5
+license BSD
categories www
platforms darwin
maintainers and.damore openmaintainer
@@ -14,29 +15,26 @@
web server that focuses on web applications using modern browser \
technologies.
-homepage http://mongrel2.org/home
-master_sites http://mongrel2.org/static/downloads
+homepage http://mongrel2.org
+# MEMO sources are available on github as well
+master_sites ${homepage}/static/downloads
use_bzip2 yes
-checksums md5 b699ffc7ef922ad7d703fcd39a897910 \
- sha1 f179c11702556ed6bf10fe092ba7a4e1cdce2c67 \
- rmd160 72bc262b1556b3ed6a0a60585c0d7f4285d7eeb2
+checksums md5 c243efc59e5972fa381bd13a7eeafdc7 \
+ sha1 456561fe04f1c0ee4a996cfc9deadab8c57ee6dc \
+ rmd160 e623bb17a42dfa509d9d14c1208b8fb6047f22a2
use_configure no
depends_lib port:gmake \
port:zmq20 \
port:sqlite3
-patchfiles patch-Makefile.diff \
- patch-tools_m2sh_Makefile.diff
+# override variables in Makefile for build and destroot phases
+build.args-append PREFIX=${prefix} \
+ CC=${configure.cc} \
+ OPTFLAGS="${configure.cflags} -I${prefix}/include [get_canonical_archflags cc]" \
+ OPTLIBS="${configure.ldflags} -L${prefix}/lib [get_canonical_archflags ld]"
+destroot.args-append PREFIX=${prefix}
-post-patch {
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/Makefile
- reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/Makefile
- reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/tools/m2sh/Makefile
-}
-
-#build.target macports
-
post-destroot {
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
xinstall -m 755 -d ${destroot}${prefix}/share/examples/${name}
@@ -47,3 +45,4 @@
xinstall -m 644 ${worksrcpath}/tests/config.sqlite ${destroot}${prefix}/share/examples/${name}/test-config.sqlite
eval file copy [glob ${worksrcpath}/examples/*] ${destroot}${prefix}/share/examples/${name}
}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120214/186c3752/attachment-0001.html>
More information about the macports-changes
mailing list