Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2012 19:48:16 +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: r306706 - head/www/trac-math
Message-ID:  <201210301948.q9UJmG9t062499@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rm
Date: Tue Oct 30 19:48:15 2012
New Revision: 306706
URL: http://svn.freebsd.org/changeset/ports/306706

Log:
  - remove direct setuptools dependency
  - no PORTREVISION bump is needed, because it already had run/build depend
  - trim Makefile header
  - limit python version to 2.x only
  - move pkg-plist contents into Makefile:PLIST_FILES
  
  PR:		173174
  Submitted by:	rm (myself)
  Approved by:	brooks (maintainer, by mail)
  Feature safe:	yes

Deleted:
  head/www/trac-math/pkg-plist
Modified:
  head/www/trac-math/Makefile

Modified: head/www/trac-math/Makefile
==============================================================================
--- head/www/trac-math/Makefile	Tue Oct 30 19:47:33 2012	(r306705)
+++ head/www/trac-math/Makefile	Tue Oct 30 19:48:15 2012	(r306706)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: trac-math
-# Date created:                      Dec 31, 2009
-# Whom:                              Brooks Davis <brooks@freebsd.org>
-#
+# Created by: Brooks Davis <brooks@freebsd.org>
 # $FreeBSD$
-#
 
 PORTNAME=	${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
 PORTVERSION=	0.1
@@ -18,14 +14,14 @@ COMMENT=	Support for LaTeX math formulas
 
 RUN_DEPENDS+=	tracd:${PORTSDIR}/www/trac \
 		latex:${PORTSDIR}/print/teTeX-base
-BUILD_DEPENDS+=	easy_install:${PORTSDIR}/devel/py-setuptools
 
 SUB_FILES=	pkg-message
 PKGMESSAGE=	${WRKDIR}/pkg-message
 
-USE_PYTHON=	2.5+
-USE_PYDISTUTILS=easy_install
+USE_PYTHON=	-2.7
+USE_PYDISTUTILS=	easy_install
 PYDISTUTILS_PKGNAME=	TracMath
+PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
 
 post-install:
 	${CAT} ${PKGMESSAGE}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210301948.q9UJmG9t062499>