Python tweak, compile all python modules, OK kn@
This commit is contained in:
parent
7a1b61e253
commit
5daec79a98
@ -1,7 +1,8 @@
|
||||
# $OpenBSD: Makefile,v 1.15 2020/03/23 18:01:06 rsadowski Exp $
|
||||
# $OpenBSD: Makefile,v 1.16 2020/03/29 16:49:36 rsadowski Exp $
|
||||
|
||||
COMMENT = legacy support for kdelibs-4.x compatibility
|
||||
DISTNAME = kdelibs4support-${VERSION}
|
||||
REVISION = 0
|
||||
|
||||
SHARED_LIBS = KF5KDELibs4Support 7.0
|
||||
|
||||
@ -16,6 +17,10 @@ WANTLIB += KF5XmlGui Qt5Concurrent Qt5Core Qt5DBus Qt5Designer
|
||||
WANTLIB += Qt5Gui Qt5Network Qt5PrintSupport Qt5Svg Qt5Test Qt5Widgets
|
||||
WANTLIB += Qt5X11Extras Qt5Xml SM X11 Xext c m xcb
|
||||
|
||||
MODULES = lang/python
|
||||
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_3}
|
||||
MODPY_RUNDEP = No
|
||||
|
||||
BUILD_DEPENDS = devel/gettext,-tools \
|
||||
devel/kf5/kded>=${MODKF5_VERSION} \
|
||||
devel/kf5/kdesignerplugin>=${MODKF5_VERSION} \
|
||||
@ -61,4 +66,8 @@ CONFIGURE_ARGS = -DCMAKE_DISABLE_FIND_PACKAGE_NetworkManager=ON
|
||||
TEST_IS_INTERACTIVE = X11
|
||||
PORTHOME = ${WRKDIR}
|
||||
|
||||
post-install:
|
||||
${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py \
|
||||
${PREFIX}/lib/cmake/KF5KDELibs4Support
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.6 2020/03/23 18:01:06 rsadowski Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.7 2020/03/29 16:49:36 rsadowski Exp $
|
||||
@bin bin/kdebugdialog5
|
||||
@bin bin/kf5-config
|
||||
include/KF5/KDELibs4Support/
|
||||
@ -1014,6 +1014,10 @@ lib/cmake/KF5KDELibs4Support/PythonCompile.py
|
||||
lib/cmake/KF5KDELibs4Support/PythonMacros.cmake
|
||||
lib/cmake/KF5KDELibs4Support/SIPMacros.cmake
|
||||
lib/cmake/KF5KDELibs4Support/Win32Macros.cmake
|
||||
${MODPY_COMMENT}lib/cmake/KF5KDELibs4Support/${MODPY_PYCACHE}/
|
||||
lib/cmake/KF5KDELibs4Support/${MODPY_PYCACHE}FindLibPython.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/cmake/KF5KDELibs4Support/${MODPY_PYCACHE}FindSIP.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/cmake/KF5KDELibs4Support/${MODPY_PYCACHE}PythonCompile.${MODPY_PYC_MAGIC_TAG}pyc
|
||||
lib/cmake/KF5KDELibs4Support/check_installed_exports_file.cmake
|
||||
lib/cmake/KF5KDELibs4Support/cmake-modules-styleguide.txt
|
||||
lib/cmake/KF5KDELibs4Support/config-alsa.h.cmake
|
||||
|
Loading…
Reference in New Issue
Block a user