Changeset View
Changeset View
Standalone View
Standalone View
devel/py-omniorb/Makefile
Show All 19 Lines | |||||
BUILD_DEPENDS= ${NONEXISTENT}:devel/omniORB:patch | BUILD_DEPENDS= ${NONEXISTENT}:devel/omniORB:patch | ||||
CONFLICTS= py*-orbit-2* py${PYTHON_SUFFIX}-omniorb3-3* | CONFLICTS= py*-orbit-2* py${PYTHON_SUFFIX}-omniorb3-3* | ||||
OPTIONS_DEFINE= DOCS EXAMPLES | OPTIONS_DEFINE= DOCS EXAMPLES | ||||
PLIST_SUB= SONUM=2 | PLIST_SUB= SONUM=2 | ||||
CONFIGURE_WRKSRC= ${WRKSRC}/build | |||||
BUILD_WRKSRC= ${CONFIGURE_WRKSRC} | |||||
INSTALL_WRKSRC= ${CONFIGURE_WRKSRC} | |||||
OMNIORB_WRKSRC!= cd ${.CURDIR}/../omniORB && ${MAKE} -V WRKSRC | OMNIORB_WRKSRC!= cd ${.CURDIR}/../omniORB && ${MAKE} -V WRKSRC | ||||
USE_OPENSSL= yes | USE_OPENSSL= yes | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CONFIGURE_OUTSOURCE= yes | |||||
MAKEFILE= GNUmakefile | MAKEFILE= GNUmakefile | ||||
USE_LDCONFIG= yes | USE_LDCONFIG= yes | ||||
USES= gmake python tar:bzip2 | USES= gmake python tar:bzip2 | ||||
CONFIGURE_SCRIPT= ../configure | |||||
CONFIGURE_ENV+= PYTHON=${PYTHON_CMD} | CONFIGURE_ENV+= PYTHON=${PYTHON_CMD} | ||||
CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} --with-omniorb=${LOCALBASE} | CONFIGURE_ARGS= --with-openssl=${OPENSSLBASE} --with-omniorb=${LOCALBASE} | ||||
pre-configure: | pre-configure: | ||||
@${MKDIR} ${CONFIGURE_WRKSRC} | |||||
@cd ${OMNIORB_WRKSRC} && ${FIND} idl | ${CPIO} --quiet -pdum ${WRKSRC} | @cd ${OMNIORB_WRKSRC} && ${FIND} idl | ${CPIO} --quiet -pdum ${WRKSRC} | ||||
post-install: | post-install: | ||||
cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -c "import py_compile;py_compile.compile('CosNaming/__init__.py',None,'CosNaming/__init__.pyc',True)" | cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -c "import py_compile;py_compile.compile('CosNaming/__init__.py',None,'CosNaming/__init__.pyc',True)" | ||||
cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -c "import py_compile;py_compile.compile('CosNaming__POA/__init__.py',None,'CosNaming__POA/__init__.pyc',True)" | cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -c "import py_compile;py_compile.compile('CosNaming__POA/__init__.py',None,'CosNaming__POA/__init__.pyc',True)" | ||||
cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -c "import py_compile;py_compile.compile('omniidl_be/python.py',None,'omniidl_be/python.pyc',True)" | cd ${STAGEDIR}${PYTHON_SITELIBDIR} && ${PYTHON_CMD} -c "import py_compile;py_compile.compile('omniidl_be/python.py',None,'omniidl_be/python.pyc',True)" | ||||
@${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/omniidl_be/__init__.py | @${RM} ${STAGEDIR}${PYTHON_SITELIBDIR}/omniidl_be/__init__.py | ||||
@${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/_omnipymodule.so.4.2 | @${STRIP_CMD} ${STAGEDIR}/${PYTHON_SITELIBDIR}/_omnipymodule.so.4.2 | ||||
Show All 18 Lines |