a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 20470 2006-11-03 15:26:21Z blair@macports.org $
PortSystem 1.0
name osxutils
version 1.6
categories sysutils
maintainers waqar@macports.org
description Command line utilities for Finder commands
long_description \
osxutils is a package of potentially useful Mac-oriented \
command line utilities for MacOS X version 10.0 or later. \
These tools represent an effort in bringing command line \
control over certain aspects of the MacOS, in particular \
file meta-data such as Finder flags, heritage file Type and \
Creator codes, comments and suffixes/file extensions.
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
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"
}
platform darwin 8 {
patchfiles patch-fileinfo.c
}