diff options
Diffstat (limited to 'security/pam-tacplus/Makefile')
-rw-r--r-- | security/pam-tacplus/Makefile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/security/pam-tacplus/Makefile b/security/pam-tacplus/Makefile new file mode 100644 index 00000000000..f84f957bca6 --- /dev/null +++ b/security/pam-tacplus/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 2010/03/12 22:15:27 pettai Exp $ +# + +PKGNAME= ${DISTNAME:S/_/-/} +DISTNAME= pam_tacplus-1.2.11 +CATEGORIES= security +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=tacplus/} + +MAINTAINER= pettai@NetBSD.org +HOMEPAGE= http://tacplus.sourceforge.net/ +COMMENT= TACACS+ client library and PAM module +#LICENSE= + +WRKSRC= ${WRKDIR}/tacplus +EGDIR= ${PREFIX}/share/examples/pam_tacplus +DOCDIR= ${PREFIX}/share/doc/pam_tacplus + +PKG_DESTDIR_SUPPORT= user-destdir + +SUBST_CLASSES+= paths +SUBST_FILES.paths= ${WRKSRC}/Makefile +SUBST_STAGE.paths= post-patch +SUBST_SED.paths= -e 's,@PREFIX@,${PREFIX},' + +INSTALLATION_DIRS= lib/security ${EGDIR} ${DOCDIR} + +do-install: + ${INSTALL} ${WRKSRC}/pam_tacplus.so \ + ${DESTDIR}${PREFIX}/lib/security/pam_tacplus.so + ${INSTALL} ${WRKSRC}/README \ + ${DESTDIR}${DOCDIR}/README + ${INSTALL} ${WRKSRC}/sample.pam \ + ${DESTDIR}${EGDIR}/sample.pam + +.include "../../mk/bsd.pkg.mk" |