From owner-svn-ports-head@FreeBSD.ORG Wed Dec 26 10:03:59 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B195BAE; Wed, 26 Dec 2012 10:03:59 +0000 (UTC) (envelope-from rm@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id F2E318FC08; Wed, 26 Dec 2012 10:03:58 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id qBQA3wxE043476; Wed, 26 Dec 2012 10:03:58 GMT (envelope-from rm@svn.freebsd.org) Received: (from rm@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id qBQA3wk4043475; Wed, 26 Dec 2012 10:03:58 GMT (envelope-from rm@svn.freebsd.org) Message-Id: <201212261003.qBQA3wk4043475@svn.freebsd.org> From: Ruslan Mahmatkhanov Date: Wed, 26 Dec 2012 10:03:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r309510 - head/www/trac-defaultcc X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Dec 2012 10:03:59 -0000 Author: rm Date: Wed Dec 26 10:03:58 2012 New Revision: 309510 URL: http://svnweb.freebsd.org/changeset/ports/309510 Log: - do not directly depend on setuptools, use USE_DISTUTILS instead - bump PORTREVISION because of dependency change - trim Makefile header - remove indefinite article in COMMENT - limit python version to 2.x only - remove permissions fixing part - setuptools will take care of it - move pkg-plist contents into Makefile:PLIST_FILES PR: 173163 Submitted by: rm (myself) Approved by: maintainer timeout (~2 months) Deleted: head/www/trac-defaultcc/pkg-plist Modified: head/www/trac-defaultcc/Makefile Modified: head/www/trac-defaultcc/Makefile ============================================================================== --- head/www/trac-defaultcc/Makefile Wed Dec 26 09:57:39 2012 (r309509) +++ head/www/trac-defaultcc/Makefile Wed Dec 26 10:03:58 2012 (r309510) @@ -1,46 +1,27 @@ -# New ports collection makefile for: trac-autocomplete -# Date created: August 18, 2011 -# Whom: Eygene Ryabinkin -# +# Created by: Eygene Ryabinkin # $FreeBSD$ -# PORTNAME= defaultcc PORTVERSION= 0.1 +PORTREVISION= 1 CATEGORIES= www python MASTER_SITES= http://dist.codelabs.ru/fbsd/trac-${PORTNAME}/ PKGNAMEPREFIX= trac- DISTNAME= ${PORTNAME}plugin-r${REL} MAINTAINER= rea@FreeBSD.org -COMMENT= A plugin that adds default CC value for tickets +COMMENT= Plugin that adds default CC value for tickets -BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools RUN_DEPENDS+= trac>=0.11:${PORTSDIR}/www/trac -USE_PYTHON= yes +USE_PYTHON= -2.7 USE_ZIP= yes -NO_BUILD= yes -USE_PYDISTUTILS= yes +USE_PYDISTUTILS= easy_install PYDISTUTILS_PKGNAME= Default_CC -PYDISTUTILS_NOEGGINFO= yes +PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%% WRKSRC= ${WRKDIR}/${PORTNAME}plugin/trunk REL= 10605 -PLIST_SUB+= PYTHON_VER=${PYTHON_VER} - -# We must fix file permissions -- ZIP file have 0000 for every file. -# Directory permissions are fine (they aren't stored inside ZIP -# file), but we set them too -- just in case. -post-extract: - @${FIND} ${WRKSRC} -type f | ${XARGS} ${CHMOD} 644 - @${FIND} ${WRKSRC} -type d | ${XARGS} ${CHMOD} 755 - -# Target to generate packaging list -plist: - @${FIND} ${PYTHON_SITELIBDIR}/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg -type f | ${SED} -e's|^${PYTHON_SITELIBDIR}/|%%PYTHON_SITELIBDIR%%/|;s|/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py[[:digit:]\.]*.egg|/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py%%PYTHON_VER%%.egg|' - @${FIND} ${PYTHON_SITELIBDIR}/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg -type d -mindepth 1 | ${SORT} -r | ${SED} -e's|^${PYTHON_SITELIBDIR}/|@dirrm %%PYTHON_SITELIBDIR%%/|;s|/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py[[:digit:]\.]*.egg|/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py%%PYTHON_VER%%.egg|' - @[ -d ${PYTHON_SITELIBDIR}/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg ] && ${ECHO} '@dirrm %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py%%PYTHON_VER%%.egg' .include