[77379] trunk/dports/irc/eggdrop/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Mar 28 23:57:45 PDT 2011


Revision: 77379
          http://trac.macports.org/changeset/77379
Author:   ryandesign at macports.org
Date:     2011-03-28 23:57:44 -0700 (Mon, 28 Mar 2011)
Log Message:
-----------
eggdrop: convert some "system" invocations to native Tcl commands; see #28356

Modified Paths:
--------------
    trunk/dports/irc/eggdrop/Portfile

Modified: trunk/dports/irc/eggdrop/Portfile
===================================================================
--- 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"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110328/a7e4fd31/attachment.html>


More information about the macports-changes mailing list