source: trunk/dports/aqua/Chmox/Portfile @ 139229

Last change on this file since 139229 was 139229, checked in by jeremyhu@…, 4 years ago

misc: Change port:openssl dependency to path:lib/libssl.dylib:openssl

This should allow usage of libressl as a replacement for openssl in relevant
ports. Not all ports have been tested, but libressl aims for API
compatibility with OpenSSL, so it is expected to work.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# $Id: Portfile 139229 2015-08-08 03:10:35Z jeremyhu@macports.org $
2
3PortSystem 1.0
4PortGroup xcode 1.0
5
6name            Chmox
7version         0.4
8revision        2
9categories      aqua textproc
10maintainers     gmail.com:stuartwesterman openmaintainer
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.