You've already forked macports-ports
mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Use xcode PortGroup.
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@13918 d073be05-634f-4543-b044-5fe20cf6d1d6
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# $Id: Portfile,v 1.3 2005/08/11 21:33:17 rshaw Exp $
|
||||
# $Id: Portfile,v 1.4 2005/09/06 00:24:26 pguyot Exp $
|
||||
PortSystem 1.0
|
||||
PortGroup xcode 1.0
|
||||
name agprocess
|
||||
version 0.2
|
||||
categories devel framework
|
||||
platforms darwin
|
||||
maintainers darwinports@opendarwin.org
|
||||
description framework class for reporting Unix process statistics
|
||||
long_description AGProcess is a class for reporting Unix process \
|
||||
@@ -20,28 +20,11 @@ extract.suffix .tgz
|
||||
checksums md5 3b5eb270ba756a2d6f60e630d1882a84
|
||||
worksrcdir ${framework}
|
||||
|
||||
use_configure no
|
||||
xcode.target ${framework}
|
||||
xcode.destroot.type framework
|
||||
|
||||
build.type pbx
|
||||
build.target -target ${framework}
|
||||
build.args -buildstyle Deployment
|
||||
|
||||
set xcodebuilddir build
|
||||
platform darwin 8 {
|
||||
if {$xcodeversion == "2.1"} {
|
||||
set xcodebuilddir build/Deployment
|
||||
}
|
||||
}
|
||||
|
||||
post-build {
|
||||
post-destroot {
|
||||
system "install_name_tool \
|
||||
-id /Library/Frameworks/${framework}.framework/${framework} \
|
||||
${worksrcpath}/${xcodebuilddir}/${framework}.framework/${framework}"
|
||||
${destroot}/Library/Frameworks/${framework}.framework/${framework}"
|
||||
}
|
||||
|
||||
destroot {
|
||||
xinstall -d -m 0755 ${destroot}/Library/Frameworks
|
||||
system "cp -R ${worksrcpath}/${xcodebuilddir}/${framework}.framework \
|
||||
${destroot}/Library/Frameworks"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user