1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

security/py-posix1e: support staging

- Support staging
- Switch from easy_install to install
- Add LICENSE (LGPL21)
- Use python auto plist
This commit is contained in:
William Grzybowski 2013-12-30 11:06:56 +00:00
parent 5e0844edc9
commit 2c95af4356
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=338083

View File

@ -3,6 +3,7 @@
PORTNAME= posix1e
PORTVERSION= 0.5.0
PORTREVISION= 1
CATEGORIES= security python
MASTER_SITES= SF/pylibacl/pylibacl/${PORTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -11,23 +12,17 @@ DISTNAME= pylibacl-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python module for manipulating POSIX.1e ACLs
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= pylibacl
PYEASYINSTALL_ARCHDEP= yes
LICENSE= LGPL21
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PORTDOCS= COPYING IMPLEMENTATION NEWS PLATFORMS README
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
NO_STAGE= yes
.include <bsd.port.pre.mk>
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>
.include <bsd.port.mk>