mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
Let lftp port handles NOPORTDOCS properly.
PR: 24078 Submitted by: Jimmy Olgeni <olgeni@uli.it> Approved by: MAINTAINER
This commit is contained in:
parent
1afce46641
commit
dc7cfaa8fd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36819
@ -24,6 +24,12 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
|
||||
MAN1= lftp.1
|
||||
|
||||
.if defined(NOPORTDOCS)
|
||||
NODOCS= "@comment "
|
||||
.endif
|
||||
|
||||
PLIST_SUB= NOPORTDOCS=${NODOCS}
|
||||
|
||||
pre-patch:
|
||||
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
|
||||
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
||||
|
@ -1,12 +1,12 @@
|
||||
bin/lftp
|
||||
bin/lftpget
|
||||
etc/lftp.conf.sample
|
||||
share/doc/lftp/COPYING
|
||||
share/doc/lftp/FAQ
|
||||
share/doc/lftp/NEWS
|
||||
share/doc/lftp/README
|
||||
share/doc/lftp/THANKS
|
||||
share/doc/lftp/TODO
|
||||
%%NOPORTDOCS%%share/doc/lftp/COPYING
|
||||
%%NOPORTDOCS%%share/doc/lftp/FAQ
|
||||
%%NOPORTDOCS%%share/doc/lftp/NEWS
|
||||
%%NOPORTDOCS%%share/doc/lftp/README
|
||||
%%NOPORTDOCS%%share/doc/lftp/THANKS
|
||||
%%NOPORTDOCS%%share/doc/lftp/TODO
|
||||
share/lftp/import-ncftp
|
||||
share/lftp/import-netscape
|
||||
share/locale/de/LC_MESSAGES/lftp.mo
|
||||
@ -19,5 +19,5 @@ share/locale/pl/LC_MESSAGES/lftp.mo
|
||||
share/locale/pt_BR/LC_MESSAGES/lftp.mo
|
||||
share/locale/ru/LC_MESSAGES/lftp.mo
|
||||
share/locale/zh_CN/LC_MESSAGES/lftp.mo
|
||||
%%NOPORTDOCS%%@dirrm share/doc/lftp
|
||||
@dirrm share/lftp
|
||||
@dirrm share/doc/lftp
|
||||
|
Loading…
Reference in New Issue
Block a user