[35941] trunk/dports/sysutils/osxutils/Portfile
waqar at macports.org
waqar at macports.org
Thu Apr 10 13:34:01 PDT 2008
Revision: 35941
http://trac.macosforge.org/projects/macports/changeset/35941
Author: waqar at macports.org
Date: 2008-04-10 13:34:00 -0700 (Thu, 10 Apr 2008)
Log Message:
-----------
Updated the package to the latest release of 1.7
Modified Paths:
--------------
trunk/dports/sysutils/osxutils/Portfile
Modified: trunk/dports/sysutils/osxutils/Portfile
===================================================================
--- trunk/dports/sysutils/osxutils/Portfile 2008-04-10 20:30:08 UTC (rev 35940)
+++ trunk/dports/sysutils/osxutils/Portfile 2008-04-10 20:34:00 UTC (rev 35941)
@@ -1,9 +1,12 @@
# $Id$
PortSystem 1.0
+
name osxutils
-version 1.6
+version 1.7
categories sysutils
+PortGroup xcode 1.0
+
maintainers waqar at macports.org
description Command line utilities for Finder commands
long_description \
@@ -16,25 +19,39 @@
homepage http://sourceforge.net/projects/osxutils
platforms macosx
master_sites sourceforge
-use_bzip2 yes
-distname ${name}-${version}.src
-worksrcdir ${name}-${version}
-checksums md5 07ecfb4141dd0dabd7b79cdc3312f5ee \
- sha1 e8eeed83d84a6471f84bf053c2ed9fe5b2007494
-configure {
- reinplace "s|/usr/local|${prefix}/bin|g" ${worksrcpath}/Makefile \
- ${worksrcpath}/man/Makefile
- reinplace "s|destdir=|destdir=${destroot}|g" ${worksrcpath}/Makefile
-}
-build.type pbx
-build.target -target ${name}
-build.args build
+use_zip yes
+
+distname ${name}-${version}-src-xcode
+worksrcdir ${name}
+checksums md5 7f404befd8909fa4b06adcd71c5afe22 \
+ sha1 5cbd1badf4cd7fe36431baf5e1358a68f9967eac \
+ rmd160 b91fa4644ee8348c0013f55aaa9d0d8f2e46dafe
+
+use_configure no
+build {}
+
destroot {
- cd ${worksrcpath}
- system "${build.cmd} DSTROOT=${destroot} INSTALL_PATH=${prefix}/bin \
- ${build.target} -buildstyle Deployment install"
- system "cp build/*.1 ${destroot}${prefix}/share/man/man1"
+ set bt {getfcomment geticon hfsdata lsmac mkalias \
+ setfcomment setfctypes setfflags seticon setlabel \
+ setsuffix wsupdate}
+ foreach item ${bt} {
+ system "cd ${worksrcpath}/$item && \
+ ${build.cmd} DSTROOT=${destroot} \
+ INSTALL_PATH=${prefix}/bin install \
+ INSTALL_MODE_FLAG=755"
+ system "cd ${worksrcpath}/$item && \
+ cp $item.1 ${destroot}${prefix}/share/man/man1"
+ }
+
+ set it {cpath google rcmac setvolume trash wiki}
+ foreach item ${it} {
+ system "cd ${worksrcpath}/$item && \
+ cp $item ${destroot}${prefix}/bin"
+ system "cd ${worksrcpath}/$item && \
+ cp $item.1 ${destroot}${prefix}/share/man/man1"
+ }
+
+ system "cd ${worksrcpath}/osxutils && \
+ cp osxutils ${destroot}${prefix}/bin"
+ file delete -force ${destroot}/usr
}
-platform darwin 8 {
- patchfiles patch-fileinfo.c
-}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080410/11423ca5/attachment.html
More information about the macports-changes
mailing list