svn commit: r396142 - head/x11-wm/qtile

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Sep 4 21:33:40 UTC 2015


Author: amdmi3
Date: Fri Sep  4 21:33:39 2015
New Revision: 396142
URL: https://svnweb.freebsd.org/changeset/ports/396142

Log:
  - Add LICENSE_FILE
  - Add NO_ARCH
  - Switch to options helpers
  
  Approved by:	portmgr blanket

Modified:
  head/x11-wm/qtile/Makefile

Modified: head/x11-wm/qtile/Makefile
==============================================================================
--- head/x11-wm/qtile/Makefile	Fri Sep  4 21:33:35 2015	(r396141)
+++ head/x11-wm/qtile/Makefile	Fri Sep  4 21:33:39 2015	(r396142)
@@ -11,6 +11,7 @@ MAINTAINER=	wg at FreeBSD.org
 COMMENT=	Small, flexible, scriptable tiling window manager written in Python
 
 LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}xpyb>0:${PORTSDIR}/x11/xpyb \
 		${PYTHON_PKGNAMEPREFIX}cairo>0:${PORTSDIR}/graphics/py-cairo
@@ -22,17 +23,14 @@ USE_GNOME=	pygobject pygtk2
 
 USES=		python
 USE_PYTHON=	distutils autoplist
+NO_ARCH=	yes
 
 PORTDOCS=	CHANGELOG INSTALL.rst README.rst
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list