1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00
freebsd-ports/security/py-posix1e/Makefile
2003-02-25 06:25:35 +00:00

35 lines
764 B
Makefile

# 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
USE_REINPLACE= yes
.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>