blob: 9171e44630f3b309071abaef9535aeb928330210 (
plain)
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
|
# 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
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>
|