aboutsummaryrefslogtreecommitdiffstats
path: root/net/trickle/Makefile
blob: c6c5a7c74615721232546fe020fc64dc1e685192 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# New ports collection makefile for:    trickle
# Date created:             04.06.2003
# Whom:                 Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#

PORTNAME=   trickle
PORTVERSION=    1.06
PORTREVISION=   1
CATEGORIES= net
MASTER_SITES=   http://monkey.org/~marius/trickle/

MAINTAINER= krion@FreeBSD.org
COMMENT=    Lightweight, portable bandwidth shaper

BUILD_DEPENDS=  ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent

GNU_CONFIGURE=  yes
INSTALLS_SHLIB= yes

CONFIGURE_ARGS+=--with-libevent=${LOCALBASE}
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LIBS="-L${LOCALBASE}/lib"
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

MAN1=       trickle.1
MAN5=       trickled.conf.5
MAN8=       trickled.8

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for i in README
    ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>