source: trunk/dports/www/mod_mono/Portfile

Last change on this file was 110865, checked in by jmr@…, 4 years ago

mod_mono: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 110865 2013-09-08 21:25:02Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            mod_mono
6version         1.1.16.1
7categories      www mono
8license         Apache-2
9platforms       darwin
10maintainers     nomaintainer
11description     an Apache plug-in for hosting the Mono System.Web classes
12long_description        An Apache web server plug-in that hosts the Mono System.Web classes for running what is commonly known as ASP.NET
13
14homepage        http://www.mono-project.com/Mod_mono
15master_sites    http://www.go-mono.com/sources/mod_mono/
16checksums       md5 7f50123fdb8fb669bdc42d1b3c498190
17
18depends_build   port:pkgconfig
19
20depends_lib     port:mono port:apache2
21
22depends_run     port:xsp
23
24# mono is not universal
25universal_variant   no
26
27configure.args  --with-mono-prefix=${prefix} \
28                --with-apxs=${prefix}/apache2/bin/apxs \
29                --with-apr-config=${prefix}/bin/apr-1-config \
30                --mandir=${prefix}/share/man
31
32post-install {
33        ui_msg ""
34        ui_msg "To finish the configuration of this Apache module, you must add"
35        ui_msg "the following (modulo site variations) to your httpd.conf file:"
36        ui_msg ""
37        ui_msg "AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx"
38        ui_msg "LoadModule mono_module libexec/httpd/mod_mono.so"
39        ui_msg "MonoUnixSocket /tmp/mod_mono_server"
40        ui_msg {Alias /mono "/usr/share/doc/xsp/test"}
41        ui_msg ""
42        ui_msg "Then do the following:"
43        ui_msg ""
44        ui_msg "cd ${prefix}/share/doc/xsp/test"
45        ui_msg "mono ${prefix}/bin/mod-mono-server.exe --root . --applications /mono:."
46        ui_msg ""
47        ui_msg "Finally, restart apache (if running) and point a browser at:"
48        ui_msg "http://127.0.0.1/mono/index.aspx to test ASP page-serving ability"
49        ui_msg ""
50}
51
52livecheck.type          regex
53livecheck.url           [lindex ${master_sites} 0]
54livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.