[36303] trunk/dports/www/yaws/Portfile
pguyot at kallisys.net
pguyot at kallisys.net
Sat Apr 26 00:55:05 PDT 2008
Revision: 36303
http://trac.macosforge.org/projects/macports/changeset/36303
Author: pguyot at kallisys.net
Date: 2008-04-26 00:55:04 -0700 (Sat, 26 Apr 2008)
Log Message:
-----------
www/yaws: added yapp variant for yapp application handler
Modified Paths:
--------------
trunk/dports/www/yaws/Portfile
Modified: trunk/dports/www/yaws/Portfile
===================================================================
--- trunk/dports/www/yaws/Portfile 2008-04-26 07:42:41 UTC (rev 36302)
+++ trunk/dports/www/yaws/Portfile 2008-04-26 07:55:04 UTC (rev 36303)
@@ -36,9 +36,20 @@
reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/src/yaws_config.erl
}
+default_variants +yapp
+
configure.args --prefix=${prefix} \
--sysconfdir=${prefix}/etc \
--localstatedir=${prefix}/var
+
+variant yapp description {Yapp application handler} {
+ post-build {
+ system "cd ${worksrcpath}/applications/yapp && make && make docs"
+ }
+ post-destroot {
+ system "cd ${worksrcpath}/applications/yapp && make install DESTDIR=${destroot}"
+ }
+}
post-destroot {
xinstall -d "${destroot}${prefix}/var/log/yaws/"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080426/b6cbf282/attachment.html
More information about the macports-changes
mailing list