freebsd-ports/devel/libosmo-netif/Makefile
Mathieu Arnold e1bfdfbe56 Add DOCS options to ports that should have one.
Also various fixes related to said option.

PR:		230864
Submitted by:	mat
exp-runs by:	antoine
2018-09-10 13:14:50 +00:00

43 lines
1.1 KiB
Makefile

# $FreeBSD$
PORTNAME= libosmo-netif
PORTVERSION= 0.3.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
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
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>