[127811] trunk/dports/security/logwatch/Portfile

khindenburg at macports.org khindenburg at macports.org
Tue Nov 4 07:14:41 PST 2014


Revision: 127811
          https://trac.macports.org/changeset/127811
Author:   khindenburg at macports.org
Date:     2014-11-04 07:14:41 -0800 (Tue, 04 Nov 2014)
Log Message:
-----------
logwatch: fix binary and plist symlinks

Modified Paths:
--------------
    trunk/dports/security/logwatch/Portfile

Modified: trunk/dports/security/logwatch/Portfile
===================================================================
--- trunk/dports/security/logwatch/Portfile	2014-11-04 14:56:04 UTC (rev 127810)
+++ trunk/dports/security/logwatch/Portfile	2014-11-04 15:14:41 UTC (rev 127811)
@@ -60,8 +60,9 @@
 
 post-destroot {
     file delete /Library/LaunchDaemons/org.macports.${name}.plist
-    ln -s ${prefix}/etc/LaunchDaemons/${name}/org.macports.${name}.plist /Library/LaunchDaemons
-    ln -s ${prefix}/share/${name}/scripts/logwatch.pl ${prefix}/bin/logwatch
+    xinstall -d -m 0755 ${destroot}/Library/LaunchDaemons
+    ln -sf ${prefix}/etc/LaunchDaemons/${name}/org.macports.${name}.plist ${destroot}/Library/LaunchDaemons/
+    ln -sf ${prefix}/share/${name}/scripts/logwatch.pl ${destroot}${prefix}/bin/logwatch
 }
 
 notes "
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141104/45533a4e/attachment.html>


More information about the macports-changes mailing list