mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
b2a424ce97
Approved by: portmgr (blanket)
41 lines
839 B
Makefile
41 lines
839 B
Makefile
PORTNAME= olsrd
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 0.9.8
|
|
PORTREVISION= 2
|
|
CATEGORIES= net
|
|
|
|
MAINTAINER= decke@FreeBSD.org
|
|
COMMENT= OLSR routing daemon
|
|
WWW= http://www.olsr.org/
|
|
|
|
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 mandir=${PREFIX}/share/man
|
|
|
|
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>
|