svn commit: r414635 - head/print/cups-cloud-print

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu May 5 09:03:29 UTC 2016


Author: amdmi3
Date: Thu May  5 09:03:27 2016
New Revision: 414635
URL: https://svnweb.freebsd.org/changeset/ports/414635

Log:
  - Switch to options helpers

Modified:
  head/print/cups-cloud-print/Makefile

Modified: head/print/cups-cloud-print/Makefile
==============================================================================
--- head/print/cups-cloud-print/Makefile	Thu May  5 08:50:33 2016	(r414634)
+++ head/print/cups-cloud-print/Makefile	Thu May  5 09:03:27 2016	(r414635)
@@ -17,9 +17,6 @@ RUN_DEPENDS=	cancel:print/cups \
 		bash:shells/bash \
 		${PYTHON_PKGNAMEPREFIX}httplib2>0:www/py-httplib2
 
-NO_ARCH=	yes
-NO_BUILD=	yes
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	simoncadman
 GH_PROJECT=	CUPS-Cloud-Print
@@ -28,6 +25,8 @@ USES=		gmake python shebangfix
 SHEBANG_FILES=	testing/*.sh
 GNU_CONFIGURE=	yes
 MAKE_ARGS=	NOPERMS=1
+NO_BUILD=	yes
+NO_ARCH=	yes
 
 DATADIR=	${PREFIX}/share/cloudprint-cups
 DOCSDIR=	${PREFIX}/share/doc/cloudprint-cups
@@ -39,8 +38,8 @@ post-patch:
 		'/README.md/s|^|#| ; \
 		 /COPYING/s|^|#|' ${WRKSRC}/Makefile.in
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} README.md ${STAGEDIR}${DOCSDIR})
+	${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list