New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20363 (closed submission: fixed)

Opened 4 years ago

Last modified 4 years ago

Portfile for libenet

Reported by: olsner@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: libenet

Description

Enet is a library for reliable packet-based communication over UDP. (See http://enet.bespin.org/)

Quite simple copy-paste and modification of the example portfile form the docs. I also mimicked the pkgconfig code from nspr to provide an enet.pc file.

Attachments

Portfile (1.6 KB) - added by olsner@… 4 years ago.
Portfile
enet.pc (214 bytes) - added by olsner@… 4 years ago.
pkgconfig template (put in filesdir)

Change History

Changed 4 years ago by olsner@…

Portfile

Changed 4 years ago by olsner@…

pkgconfig template (put in filesdir)

comment:1 Changed 4 years ago by ryandesign@…

  • Owner changed from macports-tickets@… to ryandesign@…
  • Status changed from new to assigned

Thanks for the port! I committed it in r54392 with the minor change that I removed the following line, because the port doesn't install any manpages.

configure.args      --mandir=${prefix}/share/man

I see this port only installs the static library libenet.a. Is there a way to have it build a dynamic library libenet.dylib?

comment:2 Changed 4 years ago by snc@…

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.