diff options
author | mva <mva@FreeBSD.org> | 2014-06-14 10:40:49 +0000 |
---|---|---|
committer | mva <mva@FreeBSD.org> | 2014-06-14 10:40:49 +0000 |
commit | 3a384a91bb5d18c059ef95f3ed5ca6b02edd1129 (patch) | |
tree | 1c574ce63984ce36a684bfbdae8fdd7c4ca8cb73 | |
parent | 88671f316ff08b2cfdbcb4efed2049c7f6d98cc6 (diff) | |
download | FreeBSD-ports-3a384a91bb5d18c059ef95f3ed5ca6b02edd1129.zip FreeBSD-ports-3a384a91bb5d18c059ef95f3ed5ca6b02edd1129.tar.gz |
- 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)
-rw-r--r-- | net/py-gntp/Makefile | 12 | ||||
-rw-r--r-- | net/py-gntp/pkg-plist | 2 |
2 files changed, 6 insertions, 8 deletions
diff --git a/net/py-gntp/Makefile b/net/py-gntp/Makefile index 9c8c2e6..25ed3b7 100644 --- a/net/py-gntp/Makefile +++ b/net/py-gntp/Makefile @@ -2,7 +2,7 @@ PORTNAME= gntp PORTVERSION= 0.8 -#PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= net PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -19,10 +19,10 @@ OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options OPTIONS_DEFINE= DOCS USE_GITHUB= yes -USE_PYTHON= 2 -USE_PYDISTUTILS= easy_install +USE_PYTHON= 2 +USE_PYDISTUTILS= yes +PYDISTUTILS_AUTOPLIST= yes -NO_STAGE= yes .include <bsd.port.options.mk> .include <bsd.port.pre.mk> @@ -33,8 +33,8 @@ DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} PYDISTUTILS_BUILD_TARGET+= build_sphinx post-install: - ${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${DOCSDIR} + ${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/build/sphinx/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .endif .include <bsd.port.post.mk> diff --git a/net/py-gntp/pkg-plist b/net/py-gntp/pkg-plist index a001adb..593561a 100644 --- a/net/py-gntp/pkg-plist +++ b/net/py-gntp/pkg-plist @@ -1,5 +1,3 @@ -bin/gntp -%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% %%PORTDOCS%%%%DOCSDIR%%/.buildinfo %%PORTDOCS%%%%DOCSDIR%%/_sources/core.txt %%PORTDOCS%%%%DOCSDIR%%/_sources/index.txt |