1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00
freebsd-ports/devel/py-px/Makefile
Martin Wilke d5bb3825db - Convert to options helper
- Add NO_ARCH
2016-01-07 11:10:22 +00:00

34 lines
690 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
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>