summaryrefslogtreecommitdiff
path: root/security/tacshell/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'security/tacshell/Makefile')
-rw-r--r--security/tacshell/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/security/tacshell/Makefile b/security/tacshell/Makefile
index 9a17b6c1150..9af6cb553d4 100644
--- a/security/tacshell/Makefile
+++ b/security/tacshell/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2006/02/20 23:05:27 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2010/01/27 21:21:03 joerg Exp $
DISTNAME= tacshell-0.91
PKGREVISION= 1
@@ -9,13 +9,17 @@ MAINTAINER= sekiya@NetBSD.org
HOMEPAGE= http://www.rezrov.net/software/tacshell.html
COMMENT= RSA ACE/Server sdshell workalike, using TACACS+
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= YES
CONF_FILES+= $(PREFIX)/share/examples/tacshell/tacshell.conf \
${PKG_SYSCONFDIR}/tacshell.conf
+INSTALLATION_DIRS+= bin share/examples/tacshell
+INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
+
post-install:
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/tacshell
${INSTALL_DATA} ${WRKSRC}/tacshell.conf-example \
- ${PREFIX}/share/examples/tacshell/tacshell.conf
+ ${DESTDIR}${PREFIX}/share/examples/tacshell/tacshell.conf
.include "../../mk/bsd.pkg.mk"