Pythonize.

This commit is contained in:
Maxim Sobolev 2000-09-21 15:00:54 +00:00
parent 171cf3ac06
commit 6b4297559f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32932
2 changed files with 12 additions and 9 deletions

View File

@ -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:

View File

@ -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