1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Add staging support

- Convert to new LIB_DEPENDS format
This commit is contained in:
Pawel Pekala 2014-06-27 11:37:02 +00:00
parent 4f4df89878
commit e03d7895e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359498
2 changed files with 13 additions and 12 deletions

View File

@ -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>

View File

@ -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