Opened 20 years ago
Last modified 9 years ago
#2155 closed update
UPDATE osxutils-1.4 — at Initial Version
Reported by: | meissnem@… | Owned by: | waqar@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | ||
Port: | osxutils |
Description
osxutils-1.4
the portfile can be found here: INLINE
Description: bump to version 1.4. Build all utilities (some were skipped in the old Portfile). Use reinplace to modify the manpages and .pbxproj files to ensure everything points to ${prefix} -- man pages were installed to /usr/share as well as ${prefix}/share under the old Portfile.
Comments: Tested only under 10.3.5. I do not have a Jaguar system to test under, sorry.
================INLINE CONTENT================ Index: Portfile =================================================================== RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/sysutils/osxutils/Portfile,v retrieving revision 1.11 diff -u -r1.11 Portfile --- Portfile 15 Mar 2004 18:24:09 -0000 1.11 +++ Portfile 14 Aug 2004 02:40:40 -0000 @@ -2,7 +2,7 @@
PortSystem 1.0 name osxutils
-version 1.3 +version 1.4
categories sysutils maintainers waqar@… description Command line utilities for Finder commands
@@ -18,17 +18,28 @@
master_sites sourceforge extract.suffix .tgz distname ${name}-${version}-src
-checksums md5 03120e6f11133850c96ce9bbf7ffa3cd +checksums md5 d4592eb8d9d6d5e216bfd58f4c49d488
use_configure no build.type pbx build.target {}
-set b_progs "lsmac setfcomment setfctypes setfflags setlabel setsuffix" +set b_progs "fileinfo geticon lsmac mkalias setfcomment setfctypes setfflags seticon setlabel setsuffix"
set i_progs "cpath google trash"
+
configure {
reinplace "s|main.c|setfcomment.c|g" \
${worksrcpath}/setfcomment/setfcomment.pbproj/project.pbxproj
reinplace "s|main.c|setlabel.c|g" \
${worksrcpath}/setlabel/setlabel.xcode/project.pbxproj
+ + foreach man1File [glob ${worksrcpath}/*/*1] { + reinplace "s|/usr/local|${prefix}|g" \ + ${man1File} + } + + foreach projectfile [glob ${worksrcpath}/*/*/project.pbxproj] { + reinplace "s|/usr/share/man/man1|${prefix}/share/man/man1|g" \ + ${projectfile} + }
} build {
foreach prog ${b_progs} {
@@ -47,7 +58,5 @@
foreach prog ${b_progs} {
system "cd ${worksrcpath}/${prog} && ${build.cmd} install \
INSTALL_PATH=${prefix}/bin DSTROOT=${destroot}"
- system "cd ${worksrcpath}/${prog} && install -m 644 \
- ${prog}.1 ${destroot}/${prefix}/share/man/man1/"
}
}
Change History (3)
Changed 20 years ago by meissnem@…
Attachment: | Portfile.patch added |
---|
Changed 20 years ago by meissnem@…
Attachment: | project.pbxproj.diff added |
---|
patch file for project builderfil
Portfile patch