2007-03-06 21:12:24 +01:00
|
|
|
# New ports collection makefile for: py-pyftpdlib
|
|
|
|
# Date created: Mar. 06, 2007
|
|
|
|
# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pyftpdlib
|
2008-01-26 13:11:20 +01:00
|
|
|
PORTVERSION= 0.3.0
|
2007-03-06 21:12:24 +01:00
|
|
|
CATEGORIES= ftp python
|
2008-03-06 23:19:52 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
2007-03-06 21:12:24 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
|
2007-04-04 10:49:31 +02:00
|
|
|
MAINTAINER= lwhsu@FreeBSD.org
|
2007-03-06 21:12:24 +01:00
|
|
|
COMMENT= Python FTP server library
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
|
2007-08-04 13:41:30 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
|
2007-03-06 21:12:24 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
|
|
|
|
.endif
|
2007-06-22 08:23:00 +02:00
|
|
|
.if !defined(NOPORTEXAMPLES)
|
2007-03-06 21:12:24 +01:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${CP} -R ${WRKSRC}/demo/ ${EXAMPLESDIR}
|
2007-06-22 08:23:00 +02:00
|
|
|
.endif
|
2007-03-06 21:12:24 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|