Files
ports/net/trickle/Makefile
T
Rene Ladan 4485bd8221 all: drop support for expired FreeBSD 14.0
Simplify expressions for FreeBSD 13.X

Reviewed by:	many

Differential Revision:	https://reviews.freebsd.org/D46601
2024-10-01 20:56:20 +02:00

44 lines
998 B
Makefile

PORTNAME= trickle
PORTVERSION= 1.07
PORTREVISION= 8
CATEGORIES= net
MASTER_SITES= https://monkey.org/~marius/trickle/
MAINTAINER= ports@FreeBSD.org
COMMENT= Lightweight, portable bandwidth shaper
WWW= https://monkey.org/~marius/trickle/
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libevent.so:devel/libevent
USES= libtool localbase
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ARGS= --with-libevent=${LOCALBASE} \
--sysconfdir=${PREFIX}/etc
MAKE_JOBS_UNSAFE= yes
PORTDOCS= *
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/trickle/trickle-overload.so
${INSTALL_DATA} ${FILESDIR}/trickled.conf ${STAGEDIR}${PREFIX}/etc/trickled.conf.sample
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>