aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/py-pyftpdlib/Makefile
blob: b42ec37d6c964803807074a429226e26104f5639 (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
# New ports collection makefile for:    py-pyftpdlib
# Date created:     Mar. 06, 2007
# Whom:         Li-Wen Hsu <lwhsu@lwhsu.org>
#
# $FreeBSD$
#

PORTNAME=   pyftpdlib
PORTVERSION=    0.3.0
CATEGORIES= ftp python
MASTER_SITES=   ${MASTER_SITE_GOOGLE_CODE}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}

MAINTAINER= lwhsu@FreeBSD.org
COMMENT=    Python FTP server library

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

DOCSDIR=    ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR=    ${PREFIX}/share/examples/py-${PORTNAME}

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    ${CP} -R ${WRKSRC}/demo/ ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>