2003-10-11 20:48:28 +02:00
|
|
|
# New ports collection Makefile for: morebalance
|
|
|
|
# Date created: Wed Oct 8
|
|
|
|
# Whom: Clement Laforet <sheepkiller@cultdeadsheep.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= morebalance
|
2004-06-02 12:06:30 +02:00
|
|
|
PORTVERSION= 0.3
|
2006-01-09 17:34:19 +01:00
|
|
|
PORTREVISION= 2
|
2003-10-11 20:48:28 +02:00
|
|
|
CATEGORIES= net
|
2004-06-02 12:06:30 +02:00
|
|
|
MASTER_SITES= http://morebalance.coolprojects.org/
|
2003-10-11 20:48:28 +02:00
|
|
|
|
2004-01-13 16:04:51 +01:00
|
|
|
MAINTAINER= clement@FreeBSD.org
|
2003-10-11 20:48:28 +02:00
|
|
|
COMMENT= A modular open source user-space load balancing system
|
|
|
|
|
2004-06-02 12:06:30 +02:00
|
|
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre \
|
2006-01-09 17:34:19 +01:00
|
|
|
gnutls.15:${PORTSDIR}/security/gnutls \
|
2006-04-29 15:22:04 +02:00
|
|
|
ggz.4:${PORTSDIR}/games/libggz
|
2004-06-02 12:06:30 +02:00
|
|
|
|
2003-10-11 20:48:28 +02:00
|
|
|
CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
|
2004-06-02 12:06:30 +02:00
|
|
|
MAKE_ARGS+= CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
|
|
USE_GETTEXT= YES
|
|
|
|
USE_GETOPT_LONG=yes
|
|
|
|
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib -lpcre -lggz -lgnutls \
|
|
|
|
-L${LOCALBASE}/lib ${PTHREAD_LIBS}
|
2003-10-11 20:48:28 +02:00
|
|
|
|
|
|
|
MAN1= morebalance.1
|
|
|
|
MAN5= morebalance.conf.5
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/sbin
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${MANPREFIX}/man/man1
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.conf.5 ${MANPREFIX}/man/man5
|
2004-06-02 12:06:30 +02:00
|
|
|
@${MAKE_ENV} ${MAKE} -C ${WRKSRC} install-messages
|
2003-10-11 20:48:28 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|