[55828] trunk/dports/sysutils/duplicity/Portfile

singingwolfboy at macports.org singingwolfboy at macports.org
Wed Aug 19 19:07:26 PDT 2009


Revision: 55828
          http://trac.macports.org/changeset/55828
Author:   singingwolfboy at macports.org
Date:     2009-08-19 19:07:25 -0700 (Wed, 19 Aug 2009)
Log Message:
-----------
more cleaning: properly labeled build.args instead of using build.cmd-append, gave variants descriptions, restated categories in variants (they were being clobbered by portgroup)

Modified Paths:
--------------
    trunk/dports/sysutils/duplicity/Portfile

Modified: trunk/dports/sysutils/duplicity/Portfile
===================================================================
--- trunk/dports/sysutils/duplicity/Portfile	2009-08-20 02:03:16 UTC (rev 55827)
+++ trunk/dports/sysutils/duplicity/Portfile	2009-08-20 02:07:25 UTC (rev 55828)
@@ -6,7 +6,7 @@
 version       0.5.18
 categories    sysutils
 platforms     darwin
-maintainers   nomaintainer
+maintainers   singingwolfboy openmaintainer
 
 description   Encrypted bandwidth-efficient backup.
 long_description  Duplicity backs directories by producing encrypted \
@@ -30,7 +30,7 @@
 
 depends_run-append  port:ncftp
 
-build.cmd-append    --librsync-dir=${prefix}
+build.args     --librsync-dir=${prefix}
 
 universal_variant no
 
@@ -38,30 +38,26 @@
     default_variants    +python26
 }                   
                     
-variant python25 conflicts python26 {
+variant python25 description {Uses Python 2.5} conflicts python26 {
     PortGroup           python25 1.0
     depends_run-append  port:py25-gnupg \
                         port:py25-boto
-    # it looks like setting the PortGroups clears all the depends_lib
-    # and just sets it to python25, so we have to remind it of its
-    # other lib dependents
+    # setting the PortGroup clears a lot of other settings, which means
+    # we need to remind MacPorts about them.
+    categories          sysutils
     depends_lib-append  port:librsync \
                         port:gnupg
-    # ditto here: PortGroup resets the build cmd
-    build.cmd-append    --librsync-dir=${prefix}
 }
 
-variant python26 conflicts python25 {
+variant python26 description {Uses Python 2.6} conflicts python25 {
     PortGroup           python26 1.0
     depends_run-append  port:py26-gnupg \
                         port:py26-boto
-    # it looks like setting the PortGroups clears all the depends_lib
-    # and just sets it to python26, so we have to remind it of its
-    # other lib dependents
+    # setting the PortGroup clears a lot of other settings, which means
+    # we need to remind MacPorts about them.
+    categories          sysutils
     depends_lib-append  port:librsync \
                         port:gnupg
-    # ditto here: PortGroup resets the build cmd
-    build.cmd-append    --librsync-dir=${prefix}
 }
 
 livecheck.check   regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090819/c4f5f998/attachment.html>


More information about the macports-changes mailing list