Ticket #12580: Portfile

File Portfile, 1.5 KB (added by themiwi@…, 17 years ago)

Portfile for Shiira-2.2

Line 
1# $Id$
2
3PortSystem 1.0
4name            Shiira2
5version         2.2
6categories      aqua www
7maintainers     themiwi@users.sourceforge.net
8description     Webbrowser with unique features using Cocoa and Web Kit
9long_description        \
10        Shiira is a web browser based on Web Kit \
11  and written in Cocoa. The goal of the Shiira \
12  Project is to create a browser that is better \
13  and more useful than Safari.
14homepage        http://http://shiira.jp/en.php
15platforms       macosx
16master_sites sourceforge
17distname Shiira${version}src
18
19checksums   md5 95704032b91f29417f4fee698cce4ed4 \
20            sha1 f068e951a2466e08aa6256cbd0d824340a723521 \
21            rmd160 fbe772258f9e9d065f11a485cd027ca9bb811231
22
23use_zip yes
24
25patchfiles \
26  patch-HMDTAppKit_xcodeproj__project_pbxproj.${os.arch} \
27  patch-HMDTFoundation_xcodeproj__project_pbxproj.${os.arch} \
28  patch-HMDTWebKit_xcodeproj__project_pbxproj.${os.arch} \
29  patch-Shiira_xcodeproj__project_pbxproj.${os.arch}
30
31worksrcdir      ${distname}/shiira2/trunk
32use_configure   no
33
34build.type      pbx
35build.target    -target Shiira
36build.args      build
37
38destroot        {
39        cd ${worksrcpath}
40        system "${build.cmd} install ${build.target}                    \
41                INSTALL_PATH=/Applications/MacPorts                     \
42                INSTALL_MODE_FLAG=go-w,a+rX DSTROOT=${destroot}"
43}
44
45variant universal {
46  patchfiles-delete \
47    patch-HMDTAppKit_xcodeproj__project_pbxproj.${os.arch} \
48    patch-HMDTFoundation_xcodeproj__project_pbxproj.${os.arch} \
49    patch-HMDTWebKit_xcodeproj__project_pbxproj.${os.arch} \
50    patch-Shiira_xcodeproj__project_pbxproj.${os.arch}
51}
52