1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

- 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
This commit is contained in:
Ruslan Makhmatkhanov 2012-10-30 19:48:15 +00:00
parent ae46a8ae0e
commit 7f037e912f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=306706
2 changed files with 4 additions and 9 deletions

View File

@ -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 in wiki pages
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}

View File

@ -1 +0,0 @@
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%