Opened 20 years ago

Closed 20 years ago

Last modified 8 years ago

#2155 closed update (fixed)

UPDATE osxutils-1.4

Reported by: meissnem@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: waqar@…
Port: osxutils

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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@opendarwin.org
 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/"
        }
 }

Attachments (3)

Portfile.patch (1.7 KB) - added by meissnem@… 20 years ago.
Portfile patch
Portfile.diff (1.9 KB) - added by meissnem@… 20 years ago.
updated portfile patch
project.pbxproj.diff (724 bytes) - added by meissnem@… 20 years ago.
patch file for project builderfil

Download all attachments as: .zip

Change History (6)

Changed 20 years ago by meissnem@…

Attachment: Portfile.patch added

Portfile patch

Changed 20 years ago by meissnem@…

Attachment: Portfile.diff added

updated portfile patch

Changed 20 years ago by meissnem@…

Attachment: project.pbxproj.diff added

patch file for project builderfil

comment:1 Changed 20 years ago by meissnem@…

attachments.isobsolete: 01

comment:2 Changed 20 years ago by matt@…

Cc: waqar@… added
Resolution: fixed
Status: newclosed

Committed. Thanks Matt.M!

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: osxutils added
Type: defectupdate
Note: See TracTickets for help on using tickets.