1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Catch up with latest developments in bsd.python.mk.

Approved by:	sobomax
This commit is contained in:
Thomas Gellekum 2002-06-21 10:28:35 +00:00
parent dcabc4f72f
commit 6652c63aab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61670
4 changed files with 16 additions and 40 deletions

View File

@ -14,7 +14,6 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sobomax@FreeBSD.ORG
BUILD_DEPENDS= ${PYDISTUTILS}
LIB_DEPENDS= wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl
@ -23,23 +22,18 @@ WX_CONFIG= ${X11BASE}/bin/wx-config
USE_GMAKE= yes
USE_NEWGCC= yes
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_GTK= yes
MAKE_ENV= WX_CONFIG="${WX_CONFIG}"
SETUP_ARGS= WX_CONFIG="${WX_CONFIG}"
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py \
${SETUP_ARGS}
DEMO_DIR= ${PYTHON_SITELIBDIR:S/${LOCALBASE}/${PREFIX}/}/wxPython/demo
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g}
DEMO_DIR= ${PYTHONPREFIX_SITELIBDIR}/wxPython/demo
do-build:
@${SETUP_CMD} build
post-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/demo
.if !defined(DEBUG_FLAGS)
@find ${WRKSRC} -name "*.so" | xargs strip
.endif
do-install:
@${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
post-install:
@${MKDIR} ${DEMO_DIR}
.for glob in *.py *.pyc
@${INSTALL_DATA} ${WRKSRC}/demo/${glob} ${DEMO_DIR}

View File

@ -14,7 +14,6 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sobomax@FreeBSD.ORG
BUILD_DEPENDS= ${PYDISTUTILS}
LIB_DEPENDS= wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl
@ -23,23 +22,18 @@ WX_CONFIG= ${X11BASE}/bin/wx-config
USE_GMAKE= yes
USE_NEWGCC= yes
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_GTK= yes
MAKE_ENV= WX_CONFIG="${WX_CONFIG}"
SETUP_ARGS= WX_CONFIG="${WX_CONFIG}"
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py \
${SETUP_ARGS}
DEMO_DIR= ${PYTHON_SITELIBDIR:S/${LOCALBASE}/${PREFIX}/}/wxPython/demo
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g}
DEMO_DIR= ${PYTHONPREFIX_SITELIBDIR}/wxPython/demo
do-build:
@${SETUP_CMD} build
post-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/demo
.if !defined(DEBUG_FLAGS)
@find ${WRKSRC} -name "*.so" | xargs strip
.endif
do-install:
@${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
post-install:
@${MKDIR} ${DEMO_DIR}
.for glob in *.py *.pyc
@${INSTALL_DATA} ${WRKSRC}/demo/${glob} ${DEMO_DIR}

View File

@ -14,7 +14,6 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sobomax@FreeBSD.ORG
BUILD_DEPENDS= ${PYDISTUTILS}
LIB_DEPENDS= wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl
@ -23,23 +22,18 @@ WX_CONFIG= ${X11BASE}/bin/wx-config
USE_GMAKE= yes
USE_NEWGCC= yes
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_GTK= yes
MAKE_ENV= WX_CONFIG="${WX_CONFIG}"
SETUP_ARGS= WX_CONFIG="${WX_CONFIG}"
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py \
${SETUP_ARGS}
DEMO_DIR= ${PYTHON_SITELIBDIR:S/${LOCALBASE}/${PREFIX}/}/wxPython/demo
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g}
DEMO_DIR= ${PYTHONPREFIX_SITELIBDIR}/wxPython/demo
do-build:
@${SETUP_CMD} build
post-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/demo
.if !defined(DEBUG_FLAGS)
@find ${WRKSRC} -name "*.so" | xargs strip
.endif
do-install:
@${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
post-install:
@${MKDIR} ${DEMO_DIR}
.for glob in *.py *.pyc
@${INSTALL_DATA} ${WRKSRC}/demo/${glob} ${DEMO_DIR}

View File

@ -14,7 +14,6 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sobomax@FreeBSD.ORG
BUILD_DEPENDS= ${PYDISTUTILS}
LIB_DEPENDS= wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk-devel
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/OpenGL/__init__.py:${PORTSDIR}/graphics/py-opengl
@ -23,23 +22,18 @@ WX_CONFIG= ${X11BASE}/bin/wx-config
USE_GMAKE= yes
USE_NEWGCC= yes
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_GTK= yes
MAKE_ENV= WX_CONFIG="${WX_CONFIG}"
SETUP_ARGS= WX_CONFIG="${WX_CONFIG}"
SETUP_CMD= cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} setup.py \
${SETUP_ARGS}
DEMO_DIR= ${PYTHON_SITELIBDIR:S/${LOCALBASE}/${PREFIX}/}/wxPython/demo
PLIST_SUB= PYTHON_SITELIBDIR=${PYTHON_SITELIBDIR:S|^${LOCALBASE}/||g}
DEMO_DIR= ${PYTHONPREFIX_SITELIBDIR}/wxPython/demo
do-build:
@${SETUP_CMD} build
post-build:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/demo
.if !defined(DEBUG_FLAGS)
@find ${WRKSRC} -name "*.so" | xargs strip
.endif
do-install:
@${SETUP_CMD} install -c -O1 --prefix=${PREFIX}
post-install:
@${MKDIR} ${DEMO_DIR}
.for glob in *.py *.pyc
@${INSTALL_DATA} ${WRKSRC}/demo/${glob} ${DEMO_DIR}