source: trunk/dports/aqua/FFView/Portfile

Last change on this file was 135933, checked in by ryandesign@…, 2 years ago

FFView: move FFView.framework to ${frameworks_dir}; take over as maintainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 135933 2015-05-07 04:32:12Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       xcode 1.0
6
7name            FFView
8version         0.9.10
9revision        1
10categories      aqua graphics
11maintainers     ryandesign openmaintainer
12license         GPL-2
13supported_archs i386 ppc
14
15description     fast OpenGL-powered picture viewer
16
17long_description \
18    FFView is a fast OpenGL-powered picture viewer a la ACDsee. It is aimed at letting you read manga or other \
19    comics onscreen (windowed & fullscreen mode). Features include fast prefetching, smooth panning, voice commands, \
20    the ability to browse pictures inside archives (.rar/.cbr, .zip/.cbz) and sticky per-picture options.
21
22homepage        http://web.archive.org/web/20130405021245/http://www.feedface.com/software/ffview.html
23master_sites    http://web.archive.org/web/20130405021245/http://www.feedface.com/projects/files/ffview/
24distname        ${name}-src-${version}
25use_bzip2       yes
26distfiles-append \
27                [suffix FFArchive-src-0.8.1] \
28                [suffix FFEXIF-src-0.5.2]
29
30checksums           FFView-src-0.9.10.tar.bz2 \
31                    md5     6d7a23eb72fce5c6013862bb94269ca7 \
32                    sha1    0c09a4e06ed6498055837bf81150d5116a70c672 \
33                    rmd160  32160fb699b5619c8ab5f7fbc50bb6256c2eb05b \
34                    FFArchive-src-0.8.1.tar.bz2 \
35                    md5     60cc021380de3d05480345aa29783b10 \
36                    sha1    4b6aa52e2c444c3b4b31604f3cac28a8b44c25fe \
37                    rmd160  7484b80845665a8f4a1aaeac94ec9622f4f14aa0 \
38                    FFEXIF-src-0.5.2.tar.bz2 \
39                    md5     a987bdbd053947f57b8e5c4281a408b7 \
40                    sha1    dc457cac7b3996e75bdc17cd8540f499fe7c8222 \
41                    rmd160  d49a3e9def1e03bcb3727be5da772bc0b5e6c580
42
43worksrcdir      ${name}
44
45patchfiles      patch-src-ui-FFMainController.m.diff
46
47xcode.build.settings SDKROOT_i386='${configure.sdkroot}'
48
49xcode.destroot.type framework
50
51build {
52    set xcode_configuration_arg [xcode::get_configuration_arg ${xcode.configuration}]
53    set xcode_build_args [xcode::get_build_args]
54    foreach dir {FFArchive FFEXIF FFView} {
55        build.dir ${workpath}/${dir}
56        xcode::build_one_target "-target \"${dir}\" ${xcode_configuration_arg}" \
57            "${xcode_build_args} ${xcode.build.settings}"
58    }
59}
60
61post-destroot {
62    move ${destroot}${frameworks_dir}/${name}.app ${destroot}${applications_dir}
63}
Note: See TracBrowser for help on using the repository browser.