1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/sysutils/jailadmin/Makefile
Clement Laforet 973cd7bf5e Add jailadmin 1.7, a system for managing a set of named jails.
JailAdmin is a system for managing a set of named jails.  It provides:
 - A command line utility for starting and stopping named jails.
 - An efficient method for shutting down a large number of jails in
   parallel.
 - A simple configuration syntax.
 - SNMP monitoring facilities.
It is designed to provide more flexible functionality than FreeBSD's own
rc.d/jail script, and should provide a complete superset of features.

WWW: http://subwiki.honeypot.net/cgi-bin/view/Freebsd/JailAdmin
- Kirk Strauser
kirk@strauser.com

PR:		ports/65095
Submitted by:	Kirk Strauser <kirk@strauser.com>
2004-04-13 08:49:14 +00:00

46 lines
1.1 KiB
Makefile

# New ports collection makefile for: jailadmin
# Date created: 02 Apr 2004
# Whom: Kirk Strauser <kirk@strauser.com>
#
# $FreeBSD$
#
PORTNAME= jailadmin
PORTVERSION= 1.7
CATEGORIES= sysutils
MASTER_SITES= http://subwiki.honeypot.net/pub/Freebsd/JailAdmin/
DISTNAME= jailadmin-${PORTVERSION}
MAINTAINER= kirk@strauser.com
COMMENT= A system for managing a set of named jails
USE_PERL5= yes
USE_REINPLACE= yes
PORTDOCS= INSTALL README
.include <bsd.port.pre.mk>
.if defined(WITH_SNMP)
.if exists(${LOCALBASE}/lib/libsnmp.so.4) || defined(WITH_SNMP4)
LIB_DEPENDS+= snmp.4:${PORTSDIR}/net-mgmt/net-snmp4
.else
LIB_DEPENDS+= netsnmp.6:${PORTSDIR}/net-mgmt/net-snmp
.endif
PLIST_SUB+= SNMP=""
.else
INSTALL_TARGET= installbase
PLIST_SUB+= SNMP="@comment "
.endif
pre-everything::
@${ECHO}
@${ECHO} "You can build ${PKGNAME} with the following options:"
@${ECHO} "WITH_SNMP install the additional SNMP management components"
@${ECHO}
pre-install:
@${REINPLACE_CMD} -e "s#^SITEPERLDIR=.*#SITEPERLDIR= ${SITE_PERL}#" ${WRKSRC}/Makefile
.include <bsd.port.post.mk>