mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
. define PORTDOCS at Makefile;
. remove double install of port docs; . remove .for loop, use plain install; . remove PORTDOCS lines from pkg-plist.
This commit is contained in:
parent
8c95fbe6d5
commit
da3e5bc4e7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319212
@ -19,6 +19,7 @@ USE_PYTHON= yes
|
||||
USE_PYDISTUTILS= yes
|
||||
|
||||
MAN1= lfm.1 pyview.1
|
||||
PORTDOCS= ChangeLog NEWS README README.pyview TODO
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e \
|
||||
@ -33,10 +34,7 @@ post-install:
|
||||
.endfor
|
||||
.if ${PORT_OPTIONS:MDOCS}
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for f in ChangeLog NEWS README README.pyview TODO
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${f} ${DOCSDIR})
|
||||
.endfor
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -30,10 +30,4 @@ bin/pyview
|
||||
%%PYTHON_SITELIBDIR%%/lfm/vfs.py
|
||||
%%PYTHON_SITELIBDIR%%/lfm/vfs.pyc
|
||||
%%PYTHON_SITELIBDIR%%/lfm/vfs.pyo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.pyview
|
||||
%%PORTDOCS%%%%DOCSDIR%%/TODO
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/lfm
|
||||
|
Loading…
Reference in New Issue
Block a user