Date: Mon, 29 Oct 2012 18:55:20 +0000 (UTC) From: Ruslan Mahmatkhanov <rm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r306627 - head/www/trac-robotstxt Message-ID: <201210291855.q9TItKCe023488@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rm Date: Mon Oct 29 18:55:20 2012 New Revision: 306627 URL: http://svn.freebsd.org/changeset/ports/306627 Log: - do not directly depend on setuptools, use USE_DISTUTILS instead - no PORTREVISION bump is needed, because dependencies list isn't changed - trim Makefile header - limit python version to 2.x only - move pkg-plist contents into Makefile:PLIST_FILES - tab -> space change in pkg-descr:WWW PR: 173111 Submitted by: rm (myself) Approved by: reassigned to the heap Feature safe: yes Deleted: head/www/trac-robotstxt/pkg-plist Modified: head/www/trac-robotstxt/Makefile head/www/trac-robotstxt/pkg-descr Modified: head/www/trac-robotstxt/Makefile ============================================================================== --- head/www/trac-robotstxt/Makefile Mon Oct 29 17:57:38 2012 (r306626) +++ head/www/trac-robotstxt/Makefile Mon Oct 29 18:55:20 2012 (r306627) @@ -1,9 +1,5 @@ -# New ports collection makefile for: trac-robotxt -# Date created: 03. 23, 2007 -# Whom: Martin Wilke <miwi@FreeBSD.org> -# +# Created by: Martin Wilke <miwi@FreeBSD.org> # $FreeBSD$ -# PORTNAME= robotxt PORTVERSION= 1.0.1 @@ -14,26 +10,13 @@ PKGNAMEPREFIX= trac- DISTNAME= TracRobotsTxt-${PORTVERSION} MAINTAINER= miwi@FreeBSD.org -COMMENT= Allows simple management of a robots.txt. +COMMENT= Allows simple management of a robots.txt -BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools -RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \ - tracd:${PORTSDIR}/www/trac +RUN_DEPENDS= tracd:${PORTSDIR}/www/trac -USE_PYTHON= yes -USE_PYDISTUTILS= yes - -EASY_INSTALL_CMD?= easy_install-${PYTHON_VER} - -PYDISTUTILS_BUILD_TARGET= bdist_egg -PYDISTUTILS_INSTALL_TARGET= easy_install -PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${TRACROBO_EGG} -PYDISTUTILS_NOEGGINFO= yes - -TRACROBO_EGG= TracRobotsTxt-${PORTVERSION}-py${PYTHON_VER}.egg - -PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \ - TRACROBO_EGG=${TRACROBO_EGG} \ - TRACROBO_EGG_VER="TracRobotsTxt==${PORTVERSION}" +USE_PYTHON= -2.7 +USE_PYDISTUTILS= easy_install +PYDISTUTILS_PKGNAME= TracRobotsTxt +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% .include <bsd.port.mk> Modified: head/www/trac-robotstxt/pkg-descr ============================================================================== --- head/www/trac-robotstxt/pkg-descr Mon Oct 29 17:57:38 2012 (r306626) +++ head/www/trac-robotstxt/pkg-descr Mon Oct 29 18:55:20 2012 (r306627) @@ -1,4 +1,4 @@ Serve a robots.txt file from Trac. Mostly useful to tracd users, but works on anything. Just put the data you want in the wiki page RobotsTxt. -WWW: http://trac-hacks.org/wiki/RobotsTxtPlugin +WWW: http://trac-hacks.org/wiki/RobotsTxtPlugin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210291855.q9TItKCe023488>