Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 May 2014 05:48:01 +0000 (UTC)
From:      Sofian Brabez <sbz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r355666 - head/net/googlecl
Message-ID:  <201405290548.s4T5m1EQ098472@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbz
Date: Thu May 29 05:48:01 2014
New Revision: 355666
URL: http://svnweb.freebsd.org/changeset/ports/355666
QAT: https://qat.redports.org/buildarchive/r355666/

Log:
  - Support STAGEDIR

Modified:
  head/net/googlecl/Makefile
  head/net/googlecl/pkg-plist

Modified: head/net/googlecl/Makefile
==============================================================================
--- head/net/googlecl/Makefile	Thu May 29 05:20:25 2014	(r355665)
+++ head/net/googlecl/Makefile	Thu May 29 05:48:01 2014	(r355666)
@@ -11,29 +11,22 @@ COMMENT=	Command line tools for the Goog
 
 LICENSE=	APACHE20
 
-RUN_DEPENDS=	${PYTHON_SITELIBDIR}/gdata/__init__.py:${PORTSDIR}/devel/py-gdata
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}gdata>0:${PORTSDIR}/devel/py-gdata
 
 USE_PYTHON=	yes
-USE_PYDISTUTILS=	yes
-
-.if !defined(NO_INSTALL_MANPAGES)
-MAN1=		google.1
-.endif
+USE_PYDISTUTILS=yes
 
 OPTIONS_DEFINE=	DOCS
 
 PORTDOCS=	*
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-install:
-.if !defined(NO_INSTALL_MANPAGES)
-	${INSTALL_MAN} ${WRKSRC}/man/${MAN1} ${MANPREFIX}/man/man1
-.endif
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/README.* ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/README.* ${STAGEDIR}${DOCSDIR}
 .endif
+	${INSTALL_MAN} ${WRKSRC}/man/google.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
 .include <bsd.port.mk>

Modified: head/net/googlecl/pkg-plist
==============================================================================
--- head/net/googlecl/pkg-plist	Thu May 29 05:20:25 2014	(r355665)
+++ head/net/googlecl/pkg-plist	Thu May 29 05:48:01 2014	(r355666)
@@ -1,4 +1,5 @@
 bin/google
+man/man1/google.1.gz
 %%PYTHON_SITELIBDIR%%/googlecl/__init__.py
 %%PYTHON_SITELIBDIR%%/googlecl/__init__.pyc
 %%PYTHON_SITELIBDIR%%/googlecl/__init__.pyo



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