mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
73b9d6ba84
- Update port's infrastructure to new OPTIONS [2] - Make portlint happy with filenames in "files/" [2] PR: 173543 Submitted by: Ingo Flaschberger <if@FreeBSD.org> Patch by: Ingo Flaschberger <if@FreeBSD.org> [1] "Alexey V. Degtyarev" <alexey@renatasystems.org> (maintainer) [2]
39 lines
854 B
Makefile
39 lines
854 B
Makefile
# Created by: Meno Abels <meno.abels@adviser.com>
|
|
# $FreeBSD$
|
|
|
|
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
|
|
|
|
USE_BZIP2= yes
|
|
|
|
OPTIONS_DEFINE= SCRIPTS
|
|
OPTIONS_DEFAULT=SCRIPTS
|
|
|
|
SCRIPTS_DESC= Install scripts to manage virtual IP
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
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 ${PREFIX}/sbin/ucarp-up
|
|
${INSTALL_SCRIPT} ${WRKSRC}/examples/bsd/vip-down.sh ${PREFIX}/sbin/ucarp-down
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|