freebsd-ports/ftp/py-pyftpdlib/Makefile

34 lines
713 B
Makefile
Raw Normal View History

# 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
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
2007-06-22 08:23:00 +02:00
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/demo/ ${EXAMPLESDIR}
2007-06-22 08:23:00 +02:00
.endif
.include <bsd.port.mk>