diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-03-06 20:23:08 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-03-06 20:23:08 +0800 |
commit | ffa8c8cc4bf2fbb335b348d008aa245d6d052a69 (patch) | |
tree | a3865f056bb8546dd5682a59b1459f1a8cce9fe8 /sysutils | |
parent | 2b180b1604564edddc753e967458308796945e20 (diff) | |
download | freebsd-ports-gnome-ffa8c8cc4bf2fbb335b348d008aa245d6d052a69.tar.gz freebsd-ports-gnome-ffa8c8cc4bf2fbb335b348d008aa245d6d052a69.tar.zst freebsd-ports-gnome-ffa8c8cc4bf2fbb335b348d008aa245d6d052a69.zip |
- Clarify LICENSE
- Add LICENSE_FILE
- Add NO_ARCH
- Switch to options helpers
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/lfm/Makefile | 18 | ||||
-rw-r--r-- | sysutils/lfm/pkg-plist | 5 |
2 files changed, 10 insertions, 13 deletions
diff --git a/sysutils/lfm/Makefile b/sysutils/lfm/Makefile index 22dc37621a96..48f9785f18bb 100644 --- a/sysutils/lfm/Makefile +++ b/sysutils/lfm/Makefile @@ -11,27 +11,29 @@ MASTER_SITES= GOOGLE_CODE \ MAINTAINER= ports@FreeBSD.org COMMENT= Last File Manager, a simple 'commander'-type file manager -LICENSE= GPLv3 - -OPTIONS_DEFINE= DOCS +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/COPYING USES= python USE_PYTHON= distutils +NO_ARCH= yes + +PORTDOCS= ChangeLog NEWS README README.pyview TODO -DOCS= ChangeLog NEWS README README.pyview TODO +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e \ '/DOC_FILES/d ; \ /MAN_FILES/d' ${WRKSRC}/setup.py -.include <bsd.port.options.mk> - post-install: .for f in lfm pyview - (cd ${WRKSRC} && ${INSTALL_MAN} ${f}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1) + ${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 .endfor + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/sysutils/lfm/pkg-plist b/sysutils/lfm/pkg-plist index 1074c842eb43..e9cd54fb989d 100644 --- a/sysutils/lfm/pkg-plist +++ b/sysutils/lfm/pkg-plist @@ -32,8 +32,3 @@ man/man1/pyview.1.gz %%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 |