- Stage support

- Convert to PYDISTUTILS_AUTOPLIST
- Bump PORTREVISION
This commit is contained in:
Martin Wilke 2014-02-08 16:03:36 +00:00
parent ed3c9b1569
commit 837b5e02d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343359
2 changed files with 3 additions and 29 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= asn1
PORTVERSION= 0.1.4
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP \
@ -17,29 +18,8 @@ LICENSE= BSD
# Python3 ready
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= pyasn1
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
BASEDOCS= CHANGES \
README \
TODO
DOCDOCS= pyasn1-tutorial.html
NO_STAGE= yes
.include <bsd.port.options.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for f in ${BASEDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.for f in ${DOCDOCS}
@${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>

View file

@ -1,6 +0,0 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
%%PORTDOCS%%%%DOCSDIR%%/CHANGES
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/pyasn1-tutorial.html
%%PORTDOCS%%@dirrm %%DOCSDIR%%