source: trunk/dports/devel/libpdel/Portfile

Last change on this file was 146517, checked in by raimue@…, 21 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.2 KB
Line 
1# $Id: Portfile 146517 2016-03-10 17:49:28Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            libpdel
6version         0.5.3
7revision        3
8categories      devel www
9license         Permissive BSD
10maintainers     nomaintainer
11description     Packet Design multi-purpose C library for embedded applications.
12
13long_description        The Packet Design Embedded Library (PDEL) is a kitchen \
14                sink C library containing an assorted collection of code \
15                useful for developing embedded applications: \
16                -   C data structure run-time introspection library \
17                -   Threaded HTTP client/server library with SSL and XML-RPC support \
18                -   PPP library using netgraph(4) with PPTP and L2TP servers \
19                -   Application configuration framework \
20                -   Heap memory accounting and sanity checking \
21                -   Generic template processing library \
22                -   Routines to configure networking interfaces, ARP and routing tables \
23                -   Logging library \
24                -   Generic TCP server \
25                -   Generic hash table implementation \
26                -   Generic balanced tree implementation \
27                -   Miscellaneous FILE * enhancements \
28                -   Base-64 encoding/decoding \
29                -   Events and actions with automated locking \
30                -   Generalized per-thread variables \
31                -   Message ports \
32                -   Digital signature creation/verification \
33                -   Filesystem mounting/unmounting \
34                -   String quoting/parsing
35
36homepage        http://www.dellroad.org/pdel/index
37platforms       darwin
38
39depends_lib     lib:libexpat:expat \
40                lib:libssl.0.9:openssl
41
42master_sites    ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/archie/
43checksums       md5 1f8bbb1360f8f8e9bbff470a8c1424dd
44
45# Darwin doesn't support sendfile(), so we skip the optimization.
46patchfiles      patch-GNUmakefile \
47                patch-http_servlet_http_servlet_file.c
48
49platform darwin {
50        global shlibBuild shlibName
51        set shlibBuild "cc -dynamiclib \$(objs) \$(LDFLAGS) -compatibility_version 0.1 -current_version ${version} -install_name ${prefix}/lib/libpdel.dylib -o libpdel.dylib -L${prefix}/lib -lssl -lcrypto -lexpat"
52        set shlibName "libpdel.dylib"
53}
54
55post-patch {
56        file copy -force ${filespath}/Darwin ${worksrcpath}/ports/
57        reinplace s|@PREFIX@|${prefix}|g ${worksrcpath}/GNUmakefile
58
59        reinplace s|@LIBNAME@|${shlibName}|g ${worksrcpath}/GNUmakefile
60        reinplace s|@LIBRARY_BUILD@|${shlibBuild}|g ${worksrcpath}/GNUmakefile
61}
62
63build.type      gnu
64
65use_configure   no
Note: See TracBrowser for help on using the repository browser.