aboutsummaryrefslogtreecommitdiffstats
path: root/mail/pygmy
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-09-21 23:00:54 +0800
committersobomax <sobomax@FreeBSD.org>2000-09-21 23:00:54 +0800
commit51db83e8ab89adf4babca95002ef38b85e9c3b9f (patch)
treec65c432d96f948aae9230736bc209b7f2268b835 /mail/pygmy
parente008d39d4bd5af21d4e2dc6ba639f8b725cdb4be (diff)
downloadfreebsd-ports-gnome-51db83e8ab89adf4babca95002ef38b85e9c3b9f.tar.gz
freebsd-ports-gnome-51db83e8ab89adf4babca95002ef38b85e9c3b9f.tar.zst
freebsd-ports-gnome-51db83e8ab89adf4babca95002ef38b85e9c3b9f.zip
Pythonize.
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