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

Last change on this file since 11593 was 11593, checked in by jkh, 15 years ago

The disposition of the dlopen() and poll() routines has evolved over 3 releases. Properly
conditionalize usage of this in the ports that need it to ensure that builds on Jaguar, Panther
and Tiger all work.

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1# $Id: Portfile,v 1.2 2005/04/04 10:08:39 jkh Exp $
2
3PortSystem 1.0
4name            mod_mono
5version         1.0.6
6categories      www
7platforms       darwin
8maintainers     jkh@opendarwin.org
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}/archive/
14#checksums      md5 cc91371a20d0b1209fe844c0cfd540e3
15depends_lib     bin:mcs:mono
16patchfiles      patch-Makefile.in
17depends_run     bin:xsp.exe:xsp
18
19variant darwin {
20        pre-configure {
21                reinplace "s/libmod_mono.so/libmod_mono.dylib/" ${worksrcpath}/src/Makefile.in
22        }
23}
24
25post-install {
26        ui_msg ""
27        ui_msg "To finish the configuration of this Apache module, you must add"
28        ui_msg "the following (modulo site variations) to your httpd.conf file:"
29        ui_msg ""
30        ui_msg "AddType application/x-asp-net .aspx .ashx .asmx .ascx .asax .config .ascx"
31        ui_msg "LoadModule mono_module libexec/httpd/mod_mono.so"
32        ui_msg "MonoUnixSocket /tmp/mod_mono_server"
33        ui_msg {Alias /mono "/usr/share/doc/xsp/test"}
34        ui_msg ""
35        ui_msg "Then do the following:"
36        ui_msg ""
37        ui_msg "cd ${prefix}/share/doc/xsp/test"
38        ui_msg "mono ${prefix}/bin/mod-mono-server.exe --root . --applications /mono:."
39        ui_msg ""
40        ui_msg "Finally, restart apache (if running) and point a browser at:"
41        ui_msg "http://127.0.0.1/mono/index.aspx to test ASP page-serving ability"
42        ui_msg ""
43}
Note: See TracBrowser for help on using the repository browser.