Lines 1-8
Link Here
|
1 |
# Created by: Khairil Yusof <kaeru@inigo-tech.com> |
1 |
# Created by: Khairil Yusof <kaeru@inigo-tech.com> |
2 |
# $FreeBSD: devel/py-pytz/Makefile 327724 2013-09-20 17:13:42Z bapt $ |
2 |
# $FreeBSD: head/devel/py-pytz/Makefile 327724 2013-09-20 17:13:42Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= pytz |
4 |
PORTNAME= pytz |
5 |
PORTVERSION= 2013d |
5 |
PORTVERSION= 2013.8 |
6 |
CATEGORIES= devel python |
6 |
CATEGORIES= devel python |
7 |
MASTER_SITES= CHEESESHOP |
7 |
MASTER_SITES= CHEESESHOP |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
8 |
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} |
Lines 10-27
Link Here
|
10 |
MAINTAINER= lwhsu@FreeBSD.org |
10 |
MAINTAINER= lwhsu@FreeBSD.org |
11 |
COMMENT= World Timezone Definitions for Python |
11 |
COMMENT= World Timezone Definitions for Python |
12 |
|
12 |
|
|
|
13 |
LICENSE= MIT |
14 |
|
13 |
USE_BZIP2= yes |
15 |
USE_BZIP2= yes |
14 |
USE_PYTHON= yes |
16 |
USE_PYTHON= yes |
15 |
USE_PYDISTUTILS= easy_install |
17 |
USE_PYDISTUTILS= easy_install |
16 |
|
18 |
PYTHON_P3K_PLIST_HACK= yes |
17 |
NO_STAGE= yes |
|
|
18 |
.include <bsd.port.pre.mk> |
19 |
|
19 |
|
20 |
post-patch: |
20 |
post-patch: |
21 |
@${REINPLACE_CMD} -e 's|=True|=False|' ${WRKSRC}/setup.py |
21 |
@${REINPLACE_CMD} -e 's|=True|=False|' ${WRKSRC}/setup.py |
22 |
|
22 |
|
23 |
.if ${PYTHON_REL} >= 320 |
23 |
.include <bsd.port.mk> |
24 |
.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc" |
|
|
25 |
.endif |
26 |
|
27 |
.include <bsd.port.post.mk> |