blob: 2280b9eab629e7323defab450e02dbbd5836d679 (
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
35
36
37
38
39
|
# New ports collection makefile for: py-setuptools
# Date created: 2005-11-21
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#
PORTNAME= setuptools
PORTVERSION= 0.6c3
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://cheeseshop.python.org/packages/source/s/setuptools/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= python@FreeBSD.org
COMMENT= Download, build, install, upgrade, and uninstall Python packages
DIST_SUBDIR= python
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
PLIST_SUB= VERSION=${PORTVERSION} PYVER=${PYTHON_VERSION:S/python//}
.include <bsd.port.pre.mk>
.if ${PYTHON_SUFFIX} < 25
PLIST_SUB+= PYTHON_CURRENT="@comment "
PLIST_SUB+= PYTHON_OLD=""
.else
PLIST_SUB+= PYTHON_CURRENT=""
PLIST_SUB+= PYTHON_OLD="@comment "
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
|