[118064] trunk/dports
ryandesign at macports.org
ryandesign at macports.org
Thu Mar 20 11:40:29 PDT 2014
Revision: 118064
https://trac.macports.org/changeset/118064
Author: ryandesign at macports.org
Date: 2014-03-20 11:40:29 -0700 (Thu, 20 Mar 2014)
Log Message:
-----------
osxutils: switch to github fork since original is unmaintained since 2005 and update to 1.8.1 to fix build failure on Mavericks (#40860)
Modified Paths:
--------------
trunk/dports/graphics/leptonica/Portfile
trunk/dports/sysutils/osxutils/Portfile
Removed Paths:
-------------
trunk/dports/sysutils/osxutils/files/
Modified: trunk/dports/graphics/leptonica/Portfile
===================================================================
--- trunk/dports/graphics/leptonica/Portfile 2014-03-20 18:34:36 UTC (rev 118063)
+++ trunk/dports/graphics/leptonica/Portfile 2014-03-20 18:40:29 UTC (rev 118064)
@@ -30,6 +30,9 @@
patchfiles patch-src-environ.h.diff
+# ${prefix}/bin/fileinfo
+conflicts-append osxutils
+
livecheck.type regex
livecheck.url http://www.leptonica.com/download.html
livecheck.regex "leptonica-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Modified: trunk/dports/sysutils/osxutils/Portfile
===================================================================
--- trunk/dports/sysutils/osxutils/Portfile 2014-03-20 18:34:36 UTC (rev 118063)
+++ trunk/dports/sysutils/osxutils/Portfile 2014-03-20 18:40:29 UTC (rev 118064)
@@ -2,88 +2,38 @@
# $Id$
PortSystem 1.0
-PortGroup xcode 1.0
+PortGroup github 1.0
-name osxutils
-version 1.7
-revision 1
+github.setup vasi osxutils 1.8.1 v
categories sysutils
-maintainers nomaintainer
+maintainers ryandesign openmaintainer
license GPL-2+
description Command line utilities for Finder commands
long_description osxutils is a package of potentially useful Mac-oriented \
- command line utilities for Mac OS X version 10.0 or later. \
+ command line utilities for OS X. \
These tools represent an effort in bringing command line \
control over certain aspects of the Mac OS, in particular \
file meta-data such as Finder flags, heritage file Type \
and Creator codes, comments and suffixes/file extensions.
-homepage http://sourceforge.net/projects/osxutils
-master_sites sourceforge
-use_zip yes
+checksums rmd160 ab18669d5643ef2dcbae8265bff6f48918ad4b59 \
+ sha256 dab0329faae3028d42ea968796d50c2afb7a328c4e99f9488ed40d39f373c533
-distname ${name}-${version}-src-xcode
-worksrcdir ${name}
-checksums md5 7f404befd8909fa4b06adcd71c5afe22 \
- sha1 5cbd1badf4cd7fe36431baf5e1358a68f9967eac \
- rmd160 b91fa4644ee8348c0013f55aaa9d0d8f2e46dafe
-
-# upgrade to "native" targets so modern Xcode doesn't complain
-patchfiles patch-xcodeprojs \
- remove_lvalue_casts.diff
-
post-patch {
- foreach item [concat [glob ${worksrcpath}/*/*.1] ${worksrcpath}/rcmac/rcmac] {
+ foreach item [concat [glob ${worksrcpath}/*/*.1] ${worksrcpath}/Makefile] {
reinplace "s|/usr/local|${prefix}|g" ${item}
}
}
-# all but one of these tools use 32-bit-only carbon bits
-supported_archs i386 ppc
+use_configure no
-set bt {getfcomment geticon hfsdata lsmac mkalias setfcomment setfctypes setfflags seticon setlabel setsuffix wsupdate}
+variant universal {}
-# Mostly clagged from xcode portgroup. Not pretty, but the portgroup doesn't
-# support multiple projects.
-build {
- # set some arguments.
- set xcode_configuration_arg [xcode::get_configuration_arg ${xcode.configuration}]
- set xcode_build_args [xcode::get_build_args]
+build.args CC=${configure.cc} \
+ ARCH_FLAG="[get_canonical_archflags cc]" \
+ OPT="${configure.optflags}"
- foreach item ${bt} {
- xcode.project ${item}/${item}.xcodeproj
- set xcode_project_arg [xcode::get_project_arg ${xcode.project}]
- xcode::build_one_target \
- "$xcode_project_arg -alltargets $xcode_configuration_arg" \
- "$xcode_build_args ${xcode.build.settings}"
- }
-}
-
-xcode.destroot.path ${prefix}/bin
-destroot {
- # set some arguments.
- set xcode_configuration_arg [xcode::get_configuration_arg ${xcode.configuration}]
- set xcode_install_path_setting [xcode::get_install_path_setting \
- ${xcode.destroot.path} ${xcode.destroot.type}]
- set xcode_build_args [xcode::get_build_args]
-
- foreach item ${bt} {
- xcode.project ${item}/${item}.xcodeproj
- # let Xcode 2.1+ find resources.
- xcode::fix_resource_dependencies
- set xcode_project_arg [xcode::get_project_arg ${xcode.project}]
- xcode::destroot_one_target \
- "$xcode_project_arg -alltargets $xcode_configuration_arg" \
- "$xcode_install_path_setting $xcode_build_args ${xcode.destroot.settings}"
- copy ${worksrcpath}/${item}/${item}.1 ${destroot}${prefix}/share/man/man1
- }
-
- foreach item {cpath google rcmac setvolume trash wiki} {
- copy ${worksrcpath}/${item}/${item} ${destroot}${prefix}/bin
- copy ${worksrcpath}/${item}/${item}.1 ${destroot}${prefix}/share/man/man1
- }
- copy ${worksrcpath}/osxutils/osxutils ${destroot}${prefix}/bin
- delete ${destroot}/usr
-}
+# ${prefix}/bin/fileinfo
+conflicts-append leptonica
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140320/e8e1c544/attachment.html>
More information about the macports-changes
mailing list