Changeset 10420 for trunk/dports/aqua


Ignore:
Timestamp:
Jan 15, 2005, 9:37:49 AM (15 years ago)
Author:
waqar
Message:

Fixed the issue with install permissions, now it installs with correct
premissions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/aqua/TeXShop/Portfile

    r8573 r10420  
    1 # $Id: Portfile,v 1.3 2004/10/04 13:39:43 fkr Exp $
     1# $Id: Portfile,v 1.4 2005/01/15 09:37:49 waqar Exp $
    22
    33PortSystem      1.0
     
    99description     TeX previewer for Mac OS X
    1010long_description   \
    11         TeXShop is a TeX previewer for Mac OS X, written in Cocoa. Since \
    12         pdf is a native file format on OS X, TeXShop uses "pdftex" and \
    13         "pdflatex" rather than "tex" and "latex" to typeset, these \
    14         programs in the standard teTeX distribution of TeX produce pdf \
    15         output instead of dvi output.
     11        TeXShop is a TeX previewer for Mac OS X, written in Cocoa.      \
     12        Since pdf is a native file format on OS X, TeXShop uses         \
     13        "pdftex" and "pdflatex" rather than "tex" and "latex" to        \
     14        typeset, these programs in the standard teTeX distribution      \
     15        of TeX produce pdf output instead of dvi output.
    1616homepage        http://www.uoregon.edu/~koch/texshop/texshop.html
    1717platforms       darwin
     
    2121use_configure   no
    2222patch           {
    23                 reinplace "s|FRAMEWORK_SEARCH_PATHS = \"| \
    24                         FRAMEWORK_SEARCH_PATHS = \"\${SRCROOT} |g" \
    25                         ${worksrcpath}/${name}.xcode/project.pbxproj
    26                 }
     23        reinplace "s|FRAMEWORK_SEARCH_PATHS = \"|       \
     24           FRAMEWORK_SEARCH_PATHS = \"\${SRCROOT} |g"   \
     25           ${worksrcpath}/${name}.xcode/project.pbxproj
     26}
    2727build.type      pbx
    2828build.target
    2929destroot.destdir
    3030destroot        {
    31         set appPath ${destroot}/Applications/DarwinPorts
    32         xinstall -d -m 755 ${appPath}
    33         file copy ${worksrcpath}/build/${name}.app ${appPath}/${name}.app
     31        cd ${worksrcpath}
     32        system "${build.cmd} install INSTALL_MODE_FLAG=go-w,a+rX        \
     33           INSTALL_PATH=/Applications/DarwinPorts DSTROOT=${destroot}"
    3434}
Note: See TracChangeset for help on using the changeset viewer.