1999-10-14 20:26:00 +00:00
|
|
|
# New ports collection makefile for: tac_plus
|
|
|
|
# Date created: 4 Mar 1997
|
|
|
|
# Whom: Igor Vinokurov <igor@zynaps.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-09 18:14:07 +00:00
|
|
|
PORTNAME= tac_plus
|
2000-07-15 16:14:01 +00:00
|
|
|
PORTVERSION= F4.0.4
|
1999-10-14 20:26:00 +00:00
|
|
|
CATEGORIES= net
|
1999-11-10 07:37:21 +00:00
|
|
|
MASTER_SITES= ftp://ftp-eng.cisco.com/pub/tacacs/
|
2000-07-15 16:14:01 +00:00
|
|
|
DISTNAME= tac_plus.F4.0.4.alpha
|
1999-11-10 07:37:21 +00:00
|
|
|
EXTRACT_SUFX= .tar.Z
|
1999-10-14 20:26:00 +00:00
|
|
|
|
2000-07-15 16:14:01 +00:00
|
|
|
MAINTAINER= andreas@FreeBSD.org
|
1999-10-14 20:26:00 +00:00
|
|
|
|
|
|
|
ALL_TARGET= tac_plus
|
1999-11-10 07:37:21 +00:00
|
|
|
MAN1= tac_plus.1
|
1999-10-14 20:26:00 +00:00
|
|
|
|
|
|
|
# To change the text displayed when users are prompted to enter
|
|
|
|
# a username, set appropriately TAC_CHANGE_PROMPT variable.
|
|
|
|
.if defined(TAC_CHANGE_PROMPT) && ${TAC_CHANGE_PROMPT} == YES
|
2000-10-07 22:38:04 +00:00
|
|
|
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-ba
|
1999-10-14 20:26:00 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${PREFIX}/sbin
|
1999-11-10 07:37:21 +00:00
|
|
|
${INSTALL_MAN} ${WRKSRC}/tac_plus.1 ${PREFIX}/man/man1/tac_plus.1
|
1999-10-14 20:26:00 +00:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/tac_plus.conf.example ${PREFIX}/etc/
|
|
|
|
@if [ ! -f ${PREFIX}/etc/rc.d/tac_plus.sh ]; then \
|
1999-10-14 20:28:33 +00:00
|
|
|
${ECHO} "Installing ${PREFIX}/etc/rc.d/tac_plus.sh startup file."; \
|
2000-07-05 12:37:06 +00:00
|
|
|
${INSTALL_SCRIPT} -m 751 ${FILESDIR}/tac_plus.sh ${PREFIX}/etc/rc.d/tac_plus.sh; \
|
1999-10-14 20:26:00 +00:00
|
|
|
fi
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/tac_plus
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/users_guide ${PREFIX}/share/doc/tac_plus
|
1999-11-10 07:37:21 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/convert.pl ${PREFIX}/share/doc/tac_plus
|
1999-10-14 20:26:00 +00:00
|
|
|
.endif
|
|
|
|
|
1999-11-10 07:37:21 +00:00
|
|
|
post-install:
|
|
|
|
strip ${PREFIX}/sbin/tac_plus
|
|
|
|
|
1999-10-14 20:26:00 +00:00
|
|
|
.include <bsd.port.mk>
|