Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2017 12:50:46 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433399 - head/accessibility/py-papi
Message-ID:  <201702051250.v15Cokd4068670@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Feb  5 12:50:46 2017
New Revision: 433399
URL: https://svnweb.freebsd.org/changeset/ports/433399

Log:
  - Add LICENSE
  - Switch to options helpers
  - Pet portlint

Modified:
  head/accessibility/py-papi/Makefile

Modified: head/accessibility/py-papi/Makefile
==============================================================================
--- head/accessibility/py-papi/Makefile	Sun Feb  5 12:39:12 2017	(r433398)
+++ head/accessibility/py-papi/Makefile	Sun Feb  5 12:50:46 2017	(r433399)
@@ -11,6 +11,9 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	ATK accessibility wrapper for python
 
+LICENSE=	BSD2CLAUSE
+LICENSE_FILE=	${WRKSRC}/COPYING
+
 USES=		pkgconfig python:2
 USE_GNOME=	atk
 USE_PYTHON=	autoplist distutils
@@ -21,11 +24,11 @@ EXAMPLES=	atkaction.py atkapplication.py
 OPTIONS_DEFINE=	EXAMPLES
 
 post-patch:
-	${REINPLACE_CMD} -i "" -e 's|: docfiles|: []|g' ${WRKSRC}/setup.py
+	@${REINPLACE_CMD} -i "" -e 's|: docfiles|: []|g' ${WRKSRC}/setup.py
 
-post-install:
-	@${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR}/
-	@cd ${WRKSRC}/doc/examples && \
+post-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+	cd ${WRKSRC}/doc/examples && \
 		${INSTALL_DATA} ${EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}/
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702051250.v15Cokd4068670>