Index: head/deskutils/semantik/Makefile =================================================================== --- head/deskutils/semantik/Makefile (revision 568763) +++ head/deskutils/semantik/Makefile (revision 568764) @@ -1,55 +1,66 @@ # $FreeBSD$ PORTNAME= semantik -DISTVERSION= 1.2.5 +DISTVERSION= 1.2.6 CATEGORIES= deskutils kde MASTER_SITES= https://waf.io/ MAINTAINER= kde@FreeBSD.org COMMENT= Mind mapping tool LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE USES= kde:5 pkgconfig python:3.6+ qt:5 shebangfix tar:bzip2 waf \ desktop-file-utils gettext shared-mime-info USE_KDE= auth config configwidgets coreaddons i18n iconthemes \ kdelibs4support kio sonnet widgetsaddons xmlgui USE_QT= core dbus declarative gui location network printsupport \ svg webchannel webengine widgets xml \ buildtools_build qmake_build CONFIGURE_ENV= PATH="${KDE_PREFIX}/bin:$$PATH" \ WAF_HOME="${WRKSRC}" CPPFLAGS+= -I${LOCALBASE}/include CFLAGS+= -I${LOCALBASE}/include MAKE_ENV= DESTDIR="${STAGEDIR}" USE_LDCONFIG= yes SHEBANG_FILES= src/templates/beamer/wscript \ src/templates/pdflatex/wscript \ src/filters/fvym.py \ src/filters/kdissert.py \ src/filters/main.py \ src/filters/others.py \ src/filters/semantik.py \ src/sembind.py \ waf \ wscript PLIST_SUB= PORTVERSION="${PORTVERSION}" OPTIONS_DEFINE= NLS OPTIONS_SUB= yes +post-patch: + @${REINPLACE_CMD} -e 's+@@LOCALBASE@@+${LOCALBASE}+' \ + ${WRKSRC}/wscript + post-patch-NLS-off: @${REINPLACE_CMD} -e '/langs/ d' \ ${WRKSRC}/wscript +post-configure: + # Waf injects some bizzarre 3- and 4-level ../ stacks into the include + # paths, which don't match how KDE includes are organized, and in a + # poudriere build don't necessarily reach /usr/local/include either. + @${REINPLACE_CMD} -e "s+..PWD............/include+${LOCALBASE}/include+g" \ + ${WRKSRC}/build/c4che/_cache.py + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME}-d \ ${STAGEDIR}${PREFIX}/lib/lib${PORTNAME}.so.${PORTVERSION} ${INSTALL_MAN} ${WRKSRC}/src/data/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1/${PORTNAME}.1 .include Index: head/deskutils/semantik/distinfo =================================================================== --- head/deskutils/semantik/distinfo (revision 568763) +++ head/deskutils/semantik/distinfo (revision 568764) @@ -1,3 +1,3 @@ -TIMESTAMP = 1588315426 -SHA256 (semantik-1.2.5.tar.bz2) = ef2100c7ec784b493355b85a86a293be05db8d0db5f19946d8490a4f5f43c0ce -SIZE (semantik-1.2.5.tar.bz2) = 626691 +TIMESTAMP = 1616097322 +SHA256 (semantik-1.2.6.tar.bz2) = 3b33b4b4ab92158598d05b0d38cba2bca2b062927989249466bca668cfb7a635 +SIZE (semantik-1.2.6.tar.bz2) = 627853 Index: head/deskutils/semantik/files/patch-wscript =================================================================== --- head/deskutils/semantik/files/patch-wscript (nonexistent) +++ head/deskutils/semantik/files/patch-wscript (revision 568764) @@ -0,0 +1,24 @@ +--- wscript.orig 2021-03-18 23:07:57 UTC ++++ wscript +@@ -220,20 +220,9 @@ def configure(conf): + + conf.env.append_value('LIB_KDECORE', 'KF5KDELibs4Support') + +- for x in ('', '/usr/include/KF5/KDELibs4Support', '/usr/local/include/KF5/KDELibs4Support'): +- conf.env.stash() ++ for x in ('@@LOCALBASE@@/include/KF5/KDELibs4Support', "bogus"): + if os.path.exists(x): + conf.env.append_value('INCLUDES_KDECORE', x) +- try: +- conf.check(fragment='#include \n#include \n', +- features='cxx qt5', +- msg='Checking for kdelibs4support %s' % x, +- use='KDECORE QT5CORE QT5GUI QT5WIDGETS') +- break +- except conf.errors.ConfigurationError: +- conf.env.revert() +- else: +- conf.fatal('kdelibs4support was not found, check the config.log file') + + for x in ('', '/usr/local/include'): + conf.env.stash() Property changes on: head/deskutils/semantik/files/patch-wscript ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property