freebsd-ports/net/olsrd/Makefile
Jochen Neumeister 26c829a399 net/olsrd: Update from 0.9.5 to 0.9.6.1
*While here switch to DISTVERSION

PR:		223411
Submitted by:	Nikola Kolev <koue@chaosophia.net> (maintainer)
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D12951
2017-11-04 19:30:37 +00:00

39 lines
894 B
Makefile

# Created by: dave@dogwood.com
# $FreeBSD$
PORTNAME= olsrd
DISTVERSION= 0.9.6.1
CATEGORIES= net
MASTER_SITES= http://www.olsr.org/releases/0.9/
MAINTAINER= koue@chaosophia.net
COMMENT= OLSR routing daemon
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/license.txt
MAKE_ARGS= VERBOSE=1
USES= bison gmake tar:bzip2
USE_LDCONFIG= yes
USE_RC_SUBR= olsrd
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:
@${REINPLACE_CMD} -e 's|/sbin/ldconfig|:|g' ${WRKSRC}/make/Makefile.fbsd
@${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>