aboutsummaryrefslogtreecommitdiffstats
path: root/devel/py-pmock/Makefile
blob: c1603dac39ca0983627fef2c7c40b60e33da8f63 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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>