aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/morebalance/Makefile23
-rw-r--r--net/morebalance/pkg-plist2
2 files changed, 13 insertions, 12 deletions
diff --git a/net/morebalance/Makefile b/net/morebalance/Makefile
index b5b00e5b6571..f4e7e1f491e8 100644
--- a/net/morebalance/Makefile
+++ b/net/morebalance/Makefile
@@ -10,9 +10,9 @@ MASTER_SITES= http://morebalance.coolprojects.org/
MAINTAINER= ports@FreeBSD.org
COMMENT= Modular open source user-space load balancing system
-LIB_DEPENDS+= pcre.3:${PORTSDIR}/devel/pcre \
- gnutls.26:${PORTSDIR}/security/gnutls \
- ggz.5:${PORTSDIR}/games/libggz
+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}"
@@ -21,15 +21,14 @@ USES= gettext
LDFLAGS+= -lz ${PTHREAD_LIBS}
LDFLAGS+= -L${LOCALBASE}/lib -lpcre -lggz -lgnutls -lintl
-MAN1= morebalance.1
-MAN5= morebalance.conf.5
-
-NO_STAGE= yes
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
- @${MAKE_ENV} ${MAKE} -C ${WRKSRC} install-messages
+ ${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>
diff --git a/net/morebalance/pkg-plist b/net/morebalance/pkg-plist
index 0fdfa8ab12ef..af24b9123773 100644
--- a/net/morebalance/pkg-plist
+++ b/net/morebalance/pkg-plist
@@ -1,3 +1,5 @@
sbin/morebalance
etc/morebalance.conf.sample
+man/man1/morebalance.1.gz
+man/man5/morebalance.conf.5.gz
share/locale/de/LC_MESSAGES/morebalance.mo