Modified: trunk/dports/irc/eggdrop/Portfile (77378 => 77379)
--- trunk/dports/irc/eggdrop/Portfile 2011-03-29 06:51:50 UTC (rev 77378)
+++ trunk/dports/irc/eggdrop/Portfile 2011-03-29 06:57:44 UTC (rev 77379)
@@ -20,8 +20,14 @@
use_bzip2 yes
post-configure { system "cd ${worksrcpath} && make config" }
destroot.destdir DEST=${destroot}${prefix}/share/eggdrop
-post-destroot { system "cd ${destroot}${prefix}/bin/ && rm ../share/eggdrop/eggdrop && ln -s ../share/eggdrop/eggdrop-${version} eggdrop && mv ../share/eggdrop/eggdrop.conf ../share/eggdrop/eggdrop.conf.sample && mv ../share/eggdrop/doc/man1/eggdrop.1 ../share/man/man1"
+
+post-destroot {
+ delete ${destroot}${prefix}/share/eggdrop/eggdrop
+ ln -s ../share/eggdrop/eggdrop-${version} ${destroot}${prefix}/bin/eggdrop
+ move ${destroot}${prefix}/share/eggdrop/eggdrop.conf ${destroot}${prefix}/share/eggdrop/eggdrop.conf.sample
+ move ${destroot}${prefix}/share/eggdrop/doc/man1/eggdrop.1 ${destroot}${prefix}/share/man/man1
}
+
platform darwin 8 {
configure.cflags-append "-DBIND_8_COMPAT"
}