Index: head/german/trytond28_account_de_skr03/Makefile =================================================================== --- head/german/trytond28_account_de_skr03/Makefile (revision 371201) +++ head/german/trytond28_account_de_skr03/Makefile (revision 371202) @@ -1,25 +1,24 @@ # Created by: Matthias Petermann # $FreeBSD$ PORTNAME= trytond28_account_de_skr03 PORTVERSION= 2.8.0 PORTREVISION= 1 CATEGORIES= german finance python MASTER_SITES= https://pypi.python.org/packages/source/t/trytond_account_de_skr03/ \ http://downloads.tryton.org/${PORTVERSION:R}/ DISTNAME= trytond_account_de_skr03-${PORTVERSION} MAINTAINER= matthias@petermann-it.de COMMENT= Tryton Application Platform (German Account Chart) LICENSE= GPLv3 RUN_DEPENDS= trytond28_account>=2.8.1:${PORTSDIR}/finance/trytond28_account CONFLICTS= trytond_account_de_skr03-2.[46].* -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/german/trytond_account_de_skr03/Makefile =================================================================== --- head/german/trytond_account_de_skr03/Makefile (revision 371201) +++ head/german/trytond_account_de_skr03/Makefile (revision 371202) @@ -1,24 +1,23 @@ # Created by: Matthias Petermann # $FreeBSD$ PORTNAME= trytond_account_de_skr03 PORTVERSION= 2.4.0 PORTREVISION= 1 CATEGORIES= german finance python MASTER_SITES= http://downloads.tryton.org/${PORTVERSION:R}/ MAINTAINER= matthias@petermann.it COMMENT= Tryton Application Platform (German 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_de_skr03-2.8.* -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= python +USE_PYTHON= distutils autoplist .include Index: head/japanese/ibus-anthy/Makefile =================================================================== --- head/japanese/ibus-anthy/Makefile (revision 371201) +++ head/japanese/ibus-anthy/Makefile (revision 371202) @@ -1,44 +1,43 @@ # Created by: Daichi GOTO # $FreeBSD$ PORTNAME= ibus-anthy PORTVERSION= 1.2.7 PORTREVISION= 5 CATEGORIES= japanese PROJECTHOST= ibus MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} PKGNAMEPREFIX= ja- MAINTAINER= daichi@FreeBSD.org COMMENT= Anthy engine for IBus BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 LIB_DEPENDS= libanthy.so:${PORTSDIR}/japanese/anthy \ libibus-1.0.so:${PORTSDIR}/textproc/ibus RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-2.0/pynotify/_pynotify.so:${PORTSDIR}/devel/py-notify GNU_CONFIGURE= yes -USES= libtool gettext gmake pkgconfig -USE_PYTHON= yes +USES= libtool gettext gmake pkgconfig python USE_GNOME= pygtk2 LOCALBASE_REPLACE_FILES= \ engine/engine.py \ setup/anthyprefs.py \ setup/main.py INCLUDEDIR_REPLACE_FILES= \ engine/Makefile.am \ engine/Makefile.in post-patch: cd ${WRKSRC} && \ ${REINPLACE_CMD} "s,@@LOCALBASE@@,${LOCALBASE},g" \ ${LOCALBASE_REPLACE_FILES} && \ ${REINPLACE_CMD} "s,@@INCLUDEDIR@@,${INCLUDEDIR},g" \ ${INCLUDEDIR_REPLACE_FILES} post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_anthy.so .include Index: head/japanese/ibus-skk/Makefile =================================================================== --- head/japanese/ibus-skk/Makefile (revision 371201) +++ head/japanese/ibus-skk/Makefile (revision 371202) @@ -1,40 +1,39 @@ # Created by: Hiroto Kagotani # $FreeBSD$ PORTNAME= ibus-skk PORTVERSION= 1.4.1 PORTREVISION= 3 CATEGORIES= japanese MASTER_SITES= http://cloud.github.com/downloads/ueno/ibus-skk/ MAINTAINER= ports@FreeBSD.org COMMENT= Japanese SKK input engine for IBus RUN_DEPENDS= ${LOCALBASE}/share/skk/SKK-JISYO.L:${PORTSDIR}/japanese/skk-jisyo LIB_DEPENDS= libskk.so:${PORTSDIR}/japanese/libskk \ libibus-1.0.so:${PORTSDIR}/textproc/ibus -USE_PYTHON= yes -USES= gettext gmake pkgconfig +USES= gettext gmake pkgconfig python USE_GNOME= intltool GNU_CONFIGURE= yes CONFIGURE_ENV+= DATADIRNAME=share CPPFLAGS+= -I${LOCALBASE}/include OPTIONS_DEFINE= NLS post-patch: @${REINPLACE_CMD} -e 's|/usr/share/skk/SKK-JISYO.L|${LOCALBASE}/share/skk/SKK-JISYO.L|' ${WRKSRC}/src/preferences.c .include .if ${PORT_OPTIONS:MNLS} USES+= gettext PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif .include Index: head/japanese/kana-no-quiz/Makefile =================================================================== --- head/japanese/kana-no-quiz/Makefile (revision 371201) +++ head/japanese/kana-no-quiz/Makefile (revision 371202) @@ -1,33 +1,32 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= kana-no-quiz DISTVERSION= 1.9 PORTREVISION= 10 CATEGORIES= japanese MASTER_SITES= ${MASTER_SITE_BERLIOS} MASTER_SITE_SUBDIR= ${PORTNAME} DISTNAME= ${PORTNAME:S,k,K,}-${DISTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Little tool to memorize Japanese KANA (Hiragana/Katakana) RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygtk.py:${PORTSDIR}/x11-toolkits/py-gtk2 \ ${PYTHON_SITELIBDIR}/pygame/__init__.py:${PORTSDIR}/devel/py-game NO_BUILD= yes RM_FILES= CHANGES.txt FAL.txt GPL.txt RM_OPTS= -f -USES= gettext -USE_PYTHON= yes -USE_PYDISTUTILS=yes +USES= gettext python +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= Kana-no-quiz WRKSRC= "${WRKDIR}/Kana no quiz-${DISTVERSION}" post-extract: @cd ${WRKSRC} && ${RM} ${RM_OPTS} ${RM_FILES} .include Index: head/japanese/libtomoe-gtk/Makefile =================================================================== --- head/japanese/libtomoe-gtk/Makefile (revision 371201) +++ head/japanese/libtomoe-gtk/Makefile (revision 371202) @@ -1,43 +1,43 @@ # Created by: Hajimu UMEMOTO # $FreeBSD$ PORTNAME= libtomoe-gtk PORTVERSION= 0.6.0 PORTREVISION= 7 CATEGORIES= japanese MASTER_SITES= SF/tomoe/tomoe-gtk/tomoe-gtk-${PORTVERSION} DISTNAME= tomoe-gtk-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX} MAINTAINER= ume@FreeBSD.org COMMENT= TOMOE GTK+ library LIB_DEPENDS= libtomoe.so:${PORTSDIR}/japanese/tomoe GNU_CONFIGURE= yes USES= gmake libtool:oldver pathfix pkgconfig USE_GNOME= gtk20 USE_LDCONFIG= yes #OPTIONS= GUCHARMAP "Compile with gucharmap" on .include #.if defined(WITHOUT_GUCHARMAP) CONFIGURE_ARGS+=--with-gucharmap=no PLIST_SUB+= GUCHARMAP="@comment " #.else #LIB_DEPENDS+= libgucharmap.so:${PORTSDIR}/deskutils/gucharmap #PLIST_SUB+= GUCHARMAP="" #.endif .if exists(${LOCALBASE}/libdata/pkgconfig/pytomoe.pc) -USE_PYTHON= yes +USES+= python CONFIGURE_ENV+= PYTHON_VERSION=${PYTHON_VERSION:S;python;;} \ pyexecdir=${PYTHON_SITELIBDIR} PLIST_SUB+= PYTHON="" .else CONFIGURE_ARGS+=--with-python=no PLIST_SUB+= PYTHON="@comment " .endif .include Index: head/japanese/mailman/Makefile =================================================================== --- head/japanese/mailman/Makefile (revision 371201) +++ head/japanese/mailman/Makefile (revision 371202) @@ -1,183 +1,182 @@ # Created by: Sunagawa Koji # $FreeBSD$ PORTNAME= mailman PORTVERSION= 2.1.14.j7 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= japanese mail MASTER_SITES= http://www.python.jp/doc/contrib/mailman/_static/ \ LOCAL MASTER_SITE_SUBDIR= tota/${PORTNAME} DISTNAME= ${PORTNAME}-${PORTVERSION:S/.j/+j/} DIST_SUBDIR= mailman MAINTAINER= tota@FreeBSD.org COMMENT= Japanized mailman which is a mailing list manager with a web front-end LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/gnu-COPYING-GPL CONFLICTS= mailman-2.1.* PORTSCOUT= limit:.*\.j\d+$$ USE_AUTOTOOLS= autoconf -USES= gettext tar:tgz -USE_PYTHON= 2 +USES= gettext python:2 tar:tgz USE_RC_SUBR= mailman GNU_CONFIGURE_PREFIX= ${MAILMANDIR} CONFIGURE_ARGS+=--with-python=${PYTHON_CMD} \ --with-username=${MM_USERNAME} \ --with-groupname=${MM_GROUPNAME} \ --with-mail-gid=${MAIL_GID} --with-cgi-gid=${CGI_GID} \ --with-permcheck=no # The Mailman port supports a number of variables that may be tweaked at # build time. Getting the values of some of them right is crucial! # MM_USERNAME?= mailman MM_USERID?= 91 MM_GROUPNAME?= ${MM_USERNAME} MM_GROUPID?= ${MM_USERID} MM_DIR?= mailman CGI_GID?= www IMGDIR?= www/icons # # End of user-configurable variables. USERS= ${MM_USERNAME} GROUPS= ${MM_GROUPNAME} MAILMANDIR= ${PREFIX}/${MM_DIR} PLIST_SUB= MMDIR=${MM_DIR} IMGDIR=${IMGDIR} SUB_FILES= pkg-message pkg-install pkg-deinstall SUB_LIST= MAILMANDIR=${MAILMANDIR} USER=${MM_USERNAME} GROUP=${MM_GROUPNAME} IMGFILES= PythonPowered.png mailman.jpg mm-icon.png PORTDOCS= ACKNOWLEDGMENTS BUGS FAQ INSTALL NEWS NEWS.japan.utf-8 \ README README-I18N.en README.CONTRIB README.NETSCAPE \ README.USERAGENT README.japan.utf-8 STYLEGUIDE.txt \ TODO UPGRADING \ mailman-admin.txt \ mailman-install.txt \ mailman-member.txt \ FreeBSD-post-install-notes OPTIONS_DEFINE= DOCS NAMAZU2 OPTIONS_SINGLE= MTA OPTIONS_SINGLE_MTA= SENDMAIL EXIM4 POSTFIX COURIER NAMAZU2_DESC= Make private archives searchable with namazu2 MTA_DESC= Integrate with which MTA? SENDMAIL_DESC= for use with sendmail EXIM4_DESC= for use with exim4 POSTFIX_DESC= for use with postfix COURIER_DESC= for use with courier OPTIONS_DEFAULT= SENDMAIL .include .if ${PORT_OPTIONS:MSENDMAIL} MAIL_GID?= mailnull .endif .if ${PORT_OPTIONS:MEXIM4} MAIL_GID?= mail .endif .if ${PORT_OPTIONS:MPOSTFIX} RUN_DEPENDS+= ${LOCALBASE}/sbin/postconf:${PORTSDIR}/mail/postfix BUILD_DEPENDS+= ${LOCALBASE}/sbin/postconf:${PORTSDIR}/mail/postfix MAIL_GID?= mailman EXTRA_PATCHES+= ${FILESDIR}/postfix-verp.diff .endif .if ${PORT_OPTIONS:MCOURIER} MAIL_GID?= courier .endif .if ${PORT_OPTIONS:MNAMAZU2} RUN_DEPENDS+= mknmz:${PORTSDIR}/japanese/namazu2 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Mailman-Cgi-private.py .endif pre-everything:: @${ECHO} "" @${ECHO} "You may change the following build options:" @${ECHO} "" @${ECHO} "Option Default Value Description" @${ECHO} "------------- --------------- ------------------------------------------------" @${ECHO} "MM_USERNAME mailman The username of the Mailman user." @${ECHO} "MM_USERID 91 The user ID of the Mailman user." @${ECHO} "MM_GROUPNAME mailman The group to which the Mailman user will belong." @${ECHO} "MM_GROUPID \$$MM_USERID The group ID for the Mailman user." @${ECHO} "MM_DIR mailman Mailman will be installed in" @${ECHO} " ${PREFIX}/${MM_DIR}." @${ECHO} "CGI_GID www The group name or id under which your web" @${ECHO} " server executes CGI scripts." @${ECHO} "IMGDIR www/icons Icon images will be installed in" @${ECHO} " ${PREFIX}/${IMGDIR}." @${ECHO} "" post-patch: @${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#g' \ ${WRKSRC}/Mailman/Defaults.py.in @${REINPLACE_CMD} -e 's/^0,5,10/#&/' ${WRKSRC}/cron/crontab.in.in pre-configure: @${ECHO} "DEFAULT_SERVER_LANGUAGE = 'ja'" >> ${WRKSRC}/Mailman/mm_cfg.py.dist.in @${ECHO} "GLOBAL_PIPELINE.insert(1, 'iso2022jpfix')" >> ${WRKSRC}/Mailman/mm_cfg.py.dist.in .if ${PORT_OPTIONS:MPOSTFIX} @${ECHO} "MTA = 'Postfix'" >> ${WRKSRC}/Mailman/mm_cfg.py.dist.in .endif post-install: .for i in admin admindb confirm create edithtml listinfo options private \ rmlist roster subscribe ${STRIP_CMD} ${STAGEDIR}${MAILMANDIR}/cgi-bin/${i} .endfor ${STRIP_CMD} ${STAGEDIR}${MAILMANDIR}/mail/mailman ${STRIP_CMD} ${STAGEDIR}${MAILMANDIR}/pythonlib/pykf.so # Compile additional Python scripts: .for dir in Mailman bin pythonlib (cd ${STAGEDIR}${MAILMANDIR} \ && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \ -f -d ${MAILMANDIR}/${dir} ${dir}) .endfor @${RM} -f ${STAGEDIR}${MAILMANDIR}/pythonlib/*.egg-info # mm_cfg.py is handled by pkg-plist: @${RM} -f ${STAGEDIR}${MAILMANDIR}/Mailman/mm_cfg.py @${RM} -f ${STAGEDIR}${MAILMANDIR}/Mailman/mm_cfg.pyc @${MKDIR} ${STAGEDIR}${PREFIX}/${IMGDIR} .for imgfile in ${IMGFILES} ${CP} ${STAGEDIR}${MAILMANDIR}/icons/${imgfile} ${STAGEDIR}${PREFIX}/${IMGDIR} .endfor uudecode -p ${FILESDIR}/powerlogo.gif.uue > \ ${STAGEDIR}${PREFIX}/${IMGDIR}/powerlogo.gif .if ${PORT_OPTIONS:MDOCS} ${CP} -R ${WRKSRC}/doc/* ${WRKSRC}/ @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${FILESDIR}/FreeBSD-post-install-notes ${STAGEDIR}${DOCSDIR} .for docfile in ${PORTDOCS:NFreeBSD-post-install-notes} ${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR} .endfor .endif @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} ${ECHO} "This marker file ensures that Python's upgrade-site-packages handles ${PKGNAME}." >${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mailman-info.txt .if ${PORT_OPTIONS:MPOSTFIX} @if [ "x`${LOCALBASE}/sbin/postconf -h myhostname`" != "xlocalhost" ]; then \ ${ECHO_CMD} ""; \ ${ECHO_CMD} "Your Postfix hostname is non-default."; \ ${ECHO_CMD} -n "You must add \"SMTPHOST = "; \ ${ECHO_CMD} -n `${LOCALBASE}/sbin/postconf -h myhostname`; \ ${ECHO_CMD} "\" to the bottom of mm_cfg.py."; \ ${ECHO_CMD} ""; \ fi .endif .include Index: head/japanese/py-mecab/Makefile =================================================================== --- head/japanese/py-mecab/Makefile (revision 371201) +++ head/japanese/py-mecab/Makefile (revision 371202) @@ -1,31 +1,31 @@ # Created by: Junji NAKANISHI # $FreeBSD$ PORTNAME= mecab PORTVERSION= 0.996 CATEGORIES= japanese python textproc MASTER_SITES= GOOGLE_CODE DISTNAME= ${PORTNAME}-python-${PORTVERSION} MAINTAINER= jun-g@daemonfreaks.com COMMENT= Python bindings for MeCab LICENSE= BSD GPLv2 LGPL21 LICENSE_COMB= dual BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 LIB_DEPENDS= libmecab.so:${PORTSDIR}/japanese/mecab -USE_PYTHON= yes -USE_PYDISTUTILS=yes +USES= python +USE_PYTHON= distutils PYDISTUTILS_EGGINFO= ${PORTNAME}_python-${PKGVERSION}-${PYTHON_VERSION:S/thon//}.egg-info pre-patch: @${REINPLACE_CMD} -e 's|cmd1("mecab-config --version")|"${PKGVERSION}"|' \ ${WRKSRC}/setup.py .include PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${PYTHON_PKGNAMEPREFIX} .include Index: head/japanese/py-tegaki/Makefile =================================================================== --- head/japanese/py-tegaki/Makefile (revision 371201) +++ head/japanese/py-tegaki/Makefile (revision 371202) @@ -1,23 +1,23 @@ # Created by: Timothy Beyer # $FreeBSD$ PORTNAME= tegaki PORTVERSION= 0.3.1 CATEGORIES= japanese python MASTER_SITES= http://www.tegaki.org/releases/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= ${PORTNAME}-python-${PORTVERSION} MAINTAINER= beyert@cs.ucr.edu COMMENT= Open-source Chinese and Japanese handwriting recognition LICENSE= GPLv2 LIB_DEPENDS= libzinnia.so:${PORTSDIR}/japanese/zinnia RUN_DEPENDS= ${PYTHON_SITELIBDIR}/zinnia.py:${PORTSDIR}/japanese/py-zinnia -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USES= python +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= ${PORTNAME}_python .include Index: head/japanese/py-tegaki-gtk/Makefile =================================================================== --- head/japanese/py-tegaki-gtk/Makefile (revision 371201) +++ head/japanese/py-tegaki-gtk/Makefile (revision 371202) @@ -1,24 +1,24 @@ # Created by: Timothy Beyer # $FreeBSD$ PORTNAME= tegaki PORTVERSION= 0.3.1 CATEGORIES= japanese python MASTER_SITES= http://www.tegaki.org/releases/${PORTVERSION}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} PKGNAMESUFFIX= -gtk DISTNAME= ${PORTNAME}-pygtk-${PORTVERSION} MAINTAINER= beyert@cs.ucr.edu COMMENT= Tegaki PyGTK interface LICENSE= GPLv2 LIB_DEPENDS= libzinnia.so:${PORTSDIR}/japanese/zinnia RUN_DEPENDS= ${PYTHON_SITELIBDIR}/tegaki/engine.py:${PORTSDIR}/japanese/py-tegaki -USE_PYTHON= yes -USE_PYDISTUTILS= yes +USES= python +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= ${PORTNAME}_pygtk .include Index: head/japanese/py-zinnia/Makefile =================================================================== --- head/japanese/py-zinnia/Makefile (revision 371201) +++ head/japanese/py-zinnia/Makefile (revision 371202) @@ -1,30 +1,30 @@ # Created by: Timothy Beyer # $FreeBSD$ PORTNAME= zinnia PORTVERSION= 0.06 CATEGORIES= japanese python MASTER_SITES= SF PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= beyert@cs.ucr.edu COMMENT= Python interface for Zinnia LIB_DEPENDS= libzinnia.so:${PORTSDIR}/japanese/zinnia RUN_DEPENDS= zinnia:${PORTSDIR}/japanese/zinnia LICENSE= BSD LICENSE_FILE= ${WRKSRC}/COPYING -USE_PYTHON= yes -USE_PYDISTUTILS=yes +USES= python +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= ${PORTNAME}_python PYDISTUTILS_PKGVERSION= 0.0.0 LDFLAGS+= -L${LOCALBASE}/lib MAKE_ENV:= ${CONFIGURE_ENV} post-extract: ${CP} -a ${WRKSRC}/python/* ${WRKSRC} .include Index: head/japanese/tegaki-recognize/Makefile =================================================================== --- head/japanese/tegaki-recognize/Makefile (revision 371201) +++ head/japanese/tegaki-recognize/Makefile (revision 371202) @@ -1,37 +1,37 @@ # Created by: Timothy Beyer # $FreeBSD$ PORTNAME= tegaki PORTVERSION= 0.3.1.2 CATEGORIES= japanese python MASTER_SITES= http://www.tegaki.org/releases/${PORTVERSION:.2=}/ PKGNAMESUFFIX= -recognize DISTNAME= ${PORTNAME}${PKGNAMESUFFIX}-${PORTVERSION} MAINTAINER= beyert@cs.ucr.edu COMMENT= Open-Source Chinese and Japanese Handwriting Recognition LICENSE= GPLv2 LIB_DEPENDS= libzinnia.so:${PORTSDIR}/japanese/zinnia RUN_DEPENDS= ${PYTHON_SITELIBDIR}/tegakigtk/recognizer.py:${PORTSDIR}/japanese/py-tegaki-gtk OPTIONS_DEFINE= DOCS -USE_PYTHON= 2 -USE_PYDISTUTILS= yes +USES= python:2 +USE_PYTHON= distutils PYDISTUTILS_PKGNAME= ${PORTNAME}_recognize post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/COPYRIGHT ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} post-patch: @${REINPLACE_CMD} \ -e 's,distutils\.command\.install ,setuptools\.command\.install ,' \ ${WRKSRC}/setup.py .include Index: head/java/eclipse-pydev/Makefile =================================================================== --- head/java/eclipse-pydev/Makefile (revision 371201) +++ head/java/eclipse-pydev/Makefile (revision 371202) @@ -1,57 +1,56 @@ # Created by: Nicola Vitale # $FreeBSD$ PORTNAME= pydev PORTVERSION= 3.5.0 PORTREVISION= 1 CATEGORIES= java devel python MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/PyDev%20${PORTVERSION}/ PKGNAMEPREFIX= eclipse- DISTNAME= PyDev%20${PORTVERSION} MAINTAINER= nivit@FreeBSD.org COMMENT= Eclipse plugin for Python and Jython development LICENSE= EPL RUN_DEPENDS= ${LOCALBASE}/bin/eclipse:${PORTSDIR}/java/eclipse BUNDLES_INFO= ${PREFIX}/lib/eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info JYTHON_DESC= Use Jython as Python interpreter NO_WRKSUBDIR= yes OPTIONS_DEFINE= JYTHON PLUGINDIR= share/eclipse/dropins/pydev/eclipse/plugins PYDEV_BUNDLES_INFO= ${PREFIX}/${PLUGINDIR}/bundles.info -USE_PYTHON= yes -USES= zip +USES= python zip .include .if ${PORT_OPTIONS:MJYTHON} RUN_DEPENDS+= jython:${PORTSDIR}/lang/jython .endif pre-install: @${ECHO_MSG} "===> Creating bundles.info" @PLUGINS=$$(ls -1 ${WRKDIR}/plugins); \ for d in $${PLUGINS}; do \ (${ECHO_CMD} "$${d},../../${PLUGINDIR}/$${d}/,4,false" | \ ${SED} -e 's/_\([0-9]\)/,\1/1' -e '/templates/d') >> ${WRKDIR}/plugins/bundles.info; \ done @# ignore javashell.py file, because there is a syntax error @# see http://goo.gl/E4epH ${PYTHON_CMD} -m compileall -x javashell.py -f ${WRKSRC}/plugins ${PYTHON_CMD} -O -m compileall -x javashell.py -f ${WRKSRC} add-plist-post: @${ECHO_CMD} "@exec ${CAT} ${PYDEV_BUNDLES_INFO} >> ${BUNDLES_INFO}" >> ${TMPPLIST} @${ECHO_CMD} "@unexec ${SED} -i '' -E '/^((org)|(com))\.python\.pydev/d' %D/lib/eclipse/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info" >> ${TMPPLIST} .include "${PORTSDIR}/java/eclipse/Makefile.plugins" .include Index: head/ports-mgmt/fastest_sites/Makefile =================================================================== --- head/ports-mgmt/fastest_sites/Makefile (revision 371201) +++ head/ports-mgmt/fastest_sites/Makefile (revision 371202) @@ -1,28 +1,27 @@ # $FreeBSD$ PORTNAME= fastest_sites PORTVERSION= 20110317 CATEGORIES= ports-mgmt MASTER_SITES= http://www.semicomplete.com/files/fastest_sites/ DISTNAME= ${PORTNAME}-${PORTVERSION}.py EXTRACT_SUFX= # nada MAINTAINER= wxs@FreeBSD.org COMMENT= Sort MASTER_SITE_* based upon TCP handshake times -USES= shebangfix -USE_PYTHON= yes +USES= python shebangfix NO_BUILD= yes PLIST_FILES= bin/fastest_sites SHEBANG_FILES= fastest_sites-${PORTVERSION}.py do-extract: @${MKDIR} ${WRKSRC} @${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC} do-install: ${INSTALL_SCRIPT} ${WRKSRC}/fastest_sites-${PORTVERSION}.py \ ${STAGEDIR}${PREFIX}/bin/fastest_sites .include Index: head/ports-mgmt/gnome-packagekit/Makefile =================================================================== --- head/ports-mgmt/gnome-packagekit/Makefile (revision 371201) +++ head/ports-mgmt/gnome-packagekit/Makefile (revision 371202) @@ -1,37 +1,36 @@ # Created by: Anders F Bjorklund # $FreeBSD$ # $MCom: ports/ports-mgmt/gnome-packagekit/Makefile,v 1.25 2011/06/14 20:18:46 mezz Exp $ PORTNAME= gnome-packagekit PORTVERSION= 2.32.0 PORTREVISION= 5 CATEGORIES= ports-mgmt sysutils gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= PackageKit client programs for the GNOME desktop BUILD_DEPENDS= ${LOCALBASE}/bin/docbook2man:${PORTSDIR}/textproc/docbook-utils LIB_DEPENDS= libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \ libpackagekit-glib2.so:${PORTSDIR}/ports-mgmt/packagekit \ libnotify.so:${PORTSDIR}/devel/libnotify \ libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique \ libupower-glib.so:${PORTSDIR}/sysutils/upower \ libcanberra-gtk.so:${PORTSDIR}/audio/libcanberra USE_GNOME= gnomeprefix intlhack gconf2 gnomemenus gnomedocutils USES= desktop-file-utils gettext iconv pathfix gmake pkgconfig \ - tar:bzip2 -USE_PYTHON_BUILD=2 + python:2,build tar:bzip2 GCONF_SCHEMAS= gnome-packagekit.schemas INSTALLS_ICONS= yes INSTALLS_OMF= yes GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib pre-configure: @${REINPLACE_CMD} -E -e 's/.*CPPFLAGS.*-Werror/#$$&/' \ -e 's|-Wmissing-include-dirs||g' ${WRKSRC}/configure .include Index: head/ports-mgmt/pkg-plist/Makefile =================================================================== --- head/ports-mgmt/pkg-plist/Makefile (revision 371201) +++ head/ports-mgmt/pkg-plist/Makefile (revision 371202) @@ -1,23 +1,23 @@ # Created by: Martin Tournoij # $FreeBSD$ PORTNAME= pkg-plist PORTVERSION= 1.2 CATEGORIES= ports-mgmt python MASTER_SITES= http://code.arp242.net/pkg-plist/downloads/ MAINTAINER= martin@arp242.net COMMENT= Generate a pkg-plist for a port LICENSE= MIT -USE_PYTHON= yes +USES= python NO_BUILD= yes PLIST_FILES= bin/pkg-plist man/man1/pkg-plist.1.gz do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pkg-plist ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/pkg-plist.1 ${STAGEDIR}${MANPREFIX}/man/man1 .include Index: head/ports-mgmt/pkg_trackinst/Makefile =================================================================== --- head/ports-mgmt/pkg_trackinst/Makefile (revision 371201) +++ head/ports-mgmt/pkg_trackinst/Makefile (revision 371202) @@ -1,21 +1,21 @@ # Created by: Hye-Shik Chang # $FreeBSD$ PORTNAME= pkg_trackinst PORTVERSION= 1.2.3 PORTREVISION= 4 CATEGORIES= ports-mgmt MASTER_SITES= http://people.freebsd.org/~perky/distfiles/ MAINTAINER= olgeni@FreeBSD.org COMMENT= PkgDB/pkg-plist generator by tracking installation -USE_PYTHON= yes +USES= python MAKE_ENV= PYTHON_CMD=${PYTHON_CMD} STAGEDIR=${STAGEDIR} PLIST_SUB+= PYTHON_VER=${PYTHON_VER} VERSION=${PORTVERSION} post-patch: ${REINPLACE_CMD} 's,/usr/local,${PREFIX},g' \ ${WRKSRC}/PkgTrackInst/cmd_support.py .include Index: head/ports-mgmt/portbuilder/Makefile =================================================================== --- head/ports-mgmt/portbuilder/Makefile (revision 371201) +++ head/ports-mgmt/portbuilder/Makefile (revision 371202) @@ -1,33 +1,32 @@ # Created by: David Naylor # $FreeBSD$ PORTNAME= portbuilder DISTVERSION= 0.1.5.4 PORTREVISION= 1 CATEGORIES= ports-mgmt MASTER_SITES= http://cloud.github.com/downloads/DragonSA/portbuilder/ MAINTAINER= dbn@FreeBSD.org COMMENT= Concurrent FreeBSD port builder LICENSE= BSD2CLAUSE -USE_PYTHON= yes -USE_PYDISTUTILS=yes -USES= tar:xz +USE_PYTHON= distutils +USES= python tar:xz PORTDOCS= BUGS ChangeLog COPYRIGHT README OPTIONS_DEFINE= DOCS .include post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR} .endfor .endif .include Index: head/ports-mgmt/portell/Makefile =================================================================== --- head/ports-mgmt/portell/Makefile (revision 371201) +++ head/ports-mgmt/portell/Makefile (revision 371202) @@ -1,40 +1,39 @@ # Created by: mich@freebsdcluster.org # $FreeBSD$ PORTNAME= portell PORTVERSION= 0.2 PORTREVISION= 1 CATEGORIES= ports-mgmt MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} MAINTAINER= mich@FreeBSD.org COMMENT= Quick display of FreeBSD port descriptions -USES= zip -USE_PYTHON= yes +USES= python zip NO_BUILD= yes PLIST_FILES= bin/portell PORTDOCS= README.txt post-extract: ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' ${WRKSRC}/portell.py ${REINPLACE_CMD} -e 's/free/freebsd/' ${WRKSRC}/portell.py ${REINPLACE_CMD} -e 's/portell.py/portell/' ${WRKSRC}/README.txt do-install: ${INSTALL_SCRIPT} ${WRKSRC}/portell.py ${STAGEDIR}${PREFIX}/bin/portell @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR} post-install: .if !defined(BATCH) @${ECHO_MSG} "" @${ECHO_MSG} "###############################################################################" @${ECHO_MSG} "# You must run 'portell -u' to initialize the DB" @${ECHO_MSG} "# ${DOCSDIR}/README.txt for more information." @${ECHO_MSG} "###############################################################################" @${ECHO_MSG} "" .endif .include Index: head/ports-mgmt/porttree/Makefile =================================================================== --- head/ports-mgmt/porttree/Makefile (revision 371201) +++ head/ports-mgmt/porttree/Makefile (revision 371202) @@ -1,39 +1,38 @@ # Created by: Vladimir Chukharev # $FreeBSD$ PORTNAME= porttree PORTVERSION= 0.3.r${SVN_REV} CATEGORIES= ports-mgmt python MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} MAINTAINER= Vladimir.Chukharev@gmail.com COMMENT= Show dependences of FreeBSD port as pseudo graphical tree LICENSE= MIT -USES= tar:bzip2 -USE_PYTHON= yes +USES= python tar:bzip2 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}networkx>=1.5:${PORTSDIR}/math/py-networkx .if target(gen-dist) FETCH_DEPENDS+= svn:${PORTSDIR}/devel/subversion .endif SVNROOT?= http://porttree.googlecode.com/svn/trunk/ SVN_REV= 52 NO_BUILD= yes NO_INSTALL= yes PLIST_FILES= bin/porttree man/man1/porttree.1.gz do-install: ${INSTALL_SCRIPT} ${WRKSRC}/src/porttree.py ${STAGEDIR}${PREFIX}/bin/porttree ${INSTALL_MAN} ${WRKSRC}/src/porttree.1 ${STAGEDIR}${MANPREFIX}/man/man1 gen-dist: ${MKDIR} ${WRKDIR} ${RM} -rf ${WRKSRC} svn export -r ${SVN_REV} ${SVNROOT} ${WRKSRC} ${TAR} -cvy -C ${WRKDIR} --exclude FreeBSDport -f ${DISTDIR}/${DISTNAME}.tar.bz2 ${DISTNAME} .include