1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

- Support staging

- Add LICENSE
- Install the uncompressed man page and let the ports infrastructure compress it

maintainer timeout.

PR:		ports/183714
Submitted by:	mat
This commit is contained in:
Mathieu Arnold 2013-11-21 13:12:53 +00:00
parent c42c784795
commit fbbe800146
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=334483

View File

@ -9,21 +9,17 @@ MASTER_SITES= http://www.triades.net/downloads/
MAINTAINER= damien.bobillot_pam_jail@m4x.org
COMMENT= A PAM module dropping users in jails after login
MAN8= pam_jail.8
MANCOMPRESSED= yes
SUB_FILES= pkg-message
PLIST_FILES= lib/pam_jail.so lib/pam_jail.so.1
LICENSE= BSD
SUB_FILES= pkg-message
PLIST_FILES= lib/pam_jail.so lib/pam_jail.so.1 man/man8/pam_jail.8.gz
NO_STAGE= yes
.include <bsd.port.pre.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pam_jail.so.1 ${PREFIX}/lib/
${LN} -sf pam_jail.so.1 ${PREFIX}/lib/pam_jail.so
${INSTALL_MAN} ${WRKSRC}/pam_jail.8.gz ${PREFIX}/man/man8/
post-install:
@${CAT} ${PKGMESSAGE}
${INSTALL_PROGRAM} ${WRKSRC}/pam_jail.so.1 ${STAGEDIR}${PREFIX}/lib/
${LN} -sf pam_jail.so.1 ${STAGEDIR}${PREFIX}/lib/pam_jail.so
${INSTALL_MAN} ${WRKSRC}/pam_jail.8 ${STAGEDIR}${PREFIX}/man/man8/
.if ${OSVERSION} < 800000
BROKEN= jail version not supported