aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-10-31 03:48:15 +0800
committerrm <rm@FreeBSD.org>2012-10-31 03:48:15 +0800
commit72cb3f3b8a89733480045d6346e87a459ab6928c (patch)
tree0e51b6e0835adc906feefa2c3d59a54fd98f6b11
parentc298f28126f12b368a6894b7baf7c407f78ad15d (diff)
downloadfreebsd-ports-gnome-72cb3f3b8a89733480045d6346e87a459ab6928c.tar.gz
freebsd-ports-gnome-72cb3f3b8a89733480045d6346e87a459ab6928c.tar.zst
freebsd-ports-gnome-72cb3f3b8a89733480045d6346e87a459ab6928c.zip
- 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
-rw-r--r--www/trac-math/Makefile12
-rw-r--r--www/trac-math/pkg-plist1
2 files changed, 4 insertions, 9 deletions
diff --git a/www/trac-math/Makefile b/www/trac-math/Makefile
index 199d9027ed08..e1a508b91d00 100644
--- a/www/trac-math/Makefile
+++ b/www/trac-math/Makefile
@@ -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}
diff --git a/www/trac-math/pkg-plist b/www/trac-math/pkg-plist
deleted file mode 100644
index ddf68a1c022f..000000000000
--- a/www/trac-math/pkg-plist
+++ /dev/null
@@ -1 +0,0 @@
-%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%