freebsd-ports/ftp/py-pyftpdlib/Makefile
Li-Wen Hsu 69dd27cc3c - Change to my FreeBSD.org email
Approved by:     clsung (mentor)
2007-04-04 08:49:31 +00:00

34 lines
764 B
Makefile

# New ports collection makefile for: py-pyftpdlib
# Date created: Mar. 06, 2007
# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
#
# $FreeBSD$
#
PORTNAME= pyftpdlib
PORTVERSION= 0.1.1
CATEGORIES= ftp python
MASTER_SITES= http://pyftpdlib.googlecode.com/files/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= lwhsu@FreeBSD.org
COMMENT= Python FTP server library
USE_PYTHON= yes
USE_PYDISTUTILS= yes
.if !defined(NOPORTDOCS)
DOCSDIR= ${TARGETDIR}/share/doc/py-${PORTNAME}
.endif
EXAMPLESDIR= ${TARGETDIR}/share/examples/py-${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
.endif
@${MKDIR} ${EXAMPLESDIR}
${CP} -R ${WRKSRC}/demo/ ${EXAMPLESDIR}
.include <bsd.port.mk>