Opened 10 years ago

Closed 9 years ago

#20363 closed submission (fixed)

Portfile for libenet

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


Enet is a library for reliable packet-based communication over UDP. (See

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 (2)

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

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by olsner@…

Attachment: Portfile added


Changed 10 years ago by olsner@…

Attachment: enet.pc added

pkgconfig template (put in filesdir)

comment:1 Changed 9 years ago by ryandesign (Ryan Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

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 9 years ago by nerdling (Jeremy L)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.