Index: Makefile =================================================================== --- Makefile (revision 306373) +++ Makefile (working copy) @@ -1,13 +1,9 @@ -# New ports collection makefile for: trac-spam-filter -# Date created: 23 September 2007 -# Whom: sutra -# +# Created by: sutra # $FreeBSD$ -# PORTNAME= TracSpamFilter PORTVERSION= 0.2.1 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= www devel python MASTER_SITES= http://zhoushuqun.com/files/ \ http://freebsd.unixfreunde.de/sources/ @@ -17,22 +13,12 @@ COMMENT= Allow different ways to reject contributions that contain spam RUN_DEPENDS= tracd:${PORTSDIR}/www/trac -BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}dev +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}dev -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_NOEGGINFO= yes -PLIST_SUB+= PORTNAME=${PORTNAME} PORTVERSION=${PORTVERSION} PYTHONVERSION=${_PYTHON_VERSION} +USE_PYTHON= -2.7 +USE_PYDISTUTILS= easy_install +PYDISTUTILS_PKGVERSION= ${PORTVERSION}dev +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% -do-build: - cd ${WRKSRC}; \ - ${PYTHON_CMD} setup.py bdist_egg - -do-install: -.for i in * - ${INSTALL_DATA} ${WRKSRC}/dist/${i} ${PYTHON_SITELIBDIR}/ -.endfor - .include Index: pkg-descr =================================================================== --- pkg-descr (revision 306373) +++ pkg-descr (working copy) @@ -1,4 +1,4 @@ A plugin is being developed that will allow different ways to reject contributions that contain spam. -WWW: http://trac.edgewall.org/wiki/SpamFilter +WWW: http://trac.edgewall.org/wiki/SpamFilter Index: pkg-plist =================================================================== --- pkg-plist (revision 306373) +++ pkg-plist (working copy) @@ -1 +0,0 @@ -%%PYTHON_SITELIBDIR%%/%%PORTNAME%%-%%PORTVERSION%%dev-py%%PYTHONVERSION%%.egg