summaryrefslogtreecommitdiff
path: root/net/tacacs/Makefile
blob: 8bafb50d8c7a9f189cad663a5746820b96f4f2f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: Makefile,v 1.8 2007/08/30 20:20:31 wiz Exp $
#

DISTNAME=	tac_plus.F4.0.4.alpha
PKGNAME=	tacacs-4.0.4a
CATEGORIES=	net security
MASTER_SITES=	ftp://ftpeng.cisco.com/pub/tacacs/
#		ftp://ftp.shrubbery.net/pub/tac_plus/
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	rh@NetBSD.org
HOMEPAGE=	http://www.shrubbery.net/tac_plus/
COMMENT=	Cisco authentication, authorization, and accounting protocol daemon

BUILD_TARGET=	tac_plus

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_FLAGS+=	OS=-DSOLARIS OSLIBS="-lsocket -lnsl"
.endif

INSTALLATION_DIRS=	${PKGMANDIR}/man8 sbin

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${PREFIX}/sbin
	${INSTALL_MAN} ${WRKSRC}/tac_plus.1 ${PREFIX}/${PKGMANDIR}/man8/tac_plus.8
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tacacs
	${INSTALL_DATA} ${WRKSRC}/users_guide ${PREFIX}/share/doc/tacacs

.include "../../mk/bsd.pkg.mk"