head	1.16;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.12
	RELEASE_8_2_0:1.12
	RELEASE_6_EOL:1.12
	RELEASE_8_1_0:1.12
	RELEASE_7_3_0:1.12
	RELEASE_8_0_0:1.11
	RELEASE_7_2_0:1.11
	RELEASE_7_1_0:1.9
	RELEASE_6_4_0:1.9
	RELEASE_5_EOL:1.8
	RELEASE_7_0_0:1.6
	RELEASE_6_3_0:1.6
	PRE_XORG_7:1.3;
locks; strict;
comment	@# @;


1.16
date	2012.11.17.05.57.30;	author svnexp;	state Exp;
branches;
next	1.15;

1.15
date	2012.09.22.14.04.11;	author lwhsu;	state Exp;
branches;
next	1.14;

1.14
date	2012.06.28.17.57.19;	author lwhsu;	state Exp;
branches;
next	1.13;

1.13
date	2011.03.05.13.12.53;	author lwhsu;	state Exp;
branches;
next	1.12;

1.12
date	2009.10.10.11.46.49;	author lwhsu;	state Exp;
branches;
next	1.11;

1.11
date	2009.04.10.08.02.51;	author lwhsu;	state Exp;
branches;
next	1.10;

1.10
date	2008.09.24.03.35.59;	author lwhsu;	state Exp;
branches;
next	1.9;

1.9
date	2008.06.15.02.15.51;	author lwhsu;	state Exp;
branches;
next	1.8;

1.8
date	2008.03.06.22.19.48;	author edwin;	state Exp;
branches;
next	1.7;

1.7
date	2008.01.26.12.11.20;	author lwhsu;	state Exp;
branches;
next	1.6;

1.6
date	2007.09.18.01.23.24;	author lwhsu;	state Exp;
branches;
next	1.5;

1.5
date	2007.08.04.11.40.54;	author gabor;	state Exp;
branches;
next	1.4;

1.4
date	2007.06.22.06.23.00;	author lwhsu;	state Exp;
branches;
next	1.3;

1.3
date	2007.04.04.08.49.29;	author lwhsu;	state Exp;
branches;
next	1.2;

1.2
date	2007.03.07.13.29.49;	author miwi;	state Exp;
branches;
next	1.1;

1.1
date	2007.03.06.20.12.24;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Switch exporter over
@
text
@# New ports collection makefile for:	py-pyftpdlib
# Date created:		Mar. 06, 2007
# Whom:			Li-Wen Hsu <lwhsu@@lwhsu.org>
#
# $FreeBSD: head/ftp/py-pyftpdlib/Makefile 304675 2012-09-22 14:04:11Z lwhsu $
#

PORTNAME=	pyftpdlib
PORTVERSION=	0.7.0
PORTREVISION=	1
CATEGORIES=	ftp python
MASTER_SITES=	GOOGLE_CODE
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

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

LICENSE=	MIT

USE_PYTHON=		-2.7
USE_PYDISTUTILS=	easy_install

OPTIONS_DEFINE=		SENDFILE OPENSSL
OPTIONS_DEFAULT=	SENDFILE OPENSSL
SENDFILE_DESC=		Enable sendfile(2) support
OPENSSL_DESC=		Enable FTP over SSL/TLS (RFC4217)

# Workaround ports infrastructure bug
OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MSENDFILE}
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}pysendfile>0:${PORTSDIR}/net/py-pysendfile
.endif

