aboutsummaryrefslogtreecommitdiff
path: root/mail/pygmy
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2000-09-21 15:00:54 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2000-09-21 15:00:54 +0000
commit6b4297559fb163728b7490b0129fb8b13cc44a52 (patch)
tree7b1d42b47b4665fc4b6ac8dd41b3498a908e92a1 /mail/pygmy
parent171cf3ac06ec4e86de2ca91161aa9650d100f2c6 (diff)
downloadports-6b4297559fb163728b7490b0129fb8b13cc44a52.tar.gz
ports-6b4297559fb163728b7490b0129fb8b13cc44a52.zip
Notes
Diffstat (limited to 'mail/pygmy')
-rw-r--r--mail/pygmy/Makefile9
-rw-r--r--mail/pygmy/files/patch-aa12
2 files changed, 12 insertions, 9 deletions
diff --git a/mail/pygmy/Makefile b/mail/pygmy/Makefile
index f82024187847..ea86545a0733 100644
--- a/mail/pygmy/Makefile
+++ b/mail/pygmy/Makefile
@@ -12,11 +12,12 @@ MASTER_SITES= http://www.cs.uit.no/~kjetilja/Pygmy/
MAINTAINER= sobomax@FreeBSD.org
-BUILD_DEPENDS= python:${PORTSDIR}/lang/python \
- ${LOCALBASE}/lib/python1.5/site-packages/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome
-RUN_DEPENDS= python:${PORTSDIR}/lang/python \
- ${LOCALBASE}/lib/python1.5/site-packages/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome
+BUILD_DEPENDS= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome
+RUN_DEPENDS= ${LOCALBASE}/lib/${PYTHON_VERSION}/site-packages/_gnomemodule.so:${PORTSDIR}/x11-toolkits/py-gnome
+USE_PYTHON= yes
+
+MAKE_ENV= PYTHON_VERSION="${PYTHON_VERSION}"
ALL_TARGET= pythonprogs
do-configure:
diff --git a/mail/pygmy/files/patch-aa b/mail/pygmy/files/patch-aa
index d016dda9b9ff..e12eaf95b3a7 100644
--- a/mail/pygmy/files/patch-aa
+++ b/mail/pygmy/files/patch-aa
@@ -1,7 +1,7 @@
---- Makefile.orig Tue Aug 15 10:23:51 2000
-+++ Makefile Tue Aug 15 10:24:42 2000
-@@ -1,11 +1,11 @@
- # $Id: Makefile,v 1.3 2000/07/31 14:06:31 kjetilja Exp $
+--- Makefile.orig Tue Aug 29 14:59:10 2000
++++ Makefile Thu Sep 21 17:51:17 2000
+@@ -1,12 +1,12 @@
+ # $Id: Makefile,v 1.4 2000/08/14 10:39:17 kjetilja Exp $
# Installation prefix -- modify to your preferences
-PREFIX=/usr/local
@@ -10,7 +10,9 @@
# NOTE: Normally nothing below this point need to be changed
-PYTHON=/usr/bin/env python
+-PYTHONLIBPATH=`$(PYTHON) -c 'import sys; print sys.prefix'`/lib/python1.5
+PYTHON=${LOCALBASE}/bin/python
- PYTHONLIBPATH=`$(PYTHON) -c 'import sys; print sys.prefix'`/lib/python1.5
++PYTHONLIBPATH=`$(PYTHON) -c 'import sys; print sys.prefix'`/lib/$(PYTHON_VERSION)
COMPILEPROG=compileall.py
COMPILEPROGOPT=-l .
+ SH=/bin/sh