summaryrefslogtreecommitdiff
path: root/devel/py-px/Makefile
blob: 5ac11cb84f2d85215b1f3d284820311a40a80300 (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
34
35
36
37
# Created by: Hye-Shik Chang
# $FreeBSD$

PORTNAME=	px
PORTVERSION=	0.9.5
CATEGORIES=	devel python
MASTER_SITES=	GOOGLE_CODE
PROJECTHOST=	python-p4lib
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DIST_SUBDIR=	python

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Perforce p4 wrapper and Python Perforce interface

LICENSE=	MIT
LICENSE_FILE=	${WRKSRC}/LICENSE.txt

BROKEN=		Unfetchable (google code has gone away)
DEPRECATED=	Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE=	2017-04-30

USES=		python zip
USE_PYTHON=	distutils autoplist
NO_ARCH=	yes

PORTDOCS=	BUGS.txt README.txt TODO.txt

OPTIONS_DEFINE=	DOCS

post-patch:
	@${REINPLACE_CMD} '/data_files/d' ${WRKSRC}/setup.py

post-install-DOCS-on:
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>