aboutsummaryrefslogtreecommitdiff
path: root/devel/py-wsgiutils
diff options
context:
space:
mode:
authorAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-07-30 09:42:28 +0000
committerAlexander Botero-Lowry <alexbl@FreeBSD.org>2007-07-30 09:42:28 +0000
commit4942ce5a7d8a3d0cbebaf4d202011850d1f7569f (patch)
treedb1f21912f461000d609ddcd5d130946bcfe9e09 /devel/py-wsgiutils
parentb4be9b354e86bd790925c5a9a2e67df8ba20bc00 (diff)
downloadports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.tar.gz
ports-4942ce5a7d8a3d0cbebaf4d202011850d1f7569f.zip
Notes
Diffstat (limited to 'devel/py-wsgiutils')
-rw-r--r--devel/py-wsgiutils/Makefile15
-rw-r--r--devel/py-wsgiutils/files/pkg-deinstall.in17
-rw-r--r--devel/py-wsgiutils/files/pkg-install.in16
3 files changed, 3 insertions, 45 deletions
diff --git a/devel/py-wsgiutils/Makefile b/devel/py-wsgiutils/Makefile
index fd699d51f604..7e75990c266c 100644
--- a/devel/py-wsgiutils/Makefile
+++ b/devel/py-wsgiutils/Makefile
@@ -16,19 +16,10 @@ DISTNAME= WSGIUtils-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Utility libraries for development of simple WSGI programs
-BUILD_DEPENDS= easy_install:${PORTSDIR}/devel/py-setuptools
-RUN_DEPENDS= ${BUILD_DEPENDS}
-
USE_PYTHON= yes
-USE_PYDISTUTILS=yes
-
-PLIST_FILES= ${PYTHON_SITELIBDIR:S,${PREFIX}/,,}/${PYWSGIUTILS_EGG}
-PLIST_SUB= PYWSGIUTILS_EGG="${PYWSGIUTILS_EGG}"
-
-SUB_FILES+= pkg-deinstall pkg-install
-SUB_LIST+= EGG="WSGIUtils==${PORTVERSION}" \
- PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR}
+USE_PYDISTUTILS=easy_install
+PYDISTUTILS_PKGNAME= WSGIUtils
-PYWSGIUTILS_EGG= WSGIUtils-${PORTVERSION}-py${PYTHON_VER}.egg
+PLIST_FILES= %%PYTHON_SITELIBDIR%%/${PYEASYINSTALL_EGG}
.include <bsd.port.mk>
diff --git a/devel/py-wsgiutils/files/pkg-deinstall.in b/devel/py-wsgiutils/files/pkg-deinstall.in
deleted file mode 100644
index 8ee207b16f16..000000000000
--- a/devel/py-wsgiutils/files/pkg-deinstall.in
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-PKGNAME=$1
-#
-case $2 in
- DEINSTALL)
- easy_install -q -m -x -S %%PYTHON_SITELIBDIR%% %%EGG%%
- ;;
- POST-DEINSTALL)
- exit 0
- ;;
- *)
- echo "Unexpected Argument $2!!!"
- exit 1
- ;;
-esac
-exit 0
diff --git a/devel/py-wsgiutils/files/pkg-install.in b/devel/py-wsgiutils/files/pkg-install.in
deleted file mode 100644
index 9cddbe28f167..000000000000
--- a/devel/py-wsgiutils/files/pkg-install.in
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-# $FreeBSD$
-PKGNAME=$1
-#
-case $2 in
- POST-INSTALL)
- easy_install -q -N -S %%PYTHON_SITELIBDIR%% %%EGG%%
- ;;
- PRE-INSTALL)
- ;;
- *)
- echo "Unexpected Argument $2!!!"
- exit 1
- ;;
-esac
-exit 0