source: trunk/dports/aqua/Chmox/Portfile

Last change on this file was 154355, checked in by mf2k@…, 9 months ago

istumbler Chmox: Ports abandoned. (#52577)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 154355 2016-10-28 13:06:27Z ryandesign@macports.org $
2
3PortSystem 1.0
4PortGroup xcode 1.0
5
6name            Chmox
7version         0.4
8revision        3
9categories      aqua textproc
10maintainers     nomaintainer
11description     Read CHM documents on your Mac
12long_description        \
13        A viewer for Microsoft Help \"CHM\" (aka Compiled HTML) files   \
14        on Mac OS X 10.3 using Cocoa, WebKit and chmlib.
15homepage        http://chmox.sourceforge.net
16
17fetch.type      cvs
18cvs.root        :pserver:anonymous@chmox.cvs.sourceforge.net:/cvsroot/chmox
19cvs.module      Sources
20
21worksrcdir      Sources
22
23if {[vercmp $xcodeversion 4.0] < 0} {
24    patchfiles  patch-chmox.xcode-project.pbxproj.diff
25} else {
26    post-patch {
27        copy -force ${filespath}/project.pbxproj ${worksrcpath}/chmox.xcode/
28    }
29}
30
31post-patch {
32        reinplace s|@PREFIX@|${prefix}| ${worksrcpath}/chmox.xcode/project.pbxproj
33}
34
35depends_lib     path:lib/libssl.dylib:openssl \
36                        port:libxml2
37
38xcode.build.settings    LIBRARY_SEARCH_PATHS=${prefix}/lib \
39                                            DEPLOYMENT_LOCATION=NO
40
41xcode.destroot.settings LIBRARY_SEARCH_PATHS=${prefix}/lib
42
43livecheck.type  regex
44livecheck.regex "${name} (\\d+(?:\\.\\d+)*)"
Note: See TracBrowser for help on using the repository browser.