Ticket #18036: htdig.diff
File htdig.diff, 1.5 KB (added by ryandesign (Ryan Carsten Schmidt), 16 years ago) |
---|
-
files/httpd.conf
1 1 # 2 2 # This is a default apache configuration 3 # file installed by DarwinPorts for:3 # file installed by MacPorts for: 4 4 # ht://Dig Group WWW Search Engine 5 # NAME - VERSION5 # @NAME@ - @VERSION@ 6 6 # 7 Alias / NAME "DP_PREFIX/share/NAME/images"8 Alias / NAME/ "DP_PREFIX/share/NAME/images/"7 Alias /@NAME@ "@PREFIX@/share/@NAME@/images" 8 Alias /@NAME@/ "@PREFIX@/share/@NAME@/images/" 9 9 # 10 <Directory " DP_PREFIX/share/NAME/images">10 <Directory "@PREFIX@/share/@NAME@/images"> 11 11 Options Indexes MultiViews 12 12 AllowOverride None 13 13 Order allow,deny -
Portfile
102 102 file mkdir ${destroot}${httpd_conf_path} 103 103 system "install -m 644 ${portpath}/${filesdir}/httpd.conf \ 104 104 ${destroot}${httpd_conf_path}/httpd_${name}.conf" 105 reinplace "s| DP_PREFIX|${prefix}|g" \105 reinplace "s|@PREFIX@|${prefix}|g" \ 106 106 "${destroot}${httpd_conf_path}/httpd_${name}.conf" 107 reinplace "s| NAME|${name}|g" \107 reinplace "s|@NAME@|${name}|g" \ 108 108 "${destroot}${httpd_conf_path}/httpd_${name}.conf" 109 reinplace "s| VERSION|${version}|g" \109 reinplace "s|@VERSION@|${version}|g" \ 110 110 "${destroot}${httpd_conf_path}/httpd_${name}.conf" 111 111 112 112 # Install contributed scripts