mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 11:40:31 -04:00
While I'm here: * Fix LICENSE * Pet portlint (Separate USES block, add related USE_x variable to it and fix whitespace issues). Notable changes since 0.3.0: * Stream client: Update logging * Add socket name functions to stream client/server * Stream client: Fix disconnection logic * Stream client: Report reconnection event as INFO * Stream client: Add disconnect callback * Deprecate osmo_stream_cli_open2() * AMR: Add spec reference for AMR frame types * AMR: Add define constants for AMR payload length * AMR: Add functions to convert between bw-efficient and octet-aligned * Fix strncpy bug in rs232.c * Migrate from osmo_ipa_idtag_parse() to ipa_ccm_id_resp_parse() * Link libosmo-netif against libosmogsm * Detect freed connections in osmo_stream_srv_read() http://git.osmocom.org/libosmo-netif/tree/debian/changelog PR: 238188 Submitted by: Nikola Kolev <koue@chaosophia.net> (maintainer)
44 lines
1.1 KiB
Makefile
44 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= libosmo-netif
|
|
PORTVERSION= 0.5.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://git.osmocom.org/libosmo-netif/snapshot/ \
|
|
http://chaosophia.net/downloads/osmocom/${PORTNAME}/
|
|
|
|
MAINTAINER= koue@chaosophia.net
|
|
COMMENT= Library containing common/shared code regarding network interface
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
LIB_DEPENDS= libosmocore.so:devel/libosmocore \
|
|
libosmoabis.so:devel/libosmo-abis \
|
|
libtalloc.so:devel/talloc
|
|
|
|
USES= autoreconf libtool pathfix pkgconfig
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
INSTALL_TARGET= install-strip
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOXYGEN DAHDI DOCS
|
|
|
|
DOXYGEN_DESC= Build documentation
|
|
DAHDI_DESC= Build DAHDI input driver
|
|
|
|
DOXYGEN_IMPLIES= DOCS
|
|
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen \
|
|
dot:graphics/graphviz
|
|
DOXYGEN_CONFIGURE_ENV_OFF=ac_cv_path_DOXYGEN=false
|
|
|
|
DAHDI_BUILD_DEPENDS= ${LOCALBASE}/include/dahdi/user.h:misc/dahdi
|
|
DAHDI_CPPFLAGS= -I${LOCALBASE}/include
|
|
|
|
post-patch:
|
|
${ECHO_CMD} ${PORTVERSION} > ${WRKSRC}/.tarball-version
|
|
@${REINPLACE_CMD} -e 's,__bswap_,__bswap,' \
|
|
${WRKSRC}/examples/rs232-write.c
|
|
|
|
.include <bsd.port.mk>
|