aboutsummaryrefslogtreecommitdiff
path: root/security/py-posix1e
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-12-17 16:48:24 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-12-17 16:48:24 +0000
commitbcccd64f743c9f96dfd398cc7f0c1c726c659021 (patch)
treef8832ba4bb8956ed0bbcd967f88db5a50748be75 /security/py-posix1e
parentf6460b1dae9b6e04b36011af0ff60ef8d0955ba1 (diff)
downloadports-bcccd64f743c9f96dfd398cc7f0c1c726c659021.tar.gz
ports-bcccd64f743c9f96dfd398cc7f0c1c726c659021.zip
- Update to 0.4.0
PR: ports/129133 Submitted by: Yi-Jheng Lin <yzlin@cs.nctu.edu.tw> Approved by: maintainer timeout (perky; 4 weeks)
Notes
Notes: svn path=/head/; revision=224344
Diffstat (limited to 'security/py-posix1e')
-rw-r--r--security/py-posix1e/Makefile21
-rw-r--r--security/py-posix1e/distinfo6
-rw-r--r--security/py-posix1e/pkg-plist8
3 files changed, 15 insertions, 20 deletions
diff --git a/security/py-posix1e/Makefile b/security/py-posix1e/Makefile
index f5c00c6e1379..ccb379948202 100644
--- a/security/py-posix1e/Makefile
+++ b/security/py-posix1e/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= posix1e
-PORTVERSION= 0.2.1
+PORTVERSION= 0.4.0
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pylibacl
@@ -17,18 +17,21 @@ MAINTAINER= perky@FreeBSD.org
COMMENT= Python module for manipulating POSIX.1e ACLs
USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= pylibacl
+PYEASYINSTALL_ARCHDEP= yes
+
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+
+PORTDOCS= COPYING IMPLEMENTATION NEWS PLATFORMS README
+DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
.include <bsd.port.pre.mk>
-post-patch:
- ${REINPLACE_CMD} -e \
- 's,/usr/share/doc/pylibacl,${PREFIX}/share/doc/py-posix1e,g' \
- ${WRKSRC}/setup.py
-.if ${OSVERSION} >= 500038
- ${REINPLACE_CMD} -e 's,^.*libs.append.*posix1e.*$$,,g' \
- ${WRKSRC}/setup.py
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
diff --git a/security/py-posix1e/distinfo b/security/py-posix1e/distinfo
index 4aab5c9dd93f..e3e145664c60 100644
--- a/security/py-posix1e/distinfo
+++ b/security/py-posix1e/distinfo
@@ -1,3 +1,3 @@
-MD5 (pylibacl-0.2.1.tar.gz) = a1c3638fae0630dfa715f9143bd71ad5
-SHA256 (pylibacl-0.2.1.tar.gz) = 28f58576e9c5a6ed3b3c4bcb10ea0686ea29f8cc56cb0fd24e70473fb5e82e1f
-SIZE (pylibacl-0.2.1.tar.gz) = 18032
+MD5 (pylibacl-0.4.0.tar.gz) = 0c8c7fd673527fd63d970a6bac15779a
+SHA256 (pylibacl-0.4.0.tar.gz) = 77fdb67239f44d1e41315e36be7094a2fdf55a0021e9613540936abab3de3480
+SIZE (pylibacl-0.4.0.tar.gz) = 25469
diff --git a/security/py-posix1e/pkg-plist b/security/py-posix1e/pkg-plist
deleted file mode 100644
index 1a97e6c1b6da..000000000000
--- a/security/py-posix1e/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-%%PYTHON_SITELIBDIR%%/posix1e.so
-share/doc/py-posix1e-0.2.1/BENCHMARK
-share/doc/py-posix1e-0.2.1/IMPLEMENTATION
-share/doc/py-posix1e-0.2.1/PLATFORMS
-share/doc/py-posix1e-0.2.1/README
-share/doc/py-posix1e-0.2.1/posix1e.html
-share/doc/py-posix1e-0.2.1/posix1e.txt
-@dirrm share/doc/py-posix1e-0.2.1