.if ${PORT_OPTIONS:MOPENSSL}
RUN_DEPENDS+=	${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl
.endif

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

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

test: build
	${TOUCH} ${WRKSRC}/test/__init__.py
	cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test

.include <bsd.port.mk>
@


1.15
log
@SVN rev 304675 on 2012-09-22 14:04:11Z by lwhsu

- Tweak USE_PYTHON to -2.7 to match upstream compatibility
- Switch from distutils to easy_install (update pkg_plist to suit)
- Add OptionsNG for SENDFILE and OPENSSL support
- Add test: target to run unit tests
- Patch: setup.py
  - Add zip_safe=False to install egg uncompressed
  - Add test_suite for running unit tests via setup.py
- Patch: test/test_*
  - add path hacks to test WRKSRC sources

PR:		ports/171682
Submitted by:	Kubilay Kocak <koobs.freebsd@@gmail.com>
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.14
log
@- Update to 0.7.0
- Remove LICENSE_FILE for well-known licenses
- Remove DOCSDIR and NOPORTDOCS checks - Not bundled by upstream anymore
- Update and sort pkg-plist

PR:		ports/169102
Submitted by:	koobs <koobs.freebsd@@gmail.com>
@
text
@d10 1
d20 20
a39 2
USE_PYTHON=	yes
USE_PYDISTUTILS=	yes
d49 4
@


1.13
log
@- Update to 0.6.0
- Add license

PR:		ports/155290
Submitted by:	Ruslan Mahmatkhanov <cvs-src AT yandex.ru>
@
text
@d9 1
a9 1
PORTVERSION=	0.6.0
a17 1
LICENSE_FILE=	${WRKSRC}/LICENSE
a21 1
DOCSDIR=	${PREFIX}/share/doc/py-${PORTNAME}
a24 4
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
.endif
@


1.12
log
@- Update to 0.5.2
@
text
@d9 1
a9 1
PORTVERSION=	0.5.2
d11 1
a11 1
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
d17 3
@


1.11
log
@- Update to 0.5.1
@
text
@d9 1
a9 1
PORTVERSION=	0.5.1
@


1.10
log
@- Update to 0.5.0

PR:		ports/127556
Submitted by:	Wen Heping <wenheping AT gmail.com>
@
text
@d9 1
a9 1
PORTVERSION=	0.5.0
@


1.9
log
@- Update to 0.4.0
@
text
@d9 1
a9 1
PORTVERSION=	0.4.0
@


1.8
log
@Use ${MASTER_SITE_GOOGLE_CODE} instead of
http://something.googlecode.com/files

PR:		ports/121435 (related)
@
text
@d9 1
a9 1
PORTVERSION=	0.3.0
@


1.7
log
@- Update to 0.3.0
@
text
@d11 1
a11 1
MASTER_SITES=	http://pyftpdlib.googlecode.com/files/
@


1.6
log
@- Update to 0.2.0
@
text
@d9 1
a9 1
PORTVERSION=	0.2.0
a12 1
DISTNAME=	${PORTNAME}_${PORTVERSION}
@


1.5
log
@- Remove the DESTDIR modifications from individual ports as we have a new,
  fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
@
text
@d9 1
a9 1
PORTVERSION=	0.1.1
@


1.4
log
@- Respect NOPORTEXAMPLES
@
text
@d21 2
a22 2
DOCSDIR=	${TARGETDIR}/share/doc/py-${PORTNAME}
EXAMPLESDIR=	${TARGETDIR}/share/examples/py-${PORTNAME}
@


1.3
log
@- Change to my FreeBSD.org email

Approved by:     clsung (mentor)
@
text
@a20 1
.if !defined(NOPORTDOCS)
a21 1
.endif
d29 1
d32 1
@


1.2
log
@- Update to 0.1.1

PR:             110032
Submitted by:   Li-Wen Hsu <lwhsu@@lwhsu.org> (maintainer)
@
text
@d15 1
a15 1
MAINTAINER=	lwhsu@@lwhsu.org
@


1.1
log
@Python FTP server library provides an high-level portable interface to easily
write asynchronous FTP servers with Python. Based on asyncore / asynchat
frameworks pyftpdlib is actually the most complete RFC959 FTP server
implementation available for Python language.

WWW:	http://billiejoex.altervista.org/pyftpdlib.html

PR:		ports/109934
Submitted by:	Li-Wen Hsu <lwhsu at lwhsu.org>
@
text
@d9 1
a9 1
PORTVERSION=	0.1
@

