pkgsrc-wip/tac_plus-libradius/Makefile

42 lines
1.3 KiB
Makefile
Raw Normal View History

2009-04-19 23:09:01 +02:00
# $NetBSD: Makefile,v 1.7 2009/04/19 21:09:41 gschwarz Exp $
DISTNAME= tac_plus.F5.0.0.alpha-libradius
PKGNAME= tac_plus-libradius-5.0.0
CATEGORIES= net security
MASTER_SITES= http://www.portal-to-web.de/tacacs/
EXTRACT_SUFX= .tgz
MAINTAINER= schwarz@NetBSD.org
HOMEPAGE= http://www.portal-to-web.de/tacacs/
COMMENT= Version of Cisco's tac_plus Tacacs server with RADIUS support
2009-04-19 23:09:01 +02:00
PKG_DESTDIR_SUPPORT= user-destdir
2006-12-03 18:46:50 +01:00
INSTALLATION_DIRS= bin sbin ${PKGMANDIR}/man8 share/doc/tac_plus \
share/examples/tac_plus
.include "../../mk/bsd.prefs.mk"
2006-12-03 18:46:50 +01:00
.include "options.mk"
GNU_CONFIGURE= yes
BUILD_TARGET= tac_plus
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly" || ${OPSYS} == "Darwin"
CPPFLAGS+= -DFREEBSD
.elif ${OPSYS} == "NetBSD" || ${OPSYS} == "OpenBSD"
CPPFLAGS+= -DNETBSD
.elif ${OPSYS} == "IRIX"
CPPFLAGS+= -DMIPS
.endif
do-install:
2009-04-19 23:09:01 +02:00
${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${DESTDIR}${PREFIX}/sbin
2006-12-03 18:46:50 +01:00
${INSTALL_PROGRAM} ${WRKSRC}/generate_passwd \
2009-04-19 23:09:01 +02:00
${DESTDIR}${PREFIX}/bin/tac_plus_generate_passwd
${INSTALL_MAN} ${WRKSRC}/tac_plus.1 \
2009-04-19 23:09:01 +02:00
${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/tac_plus.8
${INSTALL_DATA} ${WRKSRC}/users_guide ${DESTDIR}${PREFIX}/share/doc/tac_plus
${INSTALL_DATA} ${WRKSRC}/tac_plus.cfg ${DESTDIR}${PREFIX}/share/examples/tac_plus
.include "../../mk/bsd.pkg.mk"