1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-13 03:03:15 +00:00
freebsd-ports/devel/py-pmock/Makefile
Pav Lucistnik 104db4b5c6 Inspired by the Java jMock library, pMock makes the writing of unit tests using
mock object techniques easier.

PR:		ports/76246
Submitted by:	Piet Delport <pjd@satori.za.net>
2005-01-16 01:09:10 +00:00

35 lines
762 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
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= pmock
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Mock object library for Python
USE_PYTHON= 2.3+
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>