From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Oct 28 20:10:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 150807F4 for ; Sun, 28 Oct 2012 20:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id DDEB28FC0A for ; Sun, 28 Oct 2012 20:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9SKA0aE017049 for ; Sun, 28 Oct 2012 20:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9SKA0up017048; Sun, 28 Oct 2012 20:10:00 GMT (envelope-from gnats) Resent-Date: Sun, 28 Oct 2012 20:10:00 GMT Resent-Message-Id: <201210282010.q9SKA0up017048@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ruslan Mahmatkhanov Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20B96733 for ; Sun, 28 Oct 2012 20:08:41 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id E2A828FC08 for ; Sun, 28 Oct 2012 20:08:40 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9SK8ebc020814 for ; Sun, 28 Oct 2012 20:08:40 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q9SK8ehh020813; Sun, 28 Oct 2012 20:08:40 GMT (envelope-from nobody) Message-Id: <201210282008.q9SK8ehh020813@red.freebsd.org> Date: Sun, 28 Oct 2012 20:08:40 GMT From: Ruslan Mahmatkhanov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/173166: www/trac-email2trac: remove bogus setuptools dependency X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 20:10:01 -0000 >Number: 173166 >Category: ports >Synopsis: www/trac-email2trac: remove bogus setuptools dependency >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Oct 28 20:10:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Ruslan Mahmatkhanov >Release: 10.0-CURRENT >Organization: >Environment: 10.0-CURRENT amd64 >Description: - remove bogus setuptools dependency - convert to optionsng - trim Makefile header - limit python version to 2.x only buildlog: http://people.freebsd.org/~rm/trac-email2trac-2.4.5.log >How-To-Repeat: >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 306539) +++ Makefile (working copy) @@ -1,12 +1,9 @@ -# New ports collection makefile for: trac-email2trac -# Date created: May 18 2007 -# Whom: Gerrit Beine -# +# Created by: Gerrit Beine # $FreeBSD$ -# PORTNAME= email2trac PORTVERSION= 2.4.5 +PORTREVISION= 1 CATEGORIES= www devel python MASTER_SITES= ftp://ftp.sara.nl/pub/outgoing/ PKGNAMEPREFIX= trac- @@ -17,23 +14,23 @@ LICENSE= GPLv2 GPLv3 LICENSE_COMB= dual -BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools RUN_DEPENDS+= tracd:${PORTSDIR}/www/trac -OPTIONS= POSTFIX "Configure suid script for postfix" OFF +OPTIONS_DEFINE= POSTFIX +POSTFIX_DESC= Configure suid script for postfix TRACUSER?= ${WWWOWN} WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-trac-user=${TRACUSER} --with-mta-user=${MTAUSER} -USE_PYTHON= yes +USE_PYTHON= -2.7 PORTDOCS= AUTHORS COPYING ChangeLog INSTALL README -.include +.include -.if defined(WITH_POSTFIX) +.if ${PORT_OPTIONS:MPOSTFIX} MTAUSER?= nobody .else MTAUSER?= mailnull @@ -50,11 +47,11 @@ ${CP} -p ${PREFIX}/etc/email2trac.conf.sample \ ${PREFIX}/etc/email2trac.conf ; \ fi -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} .for file in ${PORTDOCS} @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} .endfor .endif -.include +.include >Release-Note: >Audit-Trail: >Unformatted: