Index: head/french/alphabet_sounds_fr/Makefile =================================================================== --- head/french/alphabet_sounds_fr/Makefile (revision 371200) +++ head/french/alphabet_sounds_fr/Makefile (revision 371201) @@ -1,18 +1,18 @@ # Created by: bruno # $FreeBSD$ PORTNAME= alphabet_sounds_fr PORTVERSION= 0.3 PORTREVISION= 14 CATEGORIES= french games MASTER_SITES= SF/childsplay/OldFiles DISTNAME= alphabet_sounds_fr MAINTAINER= bruno@tinkerbox.org COMMENT= Educative games for children. Alphabet sounds package (french) RUN_DEPENDS= ${LOCALBASE}/bin/childsplay:${PORTSDIR}/games/childsplay -USE_PYTHON= yes +USES= python .include Index: head/french/trytond28_account_fr/Makefile =================================================================== --- head/french/trytond28_account_fr/Makefile (revision 371200) +++ head/french/trytond28_account_fr/Makefile (revision 371201) @@ -1,25 +1,24 @@ # Created by: Matthias Petermann # $FreeBSD$ PORTNAME= trytond28_account_fr PORTVERSION= 2.8.0 PORTREVISION= 1 CATEGORIES= french finance python MASTER_SITES= https://pypi.python.org/packages/source/t/trytond_account_fr/ \ http://downloads.tryton.org/${PORTVERSION:R}/ DISTNAME= trytond_account_fr-${PORTVERSION} MAINTAINER= matthias@petermann-it.de COMMENT= Tryton Application Platform (French Account Chart) LICENSE= GPLv3 RUN_DEPENDS= trytond28_account>=2.8.1:${PORTSDIR}/finance/trytond28_account CONFLICTS= trytond_account_fr-2.[46].* -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/french/trytond_account_fr/Makefile =================================================================== --- head/french/trytond_account_fr/Makefile (revision 371200) +++ head/french/trytond_account_fr/Makefile (revision 371201) @@ -1,24 +1,23 @@ # Created by: Matthias Petermann # $FreeBSD$ PORTNAME= trytond_account_fr PORTVERSION= 2.4.0 PORTREVISION= 1 CATEGORIES= french finance python MASTER_SITES= http://downloads.tryton.org/${PORTVERSION:R}/ MAINTAINER= matthias@petermann.it COMMENT= Tryton Application Platform (French Account Chart) LICENSE= GPLv3 RUN_DEPENDS= trytond>=2.4.0:${PORTSDIR}/finance/trytond \ trytond_account>=2.4.1:${PORTSDIR}/finance/trytond_account CONFLICTS= trytond28_account_fr-2.8.* -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/french/tvdownloader/Makefile =================================================================== --- head/french/tvdownloader/Makefile (revision 371200) +++ head/french/tvdownloader/Makefile (revision 371201) @@ -1,44 +1,43 @@ # Created by: thierry@pompo.net # $FreeBSD$ PORTNAME= tvdownloader PORTVERSION= 0.7.2 PORTREVISION= 5 CATEGORIES= french multimedia MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MASTER_SITE_SUBDIR= MAINTAINER= thierry@FreeBSD.org COMMENT= Download podcasts and videos from French websites LICENSE= GPLv2 RUN_DEPENDS= msdl:${PORTSDIR}/multimedia/msdl \ rtmpdump:${PORTSDIR}/multimedia/rtmpdump \ ${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui \ ${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto\ ${PYTHON_SITELIBDIR}/mechanize/_mechanize.py:${PORTSDIR}/www/py-mechanize -USE_PYTHON= yes -USES= shebangfix +USES= python shebangfix SHEBANG_FILES= doc/installdox ALL_TARGET= build OPTIONS_DEFINE= DOCS .include pre-configure: ${REINPLACE_CMD} -e 's|@python|${PYTHON_CMD}|' \ ${WRKSRC}/Makefile ${WRKSRC}/src/Makefile ${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ ${WRKSRC}/tvdownloader.sh ${REINPLACE_CMD} -e 's|/usr/share|${PREFIX}/share|' \ ${WRKSRC}/tvdownload.desktop .if empty(PORT_OPTIONS:MDOCS) ${REINPLACE_CMD} -e 's|%%DOC%%|#|' ${WRKSRC}/Makefile .else ${REINPLACE_CMD} -e 's|%%DOC%%||' ${WRKSRC}/Makefile .endif .include Index: head/ftp/ftpcube/Makefile =================================================================== --- head/ftp/ftpcube/Makefile (revision 371200) +++ head/ftp/ftpcube/Makefile (revision 371201) @@ -1,28 +1,27 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= ftpcube PORTVERSION= 0.5.1 PORTREVISION= 9 CATEGORIES= ftp python MASTER_SITES= SF MAINTAINER= gahr@FreeBSD.org COMMENT= Graphical FTP Client LICENSE= ART10 RUN_DEPENDS= ${PYTHON_SITELIBDIR}/paramiko/__init__.py:${PORTSDIR}/security/py-paramiko -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes -USE_WX= 2.6+ -WX_COMPS= python -WX_UNICODE= yes +USES= python +USE_PYTHON= distutils autoplist +USE_WX= 2.6+ +WX_COMPS= python +WX_UNICODE= yes post-patch: @${REINPLACE_CMD} 's,/usr/local,${PREFIX},' ${WRKSRC}/setup.cfg @${ECHO_CMD} record=installed-files.log >> ${WRKSRC}/setup.cfg .include Index: head/ftp/py-ftputil/Makefile =================================================================== --- head/ftp/py-ftputil/Makefile (revision 371200) +++ head/ftp/py-ftputil/Makefile (revision 371201) @@ -1,35 +1,35 @@ # Created by: Li-Wen Hsu # $FreeBSD$ PORTNAME= ftputil PORTVERSION= 2.6 PORTREVISION= 1 CATEGORIES= ftp python MASTER_SITES= # http://ftputil.sschwarzer.net/trac/attachment/wiki/Download/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= lwhsu@FreeBSD.org COMMENT= High-level FTP client library -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USES= python +USE_PYTHON= distutils DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} PORTDOC_FILES= README.html README.txt ftputil.html ftputil.txt ftputil_ru_utf8.txt OPTIONS_DEFINE= DOCS .include do-fetch: .if !exists(${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}) ${FETCH_CMD} -o "${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}" "http://ftputil.sschwarzer.net/trac/attachment/wiki/Download/${DISTNAME}${EXTRACT_SUFX}?format=raw" .endif post-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in ${PORTDOC_FILES} ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor .include Index: head/ftp/py-pyftpdlib/Makefile =================================================================== --- head/ftp/py-pyftpdlib/Makefile (revision 371200) +++ head/ftp/py-pyftpdlib/Makefile (revision 371201) @@ -1,40 +1,40 @@ # Created by: Li-Wen Hsu # $FreeBSD$ 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 -USE_PYDISTUTILS= yes +USES= python:2 +USE_PYTHON= distutils OPTIONS_DEFINE= SENDFILE OPENSSL EXAMPLES 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 SENDFILE_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysendfile>0:${PORTSDIR}/net/py-pysendfile OPENSSL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>0:${PORTSDIR}/security/py-openssl EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} post-install: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} -R ${WRKSRC}/demo/ ${STAGEDIR}${EXAMPLESDIR} test: build ${TOUCH} ${WRKSRC}/test/__init__.py cd ${WRKSRC} && ${PYTHON_CMD} ${PYSETUP} test .include