Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 May 2016 09:03:28 +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: r414635 - head/print/cups-cloud-print
Message-ID:  <201605050903.u4593S73046204@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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