svn commit: r358160 - in head/www: trac trac-wikitopdf
Marcus von Appen
mva at FreeBSD.org
Tue Jun 17 19:19:54 UTC 2014
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
More information about the svn-ports-all
mailing list