freebsd-ports/devel/py-px/Makefile
Marcus von Appen 89e07f4a18 - Convert ports of devel/ to USES=python
Approved by:	portmgr (implicit)
2014-10-20 16:04:12 +00:00

32 lines
669 B
Makefile

# 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
USES= python zip
USE_PYTHON= distutils autoplist
PORTDOCS= BUGS.txt README.txt TODO.txt
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} '/data_files/d' ${WRKSRC}/setup.py
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>