1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- 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@
This commit is contained in:
Marcus von Appen 2014-06-17 19:19:53 +00:00
parent 112ef59b2c
commit 6014d335db
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=358160
2 changed files with 12 additions and 6 deletions

View File

@ -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 documents from the Wiki
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>

6
www/trac/plugin.mk Normal file
View File

@ -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