blob: f5c00c6e1379c7160134e6077e07e8ec66787f90 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# New ports collection makefile for: py-posix1e
# Date created: 2 January 2003
# Whom: Hye-Shik Chang
#
# $FreeBSD$
#
PORTNAME= posix1e
PORTVERSION= 0.2.1
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pylibacl
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pylibacl-${PORTVERSION}
MAINTAINER= perky@FreeBSD.org
COMMENT= Python module for manipulating POSIX.1e ACLs
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= pylibacl
.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
.endif
.include <bsd.port.post.mk>
|