diff options
Diffstat (limited to 'sysutils/lfm/Makefile')
-rw-r--r-- | sysutils/lfm/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sysutils/lfm/Makefile b/sysutils/lfm/Makefile index d558a10..85b0077 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> |