freebsd-ports/net/olsrd/Makefile
Sergey Matveychuk e1c4707bab libnet update:
- move 1.0 obsoleted version to net/libnet10
  net/libnet is latest Stable Version
  net/libnet is latest Beta Version

- Fix all depended ports with a new DEPENDS scheme

- While I'm here fix security/yersinia build on 4.x
  (getopt_long and ncurses issues)

PR:		ports/85519 (based on)
Submitted by:	Stas Yakovlev <stas.yakovlev_at_gmail.com>
2005-11-14 17:07:08 +00:00

56 lines
1 KiB
Makefile

# New ports collection makefile for: olsrd
# Date created: 6 April 2005
# Whom: dave@dogwood.com
#
# $FreeBSD$
#
PORTNAME= olsrd
PORTVERSION= 0.4.9
PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= http://www.olsr.org/releases/0.4/
MAINTAINER= dave@dogwood.com
COMMENT= OLSR routing daemon
BUILD_DEPENDS= makedepend:${PORTSDIR}/devel/makedepend
.if defined(WITH_MULTI_IF)
BUILD_DEPENDS+= libnet*>=1.1.2,1:${PORTSDIR}/net/libnet
.endif
USE_BISON= yes
USE_GMAKE= yes
USE_RC_SUBR= olsrd.sh
MAN8= olsrd.8
MAN5= olsrd.conf.5
MANCOMPRESSED= yes
.if defined(WITH_MULTI_IF)
MAKE_ARGS+= OS=fbsd-ll
.else
MAKE_ARGS+= OS=fbsd
.endif
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 502000
IGNORE= needs ieee80211.h headers
.endif
.if !defined(WITH_MULTI_IF)
pre-everything::
@${ECHO_MSG} ""
@${ECHO_MSG} " To enable multiple interface support make with"
@${ECHO_MSG} " WITH_MULTI_IF defined"
@${ECHO_MSG} ""
.endif
post-install:
@${ECHO_MSG} ""
@${ECHO_MSG} " Set olsrd_enable=\"YES\" in /etc/rc.conf to enable"
@${ECHO_MSG} ""
.include <bsd.port.post.mk>