diff options
author | bsam <bsam@FreeBSD.org> | 2013-05-27 19:33:08 +0800 |
---|---|---|
committer | bsam <bsam@FreeBSD.org> | 2013-05-27 19:33:08 +0800 |
commit | 85851943e19aad51591c44c5f795e9ad66a56ba0 (patch) | |
tree | 453306e84f07d66e1eff935dfc11467c2f675b0a /sysutils/lfm | |
parent | 0e1af3be3c64d03842f9f2a11d961a9a8eafdb1f (diff) | |
download | freebsd-ports-gnome-85851943e19aad51591c44c5f795e9ad66a56ba0.tar.gz freebsd-ports-gnome-85851943e19aad51591c44c5f795e9ad66a56ba0.tar.zst freebsd-ports-gnome-85851943e19aad51591c44c5f795e9ad66a56ba0.zip |
. define PORTDOCS at Makefile;
. remove double install of port docs;
. remove .for loop, use plain install;
. remove PORTDOCS lines from pkg-plist.
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 |