From 193273182733c823968ba21c95bbfa5e922422e0 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 27 Jan 2010 17:38:00 +0000 Subject: DESTDIR support --- net/tacacs/Makefile | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'net/tacacs') diff --git a/net/tacacs/Makefile b/net/tacacs/Makefile index 8bafb50d8c7..04e8396aee8 100644 --- a/net/tacacs/Makefile +++ b/net/tacacs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/08/30 20:20:31 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2010/01/27 17:38:46 joerg Exp $ # DISTNAME= tac_plus.F4.0.4.alpha @@ -12,6 +12,8 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://www.shrubbery.net/tac_plus/ COMMENT= Cisco authentication, authorization, and accounting protocol daemon +PKG_DESTDIR_SUPPORT= user-destdir + BUILD_TARGET= tac_plus .include "../../mk/bsd.prefs.mk" @@ -19,12 +21,11 @@ BUILD_TARGET= tac_plus MAKE_FLAGS+= OS=-DSOLARIS OSLIBS="-lsocket -lnsl" .endif -INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin +INSTALLATION_DIRS= ${PKGMANDIR}/man8 sbin share/doc/tacacs 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 + ${INSTALL_PROGRAM} ${WRKSRC}/tac_plus ${DESTDIR}${PREFIX}/sbin + ${INSTALL_MAN} ${WRKSRC}/tac_plus.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8/tac_plus.8 + ${INSTALL_DATA} ${WRKSRC}/users_guide ${DESTDIR}${PREFIX}/share/doc/tacacs .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3