1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

- Switch to options helpers

- Drop @dirrm* from plist

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2015-10-23 18:18:25 +00:00
parent 8e02189b35
commit a6ad5ac1e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=400047
2 changed files with 3 additions and 14 deletions

View File

@ -92,7 +92,8 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/vsftpd.conf.5 ${STAGEDIR}${PREFIX}/man/man5/
${INSTALL_MAN} ${WRKSRC}/vsftpd.8 ${STAGEDIR}${PREFIX}/man/man8/
${MKDIR} ${STAGEDIR}/var/ftp ${STAGEDIR}${PREFIX}/share/vsftpd/empty
.if ${PORT_OPTIONS:MDOCS}
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${DOCFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.for i in EXAMPLE SECURITY
@ -100,6 +101,5 @@ do-install:
${CP} -p -R -L ${WRKSRC}/${i}/./ ${STAGEDIR}${DOCSDIR}/${i}/
${CHMOD} -R -L a+rX,go-w ${STAGEDIR}${DOCSDIR}/${i}/
.endfor
.endif
.include <bsd.port.mk>

View File

@ -8,9 +8,7 @@ etc/vsftpd.conf.dist
@exec if [ ! -f %B/vsftpd.conf ]; then cp %B/vsftpd.conf.dist %B/vsftpd.conf; fi
@unexec rmdir /var/ftp 2>/dev/null || true
@exec if [ ! -d /var/ftp ]; then mkdir /var/ftp ; fi
@exec mkdir -p %D/share/vsftpd/empty
@dirrm share/vsftpd/empty
@dirrm share/vsftpd
@dir %%DATADIR%%/empty
%%PORTDOCS%%%%DOCSDIR%%/AUDIT
%%PORTDOCS%%%%DOCSDIR%%/BENCHMARKS
%%PORTDOCS%%%%DOCSDIR%%/BUGS
@ -45,12 +43,3 @@ etc/vsftpd.conf.dist
%%PORTDOCS%%%%DOCSDIR%%/SPEED
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/TUNING
%%PORTDOCS%%@dirrm %%DOCSDIR%%/EXAMPLE/INTERNET_SITE
%%PORTDOCS%%@dirrm %%DOCSDIR%%/EXAMPLE/INTERNET_SITE_NOINETD
%%PORTDOCS%%@dirrm %%DOCSDIR%%/EXAMPLE/PER_IP_CONFIG
%%PORTDOCS%%@dirrm %%DOCSDIR%%/EXAMPLE/VIRTUAL_HOSTS
%%PORTDOCS%%@dirrm %%DOCSDIR%%/EXAMPLE/VIRTUAL_USERS
%%PORTDOCS%%@dirrm %%DOCSDIR%%/EXAMPLE/VIRTUAL_USERS_2
%%PORTDOCS%%@dirrm %%DOCSDIR%%/EXAMPLE
%%PORTDOCS%%@dirrm %%DOCSDIR%%/SECURITY
%%PORTDOCS%%@dirrm %%DOCSDIR%%