1
0
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:
Boris Samorodov 2013-05-27 11:33:08 +00:00
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

View File

@ -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>

View File

@ -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