1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

- Support staging

PR:		189722
Submitted by:	Michael Schout <mschout@gkg.net> (maintainer)
This commit is contained in:
Dmitry Marakasov 2014-05-20 20:15:04 +00:00
parent de6dafb35e
commit 0d14b6deb8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=354681

View File

@ -16,16 +16,15 @@ PLIST_FILES= lib/pam_pwdfile.so
PORTDOCS= README INSTALL changelog
CFLAGS+= -I${WRKSRC}
NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e 's|#include <features.h>||g' ${WRKSRC}/pam_pwdfile.c
${CP} ${FILESDIR}/_pam_macros.h ${WRKSRC}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for docs in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${docs} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
.endfor
.endif