aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorwg <wg@FreeBSD.org>2013-12-30 19:06:56 +0800
committerwg <wg@FreeBSD.org>2013-12-30 19:06:56 +0800
commit51e88e57fa8c3456fa4968ec03d2b2821e4b44f8 (patch)
tree6262e94eca070d287e76a84b76ead8129a586474 /security
parent5faac2a56401ee8e6b9777a168bcf4cf310035bd (diff)
downloadfreebsd-ports-gnome-51e88e57fa8c3456fa4968ec03d2b2821e4b44f8.tar.gz
freebsd-ports-gnome-51e88e57fa8c3456fa4968ec03d2b2821e4b44f8.tar.zst
freebsd-ports-gnome-51e88e57fa8c3456fa4968ec03d2b2821e4b44f8.zip
security/py-posix1e: support staging
- Support staging - Switch from easy_install to install - Add LICENSE (LGPL21) - Use python auto plist
Diffstat (limited to 'security')
-rw-r--r--security/py-posix1e/Makefile21
1 files changed, 8 insertions, 13 deletions
diff --git a/security/py-posix1e/Makefile b/security/py-posix1e/Makefile
index 54996357ac06..b663fa295be3 100644
--- a/security/py-posix1e/Makefile
+++ b/security/py-posix1e/Makefile
@@ -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>