- Enable stagedir support

- Remove easy_install dependency
- Convert to PYDISTUTILS_AUTOPLIST
- Bump PORTREVISION to enforce a cleanup for the easy_install references

With hat:	python@
Approved by:	portmgr (implicit)
This commit is contained in:
Marcus von Appen 2014-06-14 10:40:49 +00:00
parent b9d2342fc7
commit 33e6dee6e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=357762
2 changed files with 6 additions and 8 deletions

View file

@ -2,7 +2,7 @@
PORTNAME= gntp PORTNAME= gntp
PORTVERSION= 0.8 PORTVERSION= 0.8
#PORTREVISION= 0 PORTREVISION= 1
CATEGORIES= net CATEGORIES= net
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -19,10 +19,10 @@ OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
OPTIONS_DEFINE= DOCS OPTIONS_DEFINE= DOCS
USE_GITHUB= yes USE_GITHUB= yes
USE_PYTHON= 2 USE_PYTHON= 2
USE_PYDISTUTILS= easy_install USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
NO_STAGE= yes
.include <bsd.port.options.mk> .include <bsd.port.options.mk>
.include <bsd.port.pre.mk> .include <bsd.port.pre.mk>
@ -33,8 +33,8 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
PYDISTUTILS_BUILD_TARGET+= build_sphinx PYDISTUTILS_BUILD_TARGET+= build_sphinx
post-install: post-install:
${MKDIR} ${DOCSDIR} ${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${DOCSDIR} cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.endif .endif
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View file

@ -1,5 +1,3 @@
bin/gntp
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
%%PORTDOCS%%%%DOCSDIR%%/.buildinfo %%PORTDOCS%%%%DOCSDIR%%/.buildinfo
%%PORTDOCS%%%%DOCSDIR%%/_sources/core.txt %%PORTDOCS%%%%DOCSDIR%%/_sources/core.txt
%%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt %%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt