Re: [MacPorts] #2155: UPDATE osxutils-1.4
#2155: UPDATE osxutils-1.4 -------------------------+--------------------- Reporter: meissnem@… | Owner: waqar@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.0 Resolution: fixed | Keywords: Port: osxutils | -------------------------+--------------------- Changes (by ryandesign@…): * type: defect => update * port: => osxutils Old 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@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/" } }
New 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@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/" } } }}} -- -- Ticket URL: <https://trac.macports.org/ticket/2155#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts