source: trunk/dports/www/mod_mono/Portfile @ 30257

Last change on this file since 30257 was 30257, checked in by jmpp@…, 12 years ago

nomaintainer address abstraction in www category.

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