freebsd-ports/devel/py-setuptools/Makefile
Martin Wilke 76d275a66d - Update to 0.6.c6
PR:		115344
Submitted by:	Dmitriy Kirhlarov <dimma@higis.ru>
2007-08-27 10:45:37 +00:00

40 lines
997 B
Makefile

# 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.6c6
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
MASTER_SITE_SUBDIR= 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
PYDISTUTILS_NOEGGINFO= yes # XXX convert easy_install support to bsd.python.mk's
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>