source: trunk/dports/www/nostromo/Portfile

Last change on this file was 146517, checked in by raimue@…, 19 months ago

Mass rev-bump dependents of port openssl due to ABI change

Disabling SSLv2 in r146162 changed the ABI of the library, leading to loading
errors for binaries with references to SSLv2 symbols.

https://lists.macosforge.org/pipermail/macports-dev/2016-March/032531.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 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 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
3
4PortSystem              1.0
5
6name                    nostromo
7version                 1.9.3
8revision                2
9categories              www
10license                 ISC
11platforms               darwin
12maintainers             nomaintainer
13
14description             nhttpd is a simple, fast and secure HTTP server
15
16long_description        ${name} provides nhttpd, a simple, fast and secure HTTP server.
17
18homepage                http://www.nazgul.ch/dev_nostromo.html
19master_sites            http://www.nazgul.ch/dev
20
21checksums               sha1    962085f807c7b42e615fbea13d4cc347660f8454 \
22                        rmd160  2099287e18c7703e63d225f7e37c1cb23db2ffc2
23
24depends_lib             path:lib/libssl.dylib:openssl
25
26use_configure           no
27
28variant universal {}
29
30build.args              CC="${configure.cc}" \
31                        CCFLAGS="${configure.cflags} [get_canonical_archflags cc] -Wall -Wextra -Wstrict-prototypes -c" \
32                        LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
33
34platform darwin {
35    patchfiles-append   patch-src-libbsd-GNUmakefile.diff \
36                        patch-src-libmy-GNUmakefile.diff \
37                        patch-src-nhttpd-GNUmakefile.diff \
38                        patch-src-tools-GNUmakefile.diff
39}
40
41destroot {
42    xinstall -W ${worksrcpath}/src nhttpd/nhttpd tools/crypt ${destroot}${prefix}/sbin/
43
44    xinstall -W ${worksrcpath} -m 644 src/nhttpd/nhttpd.cat8 ${destroot}${prefix}/share/man/man6/nhttpd.6
45   
46    xinstall -d ${destroot}${prefix}/share/examples/${name} ${destroot}${prefix}/share/doc/${name}
47
48    xinstall -W ${worksrcpath} -m 644 ChangeLog README ${destroot}${prefix}/share/doc/${name}
49
50    xinstall -W ${worksrcpath} htdocs/cgi-bin/printenv ${destroot}${prefix}/share/examples/${name}/
51    xinstall -W ${worksrcpath} -m 444 conf/mimes ${destroot}${prefix}/share/examples/${name}/
52    xinstall -W ${worksrcpath} -m 644 \
53        conf/nhttpd.conf-dist \
54        htdocs/index.html \
55        htdocs/nostromo.gif \
56        icons/dir.gif \
57        icons/file.gif \
58        ${destroot}${prefix}/share/examples/${name}/
59}
60
61livecheck.type          regex
62livecheck.regex         ${name}-(\[0-9.\]+)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.