summaryrefslogtreecommitdiffstats
path: root/graphics/py-opengl
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-29 17:40:01 +0000
committerijliao <ijliao@FreeBSD.org>2002-04-29 17:40:01 +0000
commit15727ac4d20392f19b3390cb27c56102fdf196fa (patch)
tree11194bae3d4b523272c266731229fca4deb8264f /graphics/py-opengl
parentdf550ad3501e0f79a494e8cb9aaf18ebdbc9de75 (diff)
downloadFreeBSD-ports-15727ac4d20392f19b3390cb27c56102fdf196fa.zip
FreeBSD-ports-15727ac4d20392f19b3390cb27c56102fdf196fa.tar.gz
use USE_PYDISTUTILS
Diffstat (limited to 'graphics/py-opengl')
-rw-r--r--graphics/py-opengl/Makefile9
1 files changed, 1 insertions, 8 deletions
diff --git a/graphics/py-opengl/Makefile b/graphics/py-opengl/Makefile
index b756e78..e8452d0 100644
--- a/graphics/py-opengl/Makefile
+++ b/graphics/py-opengl/Makefile
@@ -23,24 +23,17 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric
${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging
USE_PYTHON= yes
+USE_PYDISTUTILS= yes
USE_MESA= yes
OSMAJOR!= /usr/bin/uname -r | sed -e 's/\..*//'
PLIST_SUB+= OSMAJOR=${OSMAJOR} \
PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g}
-SETUP_CMD= cd ${WRKSRC} && ${PYTHON_CMD} setup.py
-
do-configure:
@${PERL} -pi -e 's|%%LOCALBASE%%|${LOCALBASE}|g ; s|%%X11BASE%%|${X11BASE}|g' \
${WRKSRC}/config.py ${WRKSRC}/Tkinter.py
-do-build:
- ${SETUP_CMD} build
-
-do-install:
- ${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
-
post-install:
${LOCALBASE}/bin/tclsh8.3 ${WRKSRC}/register.tcl
OpenPOWER on IntegriCloud