summaryrefslogtreecommitdiff
path: root/mail/py-cyruslib/Makefile
blob: 2edd64b5f2afff8eaa47b3410263b65b00b95883 (plain)
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
# Created by: Dmitriy Kirhlarov <dimma@higis.ru>
# $FreeBSD$

PORTNAME=		cyruslib
PORTVERSION=		0.5
CATEGORIES=		mail net python
MASTER_SITES=		http://oss.netfarm.it/download/
PKGNAMEPREFIX=		${PYTHON_PKGNAMEPREFIX}
DISTNAME=		${PORTNAME}.py
EXTRACT_SUFX=

MAINTAINER=		dimma@higis.ru
COMMENT=		Cyrus imapd library for Python

NO_WRKSUBDIR=		yes
USE_PYTHON=		yes
USE_PYTHON_PREFIX=	yes
BINMODE=		644

PLIST_FILES=		%%PYTHON_SITELIBDIR%%/${DISTNAME}

NO_STAGE=	yes
do-extract:
	${MKDIR} ${WRKDIR}
	${CP} ${DISTDIR}/${DISTNAME} ${WRKDIR}/${DISTNAME}

do-build:

do-install:
	${TEST} -d ${PYTHONPREFIX_SITELIBDIR} || ${MKDIR} ${PYTHONPREFIX_SITELIBDIR}
	${INSTALL_SCRIPT} ${WRKDIR}/${DISTNAME} ${PYTHONPREFIX_SITELIBDIR}/

.include <bsd.port.mk>