1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Support STAGEDIR

This commit is contained in:
Sofian Brabez 2014-05-29 05:48:01 +00:00
parent 2af39e55a1
commit a020f91aba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355666
2 changed files with 6 additions and 12 deletions

View File

@ -11,29 +11,22 @@ COMMENT= Command line tools for the Google Data APIs
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>

View File

@ -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