freebsd-ports/net/morebalance/Makefile
Dmitry Marakasov 9f2cd74f43 - Drop .la files for games/libggz, no dependees require them
- Bump dependent ports as .so version has changed

Approved by:	portmgr blanket
2014-09-10 12:17:23 +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+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
MAKE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
USES= gettext
LDFLAGS+= -lz ${PTHREAD_LIBS}
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>