diff options
Diffstat (limited to 'sysutils/lfm')
-rw-r--r-- | sysutils/lfm/Makefile | 6 | ||||
-rw-r--r-- | sysutils/lfm/pkg-plist | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/sysutils/lfm/Makefile b/sysutils/lfm/Makefile index d558a10848cd..85b007764ea3 100644 --- a/sysutils/lfm/Makefile +++ b/sysutils/lfm/Makefile @@ -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> diff --git a/sysutils/lfm/pkg-plist b/sysutils/lfm/pkg-plist index 1209be92b3cd..6b9617b78b57 100644 --- a/sysutils/lfm/pkg-plist +++ b/sysutils/lfm/pkg-plist @@ -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 |