mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
49 lines
1017 B
Makefile
49 lines
1017 B
Makefile
# Created by: Nicola Vitale <nivit@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pip
|
|
PORTVERSION= 1.4.1
|
|
PORTREVISION= 0
|
|
CATEGORIES= devel python
|
|
MASTER_SITES= CHEESESHOP \
|
|
LOCAL/nivit/${PORTNAME}/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= nivit@FreeBSD.org
|
|
COMMENT= Pip installs (Python) packages. An easy_install replacement
|
|
|
|
LICENSE= MIT
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
|
|
|
|
OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
PLIST_SUB= PYTHON_VER=${PYTHON_VER}
|
|
|
|
SHEBANG_FILES= pip/__init__.py
|
|
python_OLD_CMD= /usr/bin/env python
|
|
python_CMD= ${PYTHON_CMD}
|
|
|
|
# Python3 ready
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= easy_install
|
|
USES= shebangfix
|
|
|
|
NO_STAGE= yes
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
post-install:
|
|
@${MKDIR} ${DOCSDIR}
|
|
@cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PYTHON_REL} >= 320
|
|
.include "${PORTSDIR}/devel/py-virtualenv/files/py3k-fix-pkg-plist.inc"
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|