aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-opengl
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-04-30 01:40:01 +0800
committerijliao <ijliao@FreeBSD.org>2002-04-30 01:40:01 +0800
commit15727ac4d20392f19b3390cb27c56102fdf196fa (patch)
tree11194bae3d4b523272c266731229fca4deb8264f /graphics/py-opengl
parentdf550ad3501e0f79a494e8cb9aaf18ebdbc9de75 (diff)
downloadfreebsd-ports-graphics-15727ac4d20392f19b3390cb27c56102fdf196fa.tar.gz
freebsd-ports-graphics-15727ac4d20392f19b3390cb27c56102fdf196fa.tar.zst
freebsd-ports-graphics-15727ac4d20392f19b3390cb27c56102fdf196fa.zip
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 b756e7885e8..e8452d0af45 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