. 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
2 changed files with 2 additions and 10 deletions
|
@ -19,6 +19,7 @@ USE_PYTHON= yes
|
||||||
USE_PYDISTUTILS= yes
|
USE_PYDISTUTILS= yes
|
||||||
|
|
||||||
MAN1= lfm.1 pyview.1
|
MAN1= lfm.1 pyview.1
|
||||||
|
PORTDOCS= ChangeLog NEWS README README.pyview TODO
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e \
|
@${REINPLACE_CMD} -e \
|
||||||
|
@ -33,10 +34,7 @@ post-install:
|
||||||
.endfor
|
.endfor
|
||||||
.if ${PORT_OPTIONS:MDOCS}
|
.if ${PORT_OPTIONS:MDOCS}
|
||||||
@${MKDIR} ${DOCSDIR}
|
@${MKDIR} ${DOCSDIR}
|
||||||
.for f in ChangeLog NEWS README README.pyview TODO
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
|
||||||
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
||||||
(cd ${WRKSRC} && ${INSTALL_DATA} ${f} ${DOCSDIR})
|
|
||||||
.endfor
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -30,10 +30,4 @@ bin/pyview
|
||||||
%%PYTHON_SITELIBDIR%%/lfm/vfs.py
|
%%PYTHON_SITELIBDIR%%/lfm/vfs.py
|
||||||
%%PYTHON_SITELIBDIR%%/lfm/vfs.pyc
|
%%PYTHON_SITELIBDIR%%/lfm/vfs.pyc
|
||||||
%%PYTHON_SITELIBDIR%%/lfm/vfs.pyo
|
%%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
|
@dirrm %%PYTHON_SITELIBDIR%%/lfm
|
||||||
|
|
Loading…
Reference in a new issue