Ticket #20363: Portfile

File Portfile, 1.6 KB (added by olsner@…, 15 years ago)

Portfile

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$
3
4PortSystem          1.0
5
6name                libenet
7version             1.2
8categories          net
9maintainers         openmaintainer \
10                    gmail.com:olsner
11description         ENet is a library for reliable communication on top of UDP.
12long_description    ENet's purpose is to provide a relatively thin, simple and \
13                    robust network communication layer on top of UDP. The \
14                    primary feature it provides is optional reliable, in-order \
15                    delivery of packets. \
16                    ENet is NOT intended to be a general purpose high level \
17                    networking library that handles authentication, lobbying, \
18                    server discovery, compression, encryption and other high \
19                    level, often application level or dependent tasks.
20homepage            http://enet.bespin.org/
21platforms           darwin
22master_sites        http://enet.bespin.org/download/
23distname            enet-${version}
24
25checksums           md5 e0d9f468d8c6f6bfd07083b3b40f5e69 \
26                    sha1 8da3d1665e64b9f037a3e4d48d3477a846ba44e7 \
27                    rmd160 1b68ceb791eecfeebb99762f334eacac2461eb19
28
29configure.args      --mandir=${prefix}/share/man
30
31post-destroot {
32    file mkdir ${destroot}${prefix}/lib/pkgconfig
33    file copy ${filespath}/enet.pc ${destroot}${prefix}/lib/pkgconfig/enet.pc
34    reinplace "s|@@prefix@@|${prefix}|" ${destroot}${prefix}/lib/pkgconfig/enet.pc
35}