1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/security/pam_script/Makefile
Mathieu Arnold cf118ccf87
One more small cleanup, forgotten yesterday.
Reported by:	lwhsu
2021-04-07 10:09:01 +02:00

39 lines
1007 B
Makefile

PORTNAME= pam_script
PORTVERSION= 1.1.9
CATEGORIES= security
MASTER_SITES= GH
MAINTAINER= natalino.picone@nozominetworks.com
COMMENT= PAM script module allows to hook user space scripts on PAM events
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
USES= autoreconf libtool shebangfix
USE_GITHUB= yes
SHEBANG_FILES= etc/tally
GH_ACCOUNT= jeroennijhof
GH_PROJECT= pam_script
GH_TAGNAME= 1.1.9
GNU_CONFIGURE= yes
PATCHDIR= ${.CURDIR}/files
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/etc/pam-script.d
${INSTALL_LIB} ${WRKSRC}/.libs/pam_script.so ${STAGEDIR}${PREFIX}/lib/pam_script.so
${INSTALL_SCRIPT} ${WRKSRC}/etc/pam_script ${STAGEDIR}${PREFIX}/etc/pam_script
.for i in etc/logscript etc/tally
${INSTALL_SCRIPT} ${WRKSRC}/${i} ${STAGEDIR}${PREFIX}/etc/pam-script.d
.endfor
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in AUTHORS COPYING ChangeLog README NEWS etc/README.pam_script etc/README.examples
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>