# Created by: Meno Abels # $FreeBSD: head/net/ucarp/Makefile 363399 2014-07-29 21:43:17Z adamw $ PORTNAME= ucarp PORTVERSION= 1.5.2 PORTREVISION= 2 CATEGORIES= net MASTER_SITES= ftp://ftp.pureftpd.org/pub/pure-ftpd/misc/ucarp/ \ http://download.pureftpd.org/pub/ucarp/ MAINTAINER= alexey@renatasystems.org COMMENT= Userlevel Common Address Redundancy Protocol USES= tar:bzip2 OPTIONS_DEFINE= SCRIPTS OPTIONS_DEFAULT=SCRIPTS SCRIPTS_DESC= Install scripts to manage virtual IP .include GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-nls USE_RC_SUBR= ucarp PLIST_FILES= sbin/ucarp .if ${PORT_OPTIONS:MSCRIPTS} PLIST_FILES+= sbin/ucarp-up \ sbin/ucarp-down post-install: ${INSTALL_SCRIPT} ${WRKSRC}/examples/bsd/vip-up.sh ${STAGEDIR}${PREFIX}/sbin/ucarp-up ${INSTALL_SCRIPT} ${WRKSRC}/examples/bsd/vip-down.sh ${STAGEDIR}${PREFIX}/sbin/ucarp-down .endif .include