Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jun 2014 19:19:53 +0000 (UTC)
From:      Marcus von Appen <mva@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358160 - in head/www: trac trac-wikitopdf
Message-ID:  <201406171919.s5HJJrS5048036@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mva
Date: Tue Jun 17 19:19:53 2014
New Revision: 358160
URL: http://svnweb.freebsd.org/changeset/ports/358160
QAT: https://qat.redports.org/buildarchive/r358160/

Log:
  - Add a trac/plugin.mk to allow plugins to use the same build and installation
    environment in order to avoid polluting non-stage directories on build and
    installation
  
  www/trac-wikitopdf:
  - Remove easy_install dependency Convert to PYDISTUTILS_AUTOPLIST
  - Bump PORTREVISION to enforce a cleanup for the easy_install references
  
  With hat:	python@
  Approved by:	portmgr (implicit)
  Thanks to:	bdrewery@

Added:
  head/www/trac/plugin.mk   (contents, props changed)
Modified:
  head/www/trac-wikitopdf/Makefile

Modified: head/www/trac-wikitopdf/Makefile
==============================================================================
--- head/www/trac-wikitopdf/Makefile	Tue Jun 17 18:44:04 2014	(r358159)
+++ head/www/trac-wikitopdf/Makefile	Tue Jun 17 19:19:53 2014	(r358160)
@@ -1,8 +1,8 @@
 # $FreeBSD$
 
-PORTNAME=	${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:tl}
+PORTNAME=	wikitopdf
 PORTVERSION=	2.2.2
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	www devel python
 MASTER_SITES=	${MASTER_SITE_LOCAL}
 MASTER_SITE_SUBDIR=	brooks
@@ -15,10 +15,10 @@ COMMENT=	Plugin to generate PDF document
 RUN_DEPENDS+=	htmldoc:${PORTSDIR}/textproc/htmldoc \
 		tracd:${PORTSDIR}/www/trac
 
-USE_PYTHON=	2
-USE_PYDISTUTILS=	easy_install
-PYDISTUTILS_PKGNAME=	TracWikiToPdfPlugin
-PLIST_FILES=		%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
+USE_PYTHON=		2
+USE_PYDISTUTILS=	yes
+PYDISTUTILS_AUTOPLIST=	yes
 WRKSRC=			${WRKDIR}/${PORTNAME}plugin
 
+.include "${.CURDIR}/../../www/trac/plugin.mk"
 .include <bsd.port.mk>

Added: head/www/trac/plugin.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/trac/plugin.mk	Tue Jun 17 19:19:53 2014	(r358160)
@@ -0,0 +1,6 @@
+# needed to avoid polluting /root with .subversion/ leftovers,
+# which will cause package builders to complain on staging.
+#
+# www/trac issues some svn command on installing certain plugins,
+# if it was built with the SVN option enabled
+MAKE_ENV+=	HOME=/dev/null



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