public
Description: Git mirror of the MacPorts svn repo
Homepage: http://www.macports.org
Clone URL: git://github.com/kballard/macports.git
Search Repo:
www/yaws: added yapp variant for yapp application handler


git-svn-id: http://svn.macports.org/repository/macports/trunk@36303 
d073be05-634f-4543-b044-5fe20cf6d1d6
Paul Guyot (author)
Sat Apr 26 00:55:04 -0700 2008
commit  c688f4d9c1409ae2e718e82e431619a8516ddb73
tree    c4b065d373afa20f1d8e1702d40cfbe0f4bff73b
parent  3df717c27653629edcdd0f98ffd23b1ad99c97f4
...
36
37
38
 
 
39
40
41
 
 
 
 
 
 
 
 
 
42
43
44
...
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
0
@@ -36,9 +36,20 @@
0
   reinplace "s|__PREFIX|${prefix}|g" ${worksrcpath}/src/yaws_config.erl
0
 }
0
 
0
+default_variants +yapp
0
+
0
 configure.args    --prefix=${prefix} \
0
           --sysconfdir=${prefix}/etc \
0
           --localstatedir=${prefix}/var
0
+
0
+variant yapp description {Yapp application handler} {
0
+ post-build {
0
+ system "cd ${worksrcpath}/applications/yapp && make && make docs"
0
+ }
0
+ post-destroot {
0
+ system "cd ${worksrcpath}/applications/yapp && make install DESTDIR=${destroot}"
0
+ }
0
+}
0
           
0
 post-destroot {
0
   xinstall -d "${destroot}${prefix}/var/log/yaws/"

Comments

    No one has commented yet.