1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- do not directly depend on setuptools, use USE_DISTUTILS instead

- bump PORTREVISION because of dependency change
- trim Makefile header
- limit python version to 2.x only

PR:		173065
Submitted by:	rm (myself)
Approved by:	brooks (maintainer, by mail)
Feature safe:	yes
This commit is contained in:
Ruslan Makhmatkhanov 2012-10-30 19:38:15 +00:00
parent ef5041404c
commit 71ac788049
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306694

View File

@ -1,13 +1,9 @@
# New ports collection makefile for: trac-wikitopdf
# Date created: January 9, 2009
# Whom: Brooks Davis <brooks@freebsd.org>
#
# Created by: Brooks Davis <brooks@freebsd.org>
# $FreeBSD$
#
PORTNAME= ${PYDISTUTILS_PKGNAME:S;^Trac;;S;Plugin$;;:L}
PORTVERSION= 2.2.2
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= www devel python
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= brooks
@ -19,18 +15,11 @@ COMMENT= Plugin to generate PDF documents from the Wiki
RUN_DEPENDS+= htmldoc:${PORTSDIR}/textproc/htmldoc \
tracd:${PORTSDIR}/www/trac
BUILD_DEPENDS+= easy_install:${PORTSDIR}/devel/py-setuptools
USE_PYTHON= yes
NO_BUILD= yes
USE_PYDISTUTILS=yes
USE_PYTHON= -2.7
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= TracWikiToPdfPlugin
WRKSRC= ${WRKDIR}/${PORTNAME}plugin
PYDISTUTILS_NOEGGINFO= yes
PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PYDISTUTILS_PKGNAME}-${PORTVERSION}-py${PYTHON_VER}.egg
do-build:
@${DO_NADA}
PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
WRKSRC= ${WRKDIR}/${PORTNAME}plugin
.include <bsd.port.mk>