freebsd-ports/net/morebalance/Makefile
John Marino b90f611b9c net category: Remove $PTHREAD_LIBS
openafs did not pass check-plist (pre-existing) so fixed and bumped.
Also, pkg-plist was sorted.  mediatomb and spread also fail plist-checks
but they weren't fixed.

approved by:	PTHREAD blanket
2015-03-25 23:51:05 +00:00

34 lines
1 KiB
Makefile

# Created by: Clement Laforet <sheepkiller@cultdeadsheep.org>
# $FreeBSD$
PORTNAME= morebalance
PORTVERSION= 0.4
PORTREVISION= 13
CATEGORIES= net
MASTER_SITES= http://morebalance.coolprojects.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= Modular open source user-space load balancing system
LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \
libgnutls.so:${PORTSDIR}/security/gnutls \
libggz.so:${PORTSDIR}/games/libggz
CFLAGS+= -I${LOCALBASE}/include
MAKE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
USES= gettext
LDFLAGS+= -lz -lpthread
LDFLAGS+= -L${LOCALBASE}/lib -lpcre -lggz -lgnutls -lintl
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 \
${STAGEDIR}${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.conf.5 \
${STAGEDIR}${MANPREFIX}/man/man5
${MAKE_ENV} ${MAKE_CMD} -C ${WRKSRC} install-messages ${MAKE_ARGS}
.include <bsd.port.mk>