diff options
author | sobomax <sobomax@FreeBSD.org> | 2000-09-21 15:00:54 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2000-09-21 15:00:54 +0000 |
commit | 51db83e8ab89adf4babca95002ef38b85e9c3b9f (patch) | |
tree | c65c432d96f948aae9230736bc209b7f2268b835 /mail | |
parent | e008d39d4bd5af21d4e2dc6ba639f8b725cdb4be (diff) | |
download | FreeBSD-ports-51db83e8ab89adf4babca95002ef38b85e9c3b9f.zip FreeBSD-ports-51db83e8ab89adf4babca95002ef38b85e9c3b9f.tar.gz |
Pythonize.
Diffstat (limited to 'mail')
-rw-r--r-- | mail/pygmy/Makefile | 9 | ||||
-rw-r--r-- | mail/pygmy/files/patch-aa | 12 |
2 files changed, 12 insertions, 9 deletions
diff --git a/mail/pygmy/Makefile b/mail/pygmy/Makefile index f820241..ea86545 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 d016dda..e12eaf9 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 |