[51753] trunk/dports/aqua/TeXShop/Portfile

jmr at macports.org jmr at macports.org
Tue Jun 2 07:56:19 PDT 2009


Revision: 51753
          http://trac.macports.org/changeset/51753
Author:   jmr at macports.org
Date:     2009-06-02 07:56:18 -0700 (Tue, 02 Jun 2009)
Log Message:
-----------
TeXShop: simplify, respect applications_dir

Modified Paths:
--------------
    trunk/dports/aqua/TeXShop/Portfile

Modified: trunk/dports/aqua/TeXShop/Portfile
===================================================================
--- trunk/dports/aqua/TeXShop/Portfile	2009-06-02 14:53:39 UTC (rev 51752)
+++ trunk/dports/aqua/TeXShop/Portfile	2009-06-02 14:56:18 UTC (rev 51753)
@@ -1,12 +1,12 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       xcode 1.0
 
 name            TeXShop
 version         2.26
 revision		1
 categories      aqua editors
-PortGroup       xcode 1.0
 
 maintainers     snc openmaintainer
 description     TeX previewer for Mac OS X
@@ -17,7 +17,6 @@
     typeset, these programs in the standard teTeX distribution  \
     of TeX produce pdf output instead of dvi output.
 homepage        http://www.uoregon.edu/~koch/texshop/texshop.html
-platforms       macosx
 master_sites    http://www.uoregon.edu/~koch/texshop
 use_zip         yes
 distname        texshopsource-${version}
@@ -39,8 +38,6 @@
 	reinplace "s/defaultConfigurationName = Debug/defaultConfigurationName = Release/" ${worksrcpath}/${name}.xcodeproj/project.pbxproj
 }
 
-use_configure   no
-build.type      pbx
 build.target    ${name}
 
 xcode.project		${name}.xcodeproj
@@ -48,10 +45,8 @@
 xcode.build.settings    FRAMEWORK_SEARCH_PATHS=${worksrcpath} \
 			CONFIGURATION_BUILD_DIR=${worksrcpath}/build
 
-destroot        {
-	system "cd ${worksrcpath} && ${build.cmd} DSTROOT=${destroot}  \
-        INSTALL_PATH=/Applications/MacPorts -target ${name} install    \
-        INSTALL_MODE_FLAG=755 ${xcode.build.settings}"
-
-    file delete -force ${destroot}/Applications/MacPorts/TeX.mdimporter
+destroot.target     ${name}
+eval xcode.destroot.settings INSTALL_MODE_FLAG=755 ${xcode.build.settings}
+post-destroot        {
+	file delete -force ${destroot}${applications_dir}/TeX.mdimporter
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090602/0e36e2d5/attachment.html>


More information about the macports-changes mailing list