1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00
freebsd-ports/net/olsrd/Makefile
2021-04-06 16:31:07 +02:00

41 lines
801 B
Makefile

# Created by: dave@dogwood.com
PORTNAME= olsrd
DISTVERSIONPREFIX= v
DISTVERSION= 0.9.8
CATEGORIES= net
MAINTAINER= decke@FreeBSD.org
COMMENT= OLSR routing daemon
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/license.txt
USES= bison gmake
USE_GITHUB= yes
USE_LDCONFIG= yes
USE_RC_SUBR= olsrd
GH_ACCOUNT= OLSR
MAKE_ARGS= VERBOSE=1
ALL_TARGET= build_all
INSTALL_TARGET= install_all
OPTIONS_DEFINE= MULTI_IF
MULTI_IF_DESC= IPv4 multiple interface support
MULTI_IF_LIB_DEPENDS= libnet.so:net/libnet
MULTI_IF_MAKE_ARGS= LIBNET=1
post-patch:
@${CP} ${WRKSRC}/src/cfgparser/cfgfile_gen.c \
${WRKSRC}/src/cfgparser/olsrd_conf.h \
${WRKSRC}/lib/httpinfo/src/
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/${PORTNAME}
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so.*
.include <bsd.port.mk>