[102427] trunk/dports/sysutils/cliclick

ryandesign at macports.org ryandesign at macports.org
Sat Feb 2 10:26:32 PST 2013


Revision: 102427
          https://trac.macports.org/changeset/102427
Author:   ryandesign at macports.org
Date:     2013-02-02 10:26:31 -0800 (Sat, 02 Feb 2013)
Log Message:
-----------
cliclick: update to 2.2; now under license BSD, hosted at github, and built from source (#37903)

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

Added Paths:
-----------
    trunk/dports/sysutils/cliclick/files/
    trunk/dports/sysutils/cliclick/files/patch-cliclick.xcodeproj-project.pbxproj.diff

Modified: trunk/dports/sysutils/cliclick/Portfile
===================================================================
--- trunk/dports/sysutils/cliclick/Portfile	2013-02-02 17:39:40 UTC (rev 102426)
+++ trunk/dports/sysutils/cliclick/Portfile	2013-02-02 18:26:31 UTC (rev 102427)
@@ -2,15 +2,13 @@
 # $Id$
 
 PortSystem                  1.0
+PortGroup                   github 1.0
+PortGroup                   xcode 1.0
 
-name                        cliclick
-version                     2.1
-platforms                   macosx
+github.setup                BlueM cliclick 2.2
 categories                  sysutils
 maintainers                 ryandesign
-license                     freeware
-supported_archs             i386 ppc
-configure.universal_archs   i386 ppc
+license                     BSD
 
 description                 a command-line utility for simulating mouse clicks
 
@@ -19,15 +17,10 @@
                             at arbitrary screen coordinates
 
 homepage                    http://www.bluem.net/en/mac/cliclick/
-master_sites                http://www.bluem.net/files/
 
-use_dmg                     yes
-distname                    ${name}
-dist_subdir                 ${name}/${version}
+checksums                   rmd160  f934bfee0a79a412a20dedbfe72cb1bec7dd9f58 \
+                            sha256  11b26f3789b2f86b1248e994b61d981a9035425b3fa57206f3596dd9d47bdc34
 
-checksums                   rmd160  83945594fae5dd6fb4a03edb6443a1e66e45ef5f \
-                            sha256  455926059facffa7e0f4fcc34ef12f2bf1cf92b3587ff8d584689a0e278dd33a
-
 pre-fetch {
     if {${os.major} < 9} {
         ui_error "${name} requires OS X 10.5 or greater."
@@ -35,21 +28,12 @@
     }
 }
 
-use_configure               no
+patchfiles                  patch-cliclick.xcodeproj-project.pbxproj.diff
 
-build {
-    if {![variant_isset universal]} {
-        system -W ${worksrcpath} "lipo -extract ${configure.build_arch} ${name} -output ${name}"
-    }
-}
+xcode.configuration         Release
 
 destroot {
-    xinstall -W ${worksrcpath} ${name} ${destroot}${prefix}/bin
+    xinstall ${worksrcpath}/build/${xcode.configuration}/${name} ${destroot}${prefix}/bin
     xinstall -d ${destroot}${prefix}/share/doc/${name}
-    xinstall -m 644 -W ${worksrcpath} {Read me.html} ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 -W ${worksrcpath} README.markdown ${destroot}${prefix}/share/doc/${name}
 }
-
-variant universal {}
-
-livecheck.type              regex
-livecheck.regex             {Version: ([0-9.]+)}

Added: trunk/dports/sysutils/cliclick/files/patch-cliclick.xcodeproj-project.pbxproj.diff
===================================================================
--- trunk/dports/sysutils/cliclick/files/patch-cliclick.xcodeproj-project.pbxproj.diff	                        (rev 0)
+++ trunk/dports/sysutils/cliclick/files/patch-cliclick.xcodeproj-project.pbxproj.diff	2013-02-02 18:26:31 UTC (rev 102427)
@@ -0,0 +1,12 @@
+https://github.com/BlueM/cliclick/commit/4750975ac9a85af057e81e3c69c6fd064c168c8c
+--- cliclick.xcodeproj/project.pbxproj.orig
++++ cliclick.xcodeproj/project.pbxproj
+@@ -229,7 +229,7 @@
+ 			);
+ 			runOnlyForDeploymentPostprocessing = 0;
+ 			shellPath = /bin/sh;
+-			shellScript = "if [-e \"$PROJECT_DIR/finalize.sh\" ]\nthen\n    # Make the script executable. It may not be, if it was just freshly checked out from VCS\n    chmod +x \"$PROJECT_DIR/finalize.sh\"\n\n    \"$PROJECT_DIR/finalize.sh\" \"$PROJECT_DIR\" \"$TARGETNAME\" \"$BUILT_PRODUCTS_DIR\" \"$BUILD_STYLE\"\nfi";
++			shellScript = "if [ -e \"$PROJECT_DIR/finalize.sh\" ]\nthen\n    # Make the script executable. It may not be, if it was just freshly checked out from VCS\n    chmod +x \"$PROJECT_DIR/finalize.sh\"\n\n    \"$PROJECT_DIR/finalize.sh\" \"$PROJECT_DIR\" \"$TARGETNAME\" \"$BUILT_PRODUCTS_DIR\" \"$BUILD_STYLE\"\nfi";
+ 		};
+ /* End PBXShellScriptBuildPhase section */
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130202/77677119/attachment.html>


More information about the macports-changes mailing list