[20761] trunk/dports/www/duckytool/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sun Nov 26 09:31:14 PST 2006


Revision: 20761
          http://trac.macosforge.org/projects/macports/changeset/20761
Author:   pmq at macports.org
Date:     2006-11-26 09:31:14 -0800 (Sun, 26 Nov 2006)

Log Message:
-----------
See discussion at Bug #10706. Added a variant providing the links; the default is not to.

Modified Paths:
--------------
    trunk/dports/www/duckytool/Portfile

Modified: trunk/dports/www/duckytool/Portfile
===================================================================
--- trunk/dports/www/duckytool/Portfile	2006-11-26 17:28:02 UTC (rev 20760)
+++ trunk/dports/www/duckytool/Portfile	2006-11-26 17:31:14 UTC (rev 20761)
@@ -29,7 +29,9 @@
         xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
         xinstall -m 0644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}/README
         xinstall -m 0755 ${worksrcpath}/ducky.py ${destroot}${prefix}/bin/
-        system "cd '${worksrcpath}' && make links"
+	if [variant_isset links] {
+            system "cd '${worksrcpath}' && make links"
+	}
 }
 
 post-activate {
@@ -40,3 +42,8 @@
         ui_msg "    for instructions."
         ui_msg "  ====================================================="
 }
+
+# this variant creates symlinks like 'g', 'fl'...
+variant links {
+	# placeholder, see destroot
+}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061126/ab200b21/attachment.html


More information about the macports-changes mailing list