freebsd-ports/devel/py-px/Makefile
2014-03-07 16:49:09 +00:00

34 lines
693 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= zip
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
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>