Date: Tue, 30 Oct 2012 19:43:43 +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: r306700 - head/www/trac-email2trac Message-ID: <201210301943.q9UJhh3m061339@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rm Date: Tue Oct 30 19:43:43 2012 New Revision: 306700 URL: http://svn.freebsd.org/changeset/ports/306700 Log: - remove bogus setuptools dependency - convert to optionsng - trim Makefile header - limit python version to 2.x only PR: 173166 Submitted by: rm (myself) Approved by: brooks (maintainer, by mail) Feature safe: yes Modified: head/www/trac-email2trac/Makefile Modified: head/www/trac-email2trac/Makefile ============================================================================== --- head/www/trac-email2trac/Makefile Tue Oct 30 19:42:39 2012 (r306699) +++ head/www/trac-email2trac/Makefile Tue Oct 30 19:43:43 2012 (r306700) @@ -1,12 +1,9 @@ -# New ports collection makefile for: trac-email2trac -# Date created: May 18 2007 -# Whom: Gerrit Beine <gerrit.beine@gmx.de> -# +# Created by: Gerrit Beine <gerrit.beine@gmx.de> # $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 @@ COMMENT= Convert email to trac tickets 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 <bsd.port.pre.mk> +.include <bsd.port.options.mk> -.if defined(WITH_POSTFIX) +.if ${PORT_OPTIONS:MPOSTFIX} MTAUSER?= nobody .else MTAUSER?= mailnull @@ -50,11 +47,11 @@ do-install: ${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 <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210301943.q9UJhh3m061339>