freebsd-ports/net/trickle/Makefile
Muhammad Moinur Rahman 177eb81361
net/trickle: Moved man to share/man
Approved by:    portmgr (blanket)
2024-02-25 11:31:49 +01:00

44 lines
1.1 KiB
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 && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
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>