aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorlwhsu <lwhsu@FreeBSD.org>2012-10-31 13:53:43 +0800
committerlwhsu <lwhsu@FreeBSD.org>2012-10-31 13:53:43 +0800
commit87a952eb1585ff3c740127e1f081a7984ddb2ce3 (patch)
treefe6ef26c83532a3d687e552d77767637327a32dd /www
parent8c9b952dd8bed531e89b8f8f8030095d3c23bfec (diff)
downloadfreebsd-ports-gnome-87a952eb1585ff3c740127e1f081a7984ddb2ce3.tar.gz
freebsd-ports-gnome-87a952eb1585ff3c740127e1f081a7984ddb2ce3.tar.zst
freebsd-ports-gnome-87a952eb1585ff3c740127e1f081a7984ddb2ce3.zip
- Do not directly depend on setuptools, use USE_DISTUTILS instead
- no PORTREVISION bump is needed, because it already had run/build depend - Trim Makefile header - Remove indefinite article in COMMENT - Limit python version to 2.x only - Move pkg-plist to PLIST_FILES in Makefile - Change tab to space in pkg-descr:WWW PR: ports/173167 Submitted by: rm Feature safe: yes
Diffstat (limited to 'www')
-rw-r--r--www/trac-down/Makefile29
-rw-r--r--www/trac-down/pkg-descr2
-rw-r--r--www/trac-down/pkg-plist3
3 files changed, 7 insertions, 27 deletions
diff --git a/www/trac-down/Makefile b/www/trac-down/Makefile
index e287d3740550..dc29392388cb 100644
--- a/www/trac-down/Makefile
+++ b/www/trac-down/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: trac-down
-# Date created: Feb. 20, 2007
-# Whom: Li-Wen Hsu <lwhsu@lwhsu.org>
-#
+# Created by: Li-Wen Hsu <lwhsu@lwhsu.org>
# $FreeBSD$
-#
PORTNAME= down
PORTVERSION= 0.0.1.r11
@@ -14,28 +10,15 @@ PKGNAMEPREFIX= trac-
DISTNAME= TracDown-${PORTVERSION:E}
MAINTAINER= lwhsu@FreeBSD.org
-COMMENT= A Trac plugin for listing released downloads
+COMMENT= Trac plugin for listing released downloads
-BUILD_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS= ${EASY_INSTALL_CMD}:${PORTSDIR}/devel/py-setuptools \
- tracd:${PORTSDIR}/www/trac
+RUN_DEPENDS= tracd:${PORTSDIR}/www/trac
-USE_PYTHON= yes
-USE_PYDISTUTILS= yes
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= TracDown
PYDISTUTILS_PKGVERSION= 0.0.1
-PYDISTUTILS_NOEGGINFO= yes # XXX convert easy_install support to bsd.python.mk's
-EASY_INSTALL_CMD?= easy_install-${PYTHON_VER}
-
-PYDISTUTILS_BUILD_TARGET= bdist_egg
-PYDISTUTILS_INSTALL_TARGET= easy_install
-PYDISTUTILS_INSTALLARGS= -O 1 -N -S ${PYTHON_SITELIBDIR} ${WRKSRC}/dist/${TRACDOWN_EGG}
-
-TRACDOWN_EGG= TracDown-${PORTVERSION:R}-py${PYTHON_VER}.egg
-
-PLIST_SUB+= EASY_INSTALL_CMD=${EASY_INSTALL_CMD} \
- TRACDOWN_EGG=${TRACDOWN_EGG} \
- TRACDOWN_EGG_VER="TracDown==${PORTVERSION:R}"
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%
.include <bsd.port.mk>
diff --git a/www/trac-down/pkg-descr b/www/trac-down/pkg-descr
index a284f5c5afb8..c7923043d5f8 100644
--- a/www/trac-down/pkg-descr
+++ b/www/trac-down/pkg-descr
@@ -1,3 +1,3 @@
A Trac plugin for listing released downloads.
-WWW: http://dev.rectang.com/projects/tracdown
+WWW: http://dev.rectang.com/projects/tracdown
diff --git a/www/trac-down/pkg-plist b/www/trac-down/pkg-plist
deleted file mode 100644
index ef487b081146..000000000000
--- a/www/trac-down/pkg-plist
+++ /dev/null
@@ -1,3 +0,0 @@
-@unexec %%EASY_INSTALL_CMD%% -q -m -S %D/%%PYTHON_SITELIBDIR%% %%TRACDOWN_EGG_VER%%
-%%PYTHON_SITELIBDIR%%/%%TRACDOWN_EGG%%
-@exec %%EASY_INSTALL_CMD%% -q -N -S %D/%%PYTHON_SITELIBDIR%% %%TRACDOWN_EGG_VER%%