Opened 15 years ago

Closed 15 years ago

#20363 closed submission (fixed)

Portfile for libenet

Reported by: olsner@… Owned by: ryandesign (Ryan Carsten Schmidt)
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 (2)

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

Download all attachments as: .zip

Change History (4)

Changed 15 years ago by olsner@…

Attachment: Portfile added

Portfile

Changed 15 years ago by olsner@…

Attachment: enet.pc added

pkgconfig template (put in filesdir)

comment:1 Changed 15 years ago by ryandesign (Ryan Carsten 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 15 years ago by nerdling (Jeremy Lavergne)

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