diff options
Diffstat (limited to 'net/tac_plus4/Makefile')
-rw-r--r-- | net/tac_plus4/Makefile | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/net/tac_plus4/Makefile b/net/tac_plus4/Makefile index f45c06eae6f3..20b2c6b5d3a2 100644 --- a/net/tac_plus4/Makefile +++ b/net/tac_plus4/Makefile @@ -6,16 +6,16 @@ # $FreeBSD$ # -DISTNAME= tac_plus.2.1 -PKGNAME= tac_plus-2.1 +DISTNAME= tac_plus.F4.0.3.alpha +PKGNAME= tac_plus-F4.0.3 CATEGORIES= net -MASTER_SITES= http://www.FreeBSD.ORG/~andreas/download/ +MASTER_SITES= ftp://ftp-eng.cisco.com/pub/tacacs/ +EXTRACT_SUFX= .tar.Z -MAINTAINER= andreas@FreeBSD.org +MAINTAINER= tasic@lucky.net -USE_BZIP2= yes ALL_TARGET= tac_plus -MAN8= tac_plus.8 +MAN1= tac_plus.1 EXTRA_PATCH= patch-ba # To change the text displayed when users are prompted to enter @@ -27,19 +27,23 @@ pre-patch: do-install: ${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${PREFIX}/sbin - ${INSTALL_MAN} ${WRKSRC}/tac_plus.1 ${PREFIX}/man/man8/tac_plus.8 + ${INSTALL_MAN} ${WRKSRC}/tac_plus.1 ${PREFIX}/man/man1/tac_plus.1 ${INSTALL_DATA} ${FILESDIR}/tac_plus.conf.example ${PREFIX}/etc/ @if [ ! -f ${PREFIX}/etc/rc.d/tac_plus.sh ]; then \ ${ECHO} "Installing ${PREFIX}/etc/rc.d/tac_plus.sh startup file."; \ ${ECHO} "#!/bin/sh" > ${PREFIX}/etc/rc.d/tac_plus.sh; \ - ${ECHO} "[ -x ${PREFIX}/sbin/tac_plus -a -f ${PREFIX}/etc/tac_plus.conf ] && ${PREFIX}/sbin/tac_plus -C ${PREFIX}/etc/tac_plus.conf && ${ECHO} -n ' tac_plus'" >> ${PREFIX}/etc/rc.d/tac_plus.sh; \ - ${CHMOD} 751 ${PREFIX}/etc/rc.d/tac_plus.sh; \ + ${ECHO} "[ -x ${PREFIX}/sbin/tac_plus -a -f ${PREFIX}/etc/tac_plus.conf ] && ${PREFIX}/sbin/tac_plus -C ${PREFIX}/etc/tac_plus.conf && echo -n ' tac_plus'" >> ${PREFIX}/etc/rc.d/tac_plus.sh; \ + chmod 751 ${PREFIX}/etc/rc.d/tac_plus.sh; \ fi .if !defined(NOPORTDOCS) @${MKDIR} ${PREFIX}/share/doc/tac_plus ${INSTALL_DATA} ${WRKSRC}/users_guide ${PREFIX}/share/doc/tac_plus + ${INSTALL_SCRIPT} ${WRKSRC}/convert.pl ${PREFIX}/share/doc/tac_plus .endif +post-install: + strip ${PREFIX}/sbin/tac_plus + pre-clean: @${RM} -f ${PATCHDIR}/${EXTRA_PATCH} |