[87203] trunk/dports/devel/otx/Portfile
jmr at macports.org
jmr at macports.org
Sun Nov 13 21:59:00 PST 2011
Revision: 87203
http://trac.macports.org/changeset/87203
Author: jmr at macports.org
Date: 2011-11-13 21:58:57 -0800 (Sun, 13 Nov 2011)
Log Message:
-----------
otx: use xcode portgroup, set 32-bit supported_archs (#28046)
Modified Paths:
--------------
trunk/dports/devel/otx/Portfile
Modified: trunk/dports/devel/otx/Portfile
===================================================================
--- trunk/dports/devel/otx/Portfile 2011-11-14 05:27:15 UTC (rev 87202)
+++ trunk/dports/devel/otx/Portfile 2011-11-14 05:58:57 UTC (rev 87203)
@@ -1,39 +1,34 @@
# $Id$
PortSystem 1.0
+PortGroup xcode 1.0
name otx
version 0.16b
-svn.revision 556
-revision ${svn.revision}
+# setting revision to svn.revision was a bad idea...
+revision 557
categories devel sysutils
maintainers nomaintainer
description otool's bastard son
long_description {otx stands for "object tool extended". otx uses otool(object tool) to disassemble a Mach-O executable file, then enhances the disassembled output. Simple enhancements include adding the machine code of each instruction and the offset of each instruction from the beginning of a function. More complicated enhancements include displaying the names and data types of Objective-C methods even if symbols have been stripped, and adding comments that describe member variables, function calls, static data and more.}
homepage http://otx.osxninja.com/
-platforms darwin
# master_sites
fetch.type svn
svn.url http://otx.osxninja.com/builds/trunk/
+svn.revision 556
# checksums md5 MD5SUM \
# sha1 SHA1SUM
-# distname ${name}-${version}
-# extract.suffix .tar.gz
worksrcdir trunk
+supported_archs i386 ppc
+xcode.configuration Release
+
+post-destroot {
+ move ${destroot}${applications_dir}/otx ${destroot}${prefix}/bin/
+}
+
# depends on otool but that's not part of MacPorts
livecheck.type regex
livecheck.regex {<a href="files/otx.dmg">otx (.*?)</a>}
livecheck.version ${version}
-
-use_configure no
-build {
- system "cd ${worksrcpath} && xcodebuild -target 'otx gui' -configuration Release build SRCROOT=build/ OBJROOT=build/"
- system "cd ${worksrcpath} && xcodebuild -target 'otx cli' -configuration Release build SRCROOT=build/ OBJROOT=build/"
-}
-
-destroot {
- system "cd ${worksrcpath} && xcodebuild -target 'otx gui' -configuration Release install SRCROOT=build/ OBJROOT=build/ DSTROOT=${destroot} INSTALL_PATH=/Applications/MacPorts"
- system "cd ${worksrcpath} && xcodebuild -target 'otx cli' -configuration Release install SRCROOT=build/ OBJROOT=build/ DSTROOT=${destroot} INSTALL_PATH=${prefix}/bin"
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111113/4ea27914/attachment.html>
More information about the macports-changes
mailing list