freebsd-ports/devel/py-pmock/Makefile
Martin Wilke 1b1b29c5e6 - Get rip python 2.3+
Note:
Python 2.3 is't longer supported and have a lot of security issues.
Convert 2.3+ to yes/or 2.4/5+

With hat:	portmgr
2009-12-13 17:00:14 +00:00

34 lines
727 B
Makefile

# New ports collection makefile for: py-pmock
# Date created: 2005-01-13
# Whom: Piet Delport <pjd@satori.za.net>
#
# $FreeBSD$
PORTNAME= pmock
PORTVERSION= 0.3
PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= SF
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Mock object library for Python
USE_PYTHON= yes
USE_PYDISTUTILS=yes
.if !defined(NOPORTDOCS)
PORTDOCS= *
.endif
CPIOFLAGS= --quiet -pdm -R ${SHAREOWN}:${SHAREGRP}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC}/doc && ${FIND} . | ${CPIO} ${CPIOFLAGS} ${DOCSDIR}
@${MKDIR} ${EXAMPLESDIR}
@cd ${WRKSRC}/examples && ${FIND} . | ${CPIO} ${CPIOFLAGS} ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>