[31329] trunk/dports/aqua/TeXShop/Portfile
waqar at macports.org
waqar at macports.org
Mon Nov 19 21:19:30 PST 2007
Revision: 31329
http://trac.macosforge.org/projects/macports/changeset/31329
Author: waqar at macports.org
Date: 2007-11-19 21:19:29 -0800 (Mon, 19 Nov 2007)
Log Message:
-----------
Added the PortGroup to xcode and set the build type to Release.
Modified Paths:
--------------
trunk/dports/aqua/TeXShop/Portfile
Modified: trunk/dports/aqua/TeXShop/Portfile
===================================================================
--- trunk/dports/aqua/TeXShop/Portfile 2007-11-20 05:10:00 UTC (rev 31328)
+++ trunk/dports/aqua/TeXShop/Portfile 2007-11-20 05:19:29 UTC (rev 31329)
@@ -3,8 +3,9 @@
PortSystem 1.0
name TeXShop
version 2.14
-revision 2
+revision 4
categories editors aqua
+PortGroup xcode 1.0
maintainers waqar at macports.org
description TeX previewer for Mac OS X
long_description \
@@ -32,22 +33,24 @@
}
}
+post-extract {
+ reinplace "s/defaultConfigurationName = Debug/defaultConfigurationName = Release/" ${worksrcpath}/${name}.xcodeproj/project.pbxproj
+}
+
use_configure no
-
build.type pbx
-build.target -target ${name}
-build.args build FRAMEWORK_SEARCH_PATHS=${worksrcpath} \
- CONFIGURATION_BUILD_DIR=${worksrcpath}/build
+build.target ${name}
+xcode.project ${name}.xcodeproj
+xcode.configuration Release
+xcode.build.settings FRAMEWORK_SEARCH_PATHS=${worksrcpath} \
+ CONFIGURATION_BUILD_DIR=${worksrcpath}/build
+
destroot {
cd ${worksrcpath}
system "${build.cmd} DSTROOT=${destroot} \
- INSTALL_PATH=/Applications/MacPorts -target ${name} \
- install INSTALL_MODE_FLAG=755 \
- CONFIGURATION_BUILD_DIR=${worksrcpath}/build \
- FRAMEWORK_SEARCH_PATHS=${worksrcpath}"
-}
+ INSTALL_PATH=/Applications/MacPorts -target ${name} install \
+ INSTALL_MODE_FLAG=755 ${xcode.build.settings}"
-post-destroot {
- file delete -force ${destroot}/Applications/MacPorts/TeX.mdimporter
+ file delete -force ${destroot}/Applications/MacPorts/TeX.mdimporter
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071119/fed98538/attachment.html
More information about the macports-changes
mailing list