1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/net/shmux/Makefile
Dmitry Marakasov dfe369a605 - Switch to USES=tar:tgz
- Strip binary
- Add LICENSE
2015-08-23 23:59:05 +00:00

43 lines
867 B
Makefile

# Created by: jamundsen
# $FreeBSD$
PORTNAME= shmux
DISTVERSION= 1.0.2
PORTREVISION= 3
CATEGORIES= net
MASTER_SITES= http://web.taranis.org/shmux/dist/
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility to run commands on multiple hosts using shell commands
LICENSE= BSD4CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= tar:tgz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${PREFIX}/share/examples
ALL_TARGET= ${PORTNAME}
OPTIONS_DEFINE= FPING PCRE
OPTIONS_DEFAULT= FPING
FPING_DESC= Use fping utility
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MFPING}
RUN_DEPENDS+= fping:${PORTSDIR}/net/fping
.endif
.if ${PORT_OPTIONS:MPCRE}
LIB_DEPENDS+= libpcre.so:${PORTSDIR}/devel/pcre
CONFIGURE_ARGS+= --with-pcre=${LOCALBASE}/lib
.else
CONFIGURE_ARGS+= --with-pcre=no
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.mk>